From 532ae5d0aff3e5ebdd5705972cead39f30e43a2e Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 8 Sep 2021 01:03:14 -0700 Subject: [PATCH] Add Hashtag to toot objects --- astool/toot.jsonld | 57 +- streams/gen_consts.go | 78 +- streams/gen_doc.go | 8 +- streams/gen_init.go | 59 +- streams/gen_json_resolver.go | 98 +- streams/gen_manager.go | 340 +--- streams/gen_pkg_toot_disjoint.go | 7 + streams/gen_pkg_toot_extendedby.go | 8 + streams/gen_pkg_toot_extends.go | 6 + streams/gen_pkg_toot_isorextends.go | 7 + streams/gen_pkg_toot_type_constructors.go | 6 + streams/gen_resolver_utils.go | 21 +- streams/gen_type_predicated_resolver.go | 91 +- streams/gen_type_resolver.go | 77 +- .../activitystreams/property_actor/gen_pkg.go | 26 +- .../gen_property_activitystreams_actor.go | 904 ++------- .../activitystreams/property_anyof/gen_pkg.go | 26 +- .../gen_property_activitystreams_anyOf.go | 904 ++------- .../property_attachment/gen_pkg.go | 26 +- ...gen_property_activitystreams_attachment.go | 906 ++-------- .../property_attributedto/gen_pkg.go | 26 +- ...n_property_activitystreams_attributedTo.go | 909 ++-------- .../property_audience/gen_pkg.go | 26 +- .../gen_property_activitystreams_audience.go | 905 ++------- .../activitystreams/property_bcc/gen_pkg.go | 26 +- .../gen_property_activitystreams_bcc.go | 904 ++------- .../activitystreams/property_bto/gen_pkg.go | 26 +- .../gen_property_activitystreams_bto.go | 904 ++------- .../activitystreams/property_cc/gen_pkg.go | 26 +- .../gen_property_activitystreams_cc.go | 904 ++------- .../property_closed/gen_pkg.go | 26 +- .../gen_property_activitystreams_closed.go | 904 ++------- .../property_context/gen_pkg.go | 26 +- .../gen_property_activitystreams_context.go | 905 ++------- .../property_describes/gen_pkg.go | 26 +- .../gen_property_activitystreams_describes.go | 401 +--- .../property_formertype/gen_pkg.go | 26 +- ...gen_property_activitystreams_formerType.go | 902 ++------- .../property_generator/gen_pkg.go | 26 +- .../gen_property_activitystreams_generator.go | 906 ++-------- .../property_inreplyto/gen_pkg.go | 26 +- .../gen_property_activitystreams_inReplyTo.go | 906 ++-------- .../property_instrument/gen_pkg.go | 26 +- ...gen_property_activitystreams_instrument.go | 906 ++-------- .../activitystreams/property_items/gen_pkg.go | 26 +- .../gen_property_activitystreams_items.go | 904 ++------- .../property_location/gen_pkg.go | 26 +- .../gen_property_activitystreams_location.go | 905 ++------- .../property_object/gen_pkg.go | 26 +- .../gen_property_activitystreams_object.go | 904 ++------- .../activitystreams/property_oneof/gen_pkg.go | 26 +- .../gen_property_activitystreams_oneOf.go | 904 ++------- .../property_ordereditems/gen_pkg.go | 26 +- ...n_property_activitystreams_orderedItems.go | 909 ++-------- .../property_origin/gen_pkg.go | 26 +- .../gen_property_activitystreams_origin.go | 904 ++------- .../property_preview/gen_pkg.go | 26 +- .../gen_property_activitystreams_preview.go | 905 ++------- .../property_relationship/gen_pkg.go | 26 +- ...n_property_activitystreams_relationship.go | 905 ++------- .../property_result/gen_pkg.go | 26 +- .../gen_property_activitystreams_result.go | 904 ++------- .../property_source/gen_pkg.go | 26 +- .../gen_property_activitystreams_source.go | 403 +---- .../property_subject/gen_pkg.go | 26 +- .../gen_property_activitystreams_subject.go | 403 +---- .../activitystreams/property_tag/gen_pkg.go | 26 +- .../gen_property_activitystreams_tag.go | 904 ++------- .../property_target/gen_pkg.go | 26 +- .../gen_property_activitystreams_target.go | 904 ++------- .../activitystreams/property_to/gen_pkg.go | 26 +- .../gen_property_activitystreams_to.go | 904 ++------- .../activitystreams/type_accept/gen_pkg.go | 12 - .../gen_type_activitystreams_accept.go | 125 -- .../activitystreams/type_activity/gen_pkg.go | 12 - .../gen_type_activitystreams_activity.go | 127 +- .../impl/activitystreams/type_add/gen_pkg.go | 12 - .../type_add/gen_type_activitystreams_add.go | 125 -- .../activitystreams/type_announce/gen_pkg.go | 12 - .../gen_type_activitystreams_announce.go | 125 -- .../type_application/gen_pkg.go | 12 - .../gen_type_activitystreams_application.go | 125 -- .../activitystreams/type_arrive/gen_pkg.go | 12 - .../gen_type_activitystreams_arrive.go | 125 -- .../activitystreams/type_article/gen_pkg.go | 12 - .../gen_type_activitystreams_article.go | 125 -- .../activitystreams/type_audio/gen_pkg.go | 12 - .../gen_type_activitystreams_audio.go | 125 -- .../activitystreams/type_block/gen_pkg.go | 12 - .../gen_type_activitystreams_block.go | 125 -- .../type_collection/gen_pkg.go | 12 - .../gen_type_activitystreams_collection.go | 125 -- .../type_collectionpage/gen_pkg.go | 12 - ...gen_type_activitystreams_collectionpage.go | 125 -- .../activitystreams/type_create/gen_pkg.go | 12 - .../gen_type_activitystreams_create.go | 125 -- .../activitystreams/type_delete/gen_pkg.go | 12 - .../gen_type_activitystreams_delete.go | 125 -- .../activitystreams/type_dislike/gen_pkg.go | 12 - .../gen_type_activitystreams_dislike.go | 125 -- .../activitystreams/type_document/gen_pkg.go | 12 - .../gen_type_activitystreams_document.go | 125 -- .../activitystreams/type_event/gen_pkg.go | 12 - .../gen_type_activitystreams_event.go | 125 -- .../impl/activitystreams/type_flag/gen_pkg.go | 12 - .../gen_type_activitystreams_flag.go | 125 -- .../activitystreams/type_follow/gen_pkg.go | 12 - .../gen_type_activitystreams_follow.go | 125 -- .../activitystreams/type_group/gen_pkg.go | 12 - .../gen_type_activitystreams_group.go | 125 -- .../activitystreams/type_ignore/gen_pkg.go | 12 - .../gen_type_activitystreams_ignore.go | 125 -- .../activitystreams/type_image/gen_pkg.go | 12 - .../gen_type_activitystreams_image.go | 125 -- .../type_intransitiveactivity/gen_pkg.go | 12 - ...pe_activitystreams_intransitiveactivity.go | 125 -- .../activitystreams/type_invite/gen_pkg.go | 12 - .../gen_type_activitystreams_invite.go | 125 -- .../impl/activitystreams/type_join/gen_pkg.go | 12 - .../gen_type_activitystreams_join.go | 125 -- .../activitystreams/type_leave/gen_pkg.go | 12 - .../gen_type_activitystreams_leave.go | 125 -- .../impl/activitystreams/type_like/gen_pkg.go | 12 - .../gen_type_activitystreams_like.go | 125 -- .../gen_type_activitystreams_link.go | 2 +- .../activitystreams/type_listen/gen_pkg.go | 12 - .../gen_type_activitystreams_listen.go | 125 -- .../gen_type_activitystreams_mention.go | 2 +- .../impl/activitystreams/type_move/gen_pkg.go | 12 - .../gen_type_activitystreams_move.go | 125 -- .../impl/activitystreams/type_note/gen_pkg.go | 12 - .../gen_type_activitystreams_note.go | 125 -- .../activitystreams/type_object/gen_pkg.go | 12 - .../gen_type_activitystreams_object.go | 127 +- .../activitystreams/type_offer/gen_pkg.go | 12 - .../gen_type_activitystreams_offer.go | 125 -- .../type_orderedcollection/gen_pkg.go | 16 - ..._type_activitystreams_orderedcollection.go | 167 -- .../type_orderedcollectionpage/gen_pkg.go | 16 - ...e_activitystreams_orderedcollectionpage.go | 167 -- .../type_organization/gen_pkg.go | 12 - .../gen_type_activitystreams_organization.go | 125 -- .../impl/activitystreams/type_page/gen_pkg.go | 12 - .../gen_type_activitystreams_page.go | 125 -- .../activitystreams/type_person/gen_pkg.go | 12 - .../gen_type_activitystreams_person.go | 125 -- .../activitystreams/type_place/gen_pkg.go | 12 - .../gen_type_activitystreams_place.go | 125 -- .../activitystreams/type_profile/gen_pkg.go | 12 - .../gen_type_activitystreams_profile.go | 125 -- .../activitystreams/type_question/gen_pkg.go | 12 - .../gen_type_activitystreams_question.go | 125 -- .../impl/activitystreams/type_read/gen_pkg.go | 12 - .../gen_type_activitystreams_read.go | 125 -- .../activitystreams/type_reject/gen_pkg.go | 12 - .../gen_type_activitystreams_reject.go | 125 -- .../type_relationship/gen_pkg.go | 12 - .../gen_type_activitystreams_relationship.go | 132 +- .../activitystreams/type_remove/gen_pkg.go | 12 - .../gen_type_activitystreams_remove.go | 125 -- .../activitystreams/type_service/gen_pkg.go | 12 - .../gen_type_activitystreams_service.go | 125 -- .../type_tentativeaccept/gen_pkg.go | 12 - ...en_type_activitystreams_tentativeaccept.go | 125 -- .../type_tentativereject/gen_pkg.go | 12 - ...en_type_activitystreams_tentativereject.go | 125 -- .../activitystreams/type_tombstone/gen_pkg.go | 12 - .../gen_type_activitystreams_tombstone.go | 125 -- .../activitystreams/type_travel/gen_pkg.go | 12 - .../gen_type_activitystreams_travel.go | 125 -- .../impl/activitystreams/type_undo/gen_pkg.go | 12 - .../gen_type_activitystreams_undo.go | 125 -- .../activitystreams/type_update/gen_pkg.go | 12 - .../gen_type_activitystreams_update.go | 125 -- .../activitystreams/type_video/gen_pkg.go | 12 - .../gen_type_activitystreams_video.go | 125 -- .../impl/activitystreams/type_view/gen_pkg.go | 12 - .../gen_type_activitystreams_view.go | 125 -- streams/impl/toot/type_emoji/gen_pkg.go | 12 - .../toot/type_emoji/gen_type_toot_emoji.go | 125 -- streams/impl/toot/type_hashtag/gen_doc.go | 17 + streams/impl/toot/type_hashtag/gen_pkg.go | 175 ++ .../type_hashtag/gen_type_toot_hashtag.go | 1610 +++++++++++++++++ .../impl/toot/type_identityproof/gen_pkg.go | 12 - .../gen_type_toot_identityproof.go | 125 -- ...roperty_activitystreams_actor_interface.go | 182 +- ...roperty_activitystreams_anyOf_interface.go | 182 +- ...ty_activitystreams_attachment_interface.go | 183 +- ..._activitystreams_attributedTo_interface.go | 183 +- ...erty_activitystreams_audience_interface.go | 183 +- ..._property_activitystreams_bcc_interface.go | 182 +- ..._property_activitystreams_bto_interface.go | 182 +- ...n_property_activitystreams_cc_interface.go | 179 +- ...operty_activitystreams_closed_interface.go | 182 +- ...perty_activitystreams_context_interface.go | 182 +- ...rty_activitystreams_describes_interface.go | 76 +- ...ty_activitystreams_formerType_interface.go | 183 +- ...rty_activitystreams_generator_interface.go | 183 +- ...rty_activitystreams_inReplyTo_interface.go | 183 +- ...ty_activitystreams_instrument_interface.go | 183 +- ...roperty_activitystreams_items_interface.go | 182 +- ...erty_activitystreams_location_interface.go | 183 +- ...operty_activitystreams_object_interface.go | 182 +- ...roperty_activitystreams_oneOf_interface.go | 182 +- ..._activitystreams_orderedItems_interface.go | 183 +- ...operty_activitystreams_origin_interface.go | 182 +- ...perty_activitystreams_preview_interface.go | 182 +- ..._activitystreams_relationship_interface.go | 183 +- ...operty_activitystreams_result_interface.go | 182 +- ...operty_activitystreams_source_interface.go | 76 +- ...perty_activitystreams_subject_interface.go | 76 +- ..._property_activitystreams_tag_interface.go | 182 +- ...operty_activitystreams_target_interface.go | 182 +- ...n_property_activitystreams_to_interface.go | 179 +- ...n_type_activitystreams_accept_interface.go | 15 - ...type_activitystreams_activity_interface.go | 15 - .../gen_type_activitystreams_add_interface.go | 15 - ...type_activitystreams_announce_interface.go | 15 - ...e_activitystreams_application_interface.go | 15 - ...n_type_activitystreams_arrive_interface.go | 15 - ..._type_activitystreams_article_interface.go | 15 - ...en_type_activitystreams_audio_interface.go | 15 - ...en_type_activitystreams_block_interface.go | 15 - ...pe_activitystreams_collection_interface.go | 15 - ...ctivitystreams_collectionpage_interface.go | 15 - ...n_type_activitystreams_create_interface.go | 15 - ...n_type_activitystreams_delete_interface.go | 15 - ..._type_activitystreams_dislike_interface.go | 15 - ...type_activitystreams_document_interface.go | 15 - ...en_type_activitystreams_event_interface.go | 15 - ...gen_type_activitystreams_flag_interface.go | 15 - ...n_type_activitystreams_follow_interface.go | 15 - ...en_type_activitystreams_group_interface.go | 15 - ...n_type_activitystreams_ignore_interface.go | 15 - ...en_type_activitystreams_image_interface.go | 15 - ...ystreams_intransitiveactivity_interface.go | 15 - ...n_type_activitystreams_invite_interface.go | 15 - ...gen_type_activitystreams_join_interface.go | 15 - ...en_type_activitystreams_leave_interface.go | 15 - ...gen_type_activitystreams_like_interface.go | 15 - ...n_type_activitystreams_listen_interface.go | 15 - ...gen_type_activitystreams_move_interface.go | 15 - ...gen_type_activitystreams_note_interface.go | 15 - ...n_type_activitystreams_object_interface.go | 15 - ...en_type_activitystreams_offer_interface.go | 15 - ...vitystreams_orderedcollection_interface.go | 20 - ...streams_orderedcollectionpage_interface.go | 20 - ..._activitystreams_organization_interface.go | 15 - ...gen_type_activitystreams_page_interface.go | 15 - ...n_type_activitystreams_person_interface.go | 15 - ...en_type_activitystreams_place_interface.go | 15 - ..._type_activitystreams_profile_interface.go | 15 - ...type_activitystreams_question_interface.go | 15 - ...gen_type_activitystreams_read_interface.go | 15 - ...n_type_activitystreams_reject_interface.go | 15 - ..._activitystreams_relationship_interface.go | 15 - ...n_type_activitystreams_remove_interface.go | 15 - ..._type_activitystreams_service_interface.go | 15 - ...tivitystreams_tentativeaccept_interface.go | 15 - ...tivitystreams_tentativereject_interface.go | 15 - ...ype_activitystreams_tombstone_interface.go | 15 - ...n_type_activitystreams_travel_interface.go | 15 - ...gen_type_activitystreams_undo_interface.go | 15 - ...n_type_activitystreams_update_interface.go | 15 - ...en_type_activitystreams_video_interface.go | 15 - ...gen_type_activitystreams_view_interface.go | 15 - .../vocab/gen_type_toot_emoji_interface.go | 15 - .../vocab/gen_type_toot_hashtag_interface.go | 209 +++ .../gen_type_toot_identityproof_interface.go | 15 - 269 files changed, 8135 insertions(+), 33514 deletions(-) create mode 100644 streams/impl/toot/type_hashtag/gen_doc.go create mode 100644 streams/impl/toot/type_hashtag/gen_pkg.go create mode 100644 streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go create mode 100644 streams/vocab/gen_type_toot_hashtag_interface.go diff --git a/astool/toot.jsonld b/astool/toot.jsonld index 0d6192e..c50a04c 100644 --- a/astool/toot.jsonld +++ b/astool/toot.jsonld @@ -34,8 +34,8 @@ "type": "owl:Class", "example": [ { - "type": "http://schema.org/CreativeWork", - "mainEntity": { + "type": "http://schema.org/CreativeWork", + "mainEntity": { "id": "https://example.com/@alice/hello-world", "type": "Note", "content": "Hello world :Kappa:", @@ -52,7 +52,7 @@ } ] } - } + } ], "subClassOf": { "type": "owl:Class", @@ -63,14 +63,41 @@ "name": "Emoji", "url": "https://docs.joinmastodon.org/development/activitypub/#custom-emojis" }, + { + "id": "http://joinmastodon.org/ns#Hashtag", + "type": "owl:Class", + "example": [ + { + "mainEntity": { + "id": "https://example.com/@alice/hello-world", + "type": "Note", + "content": "example", + "tag": [ + { + "href": "https://example.com/hashtag/example", + "type": "Hashtag", + "name": "#example" + } + ] + } + } + ], + "subClassOf": { + "type": "owl:Class", + "url": "https://www.w3.org/ns/activitystreams#Object", + "name": "as:Object" + }, + "disjointWith": [], + "name": "Hashtag", + "url": "https://docs.joinmastodon.org/development/activitypub/#hashtag" + }, { "id": "http://joinmastodon.org/ns#featured", "type": [ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -119,8 +146,7 @@ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -143,8 +169,7 @@ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -164,8 +189,7 @@ { "id": "http://joinmastodon.org/ns#IdentityProof", "type": "owl:Class", - "example": { - }, + "example": {}, "subClassOf": { "type": "owl:Class", "url": "https://www.w3.org/ns/activitystreams#Object", @@ -180,8 +204,7 @@ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -204,8 +227,7 @@ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -228,8 +250,7 @@ "rdf:Property", "owl:FunctionalProperty" ], - "example": { - }, + "example": {}, "domain": { "type": "owl:Class", "unionOf": [ @@ -267,4 +288,4 @@ "name": "discoverable" } ] -} +} \ No newline at end of file diff --git a/streams/gen_consts.go b/streams/gen_consts.go index 795d0e9..9cbc53f 100644 --- a/streams/gen_consts.go +++ b/streams/gen_consts.go @@ -29,18 +29,12 @@ var ActivityStreamsAudioName string = "Audio" // ActivityStreamsBlockName is the string literal of the name for the Block type in the ActivityStreams vocabulary. var ActivityStreamsBlockName string = "Block" -// ForgeFedBranchName is the string literal of the name for the Branch type in the ForgeFed vocabulary. -var ForgeFedBranchName string = "Branch" - // ActivityStreamsCollectionName is the string literal of the name for the Collection type in the ActivityStreams vocabulary. var ActivityStreamsCollectionName string = "Collection" // ActivityStreamsCollectionPageName is the string literal of the name for the CollectionPage type in the ActivityStreams vocabulary. var ActivityStreamsCollectionPageName string = "CollectionPage" -// ForgeFedCommitName is the string literal of the name for the Commit type in the ForgeFed vocabulary. -var ForgeFedCommitName string = "Commit" - // ActivityStreamsCreateName is the string literal of the name for the Create type in the ActivityStreams vocabulary. var ActivityStreamsCreateName string = "Create" @@ -68,6 +62,9 @@ var ActivityStreamsFollowName string = "Follow" // ActivityStreamsGroupName is the string literal of the name for the Group type in the ActivityStreams vocabulary. var ActivityStreamsGroupName string = "Group" +// TootHashtagName is the string literal of the name for the Hashtag type in the Toot vocabulary. +var TootHashtagName string = "Hashtag" + // TootIdentityProofName is the string literal of the name for the IdentityProof type in the Toot vocabulary. var TootIdentityProofName string = "IdentityProof" @@ -137,9 +134,6 @@ var ActivityStreamsProfileName string = "Profile" // W3IDSecurityV1PublicKeyName is the string literal of the name for the PublicKey type in the W3IDSecurityV1 vocabulary. var W3IDSecurityV1PublicKeyName string = "PublicKey" -// ForgeFedPushName is the string literal of the name for the Push type in the ForgeFed vocabulary. -var ForgeFedPushName string = "Push" - // ActivityStreamsQuestionName is the string literal of the name for the Question type in the ActivityStreams vocabulary. var ActivityStreamsQuestionName string = "Question" @@ -155,9 +149,6 @@ var ActivityStreamsRelationshipName string = "Relationship" // ActivityStreamsRemoveName is the string literal of the name for the Remove type in the ActivityStreams vocabulary. var ActivityStreamsRemoveName string = "Remove" -// ForgeFedRepositoryName is the string literal of the name for the Repository type in the ForgeFed vocabulary. -var ForgeFedRepositoryName string = "Repository" - // ActivityStreamsServiceName is the string literal of the name for the Service type in the ActivityStreams vocabulary. var ActivityStreamsServiceName string = "Service" @@ -167,12 +158,6 @@ var ActivityStreamsTentativeAcceptName string = "TentativeAccept" // ActivityStreamsTentativeRejectName is the string literal of the name for the TentativeReject type in the ActivityStreams vocabulary. var ActivityStreamsTentativeRejectName string = "TentativeReject" -// ForgeFedTicketName is the string literal of the name for the Ticket type in the ForgeFed vocabulary. -var ForgeFedTicketName string = "Ticket" - -// ForgeFedTicketDependencyName is the string literal of the name for the TicketDependency type in the ForgeFed vocabulary. -var ForgeFedTicketDependencyName string = "TicketDependency" - // ActivityStreamsTombstoneName is the string literal of the name for the Tombstone type in the ActivityStreams vocabulary. var ActivityStreamsTombstoneName string = "Tombstone" @@ -203,9 +188,6 @@ var ActivityStreamsAltitudePropertyName string = "altitude" // ActivityStreamsAnyOfPropertyName is the string literal of the name for the anyOf property in the ActivityStreams vocabulary. var ActivityStreamsAnyOfPropertyName string = "anyOf" -// ForgeFedAssignedToPropertyName is the string literal of the name for the assignedTo property in the ForgeFed vocabulary. -var ForgeFedAssignedToPropertyName string = "assignedTo" - // ActivityStreamsAttachmentPropertyName is the string literal of the name for the attachment property in the ActivityStreams vocabulary. var ActivityStreamsAttachmentPropertyName string = "attachment" @@ -230,12 +212,6 @@ var ActivityStreamsCcPropertyName string = "cc" // ActivityStreamsClosedPropertyName is the string literal of the name for the closed property in the ActivityStreams vocabulary. var ActivityStreamsClosedPropertyName string = "closed" -// ForgeFedCommittedPropertyName is the string literal of the name for the committed property in the ForgeFed vocabulary. -var ForgeFedCommittedPropertyName string = "committed" - -// ForgeFedCommittedByPropertyName is the string literal of the name for the committedBy property in the ForgeFed vocabulary. -var ForgeFedCommittedByPropertyName string = "committedBy" - // ActivityStreamsContentPropertyName is the string literal of the name for the content property in the ActivityStreams vocabulary. var ActivityStreamsContentPropertyName string = "content" @@ -251,48 +227,21 @@ var ActivityStreamsCurrentPropertyName string = "current" // ActivityStreamsDeletedPropertyName is the string literal of the name for the deleted property in the ActivityStreams vocabulary. var ActivityStreamsDeletedPropertyName string = "deleted" -// ForgeFedDependantsPropertyName is the string literal of the name for the dependants property in the ForgeFed vocabulary. -var ForgeFedDependantsPropertyName string = "dependants" - -// ForgeFedDependedByPropertyName is the string literal of the name for the dependedBy property in the ForgeFed vocabulary. -var ForgeFedDependedByPropertyName string = "dependedBy" - -// ForgeFedDependenciesPropertyName is the string literal of the name for the dependencies property in the ForgeFed vocabulary. -var ForgeFedDependenciesPropertyName string = "dependencies" - -// ForgeFedDependsOnPropertyName is the string literal of the name for the dependsOn property in the ForgeFed vocabulary. -var ForgeFedDependsOnPropertyName string = "dependsOn" - // ActivityStreamsDescribesPropertyName is the string literal of the name for the describes property in the ActivityStreams vocabulary. var ActivityStreamsDescribesPropertyName string = "describes" -// ForgeFedDescriptionPropertyName is the string literal of the name for the description property in the ForgeFed vocabulary. -var ForgeFedDescriptionPropertyName string = "description" - // TootDiscoverablePropertyName is the string literal of the name for the discoverable property in the Toot vocabulary. var TootDiscoverablePropertyName string = "discoverable" // ActivityStreamsDurationPropertyName is the string literal of the name for the duration property in the ActivityStreams vocabulary. var ActivityStreamsDurationPropertyName string = "duration" -// ForgeFedEarlyItemsPropertyName is the string literal of the name for the earlyItems property in the ForgeFed vocabulary. -var ForgeFedEarlyItemsPropertyName string = "earlyItems" - // ActivityStreamsEndTimePropertyName is the string literal of the name for the endTime property in the ActivityStreams vocabulary. var ActivityStreamsEndTimePropertyName string = "endTime" // TootFeaturedPropertyName is the string literal of the name for the featured property in the Toot vocabulary. var TootFeaturedPropertyName string = "featured" -// ForgeFedFilesAddedPropertyName is the string literal of the name for the filesAdded property in the ForgeFed vocabulary. -var ForgeFedFilesAddedPropertyName string = "filesAdded" - -// ForgeFedFilesModifiedPropertyName is the string literal of the name for the filesModified property in the ForgeFed vocabulary. -var ForgeFedFilesModifiedPropertyName string = "filesModified" - -// ForgeFedFilesRemovedPropertyName is the string literal of the name for the filesRemoved property in the ForgeFed vocabulary. -var ForgeFedFilesRemovedPropertyName string = "filesRemoved" - // ActivityStreamsFirstPropertyName is the string literal of the name for the first property in the ActivityStreams vocabulary. var ActivityStreamsFirstPropertyName string = "first" @@ -302,18 +251,12 @@ var ActivityStreamsFollowersPropertyName string = "followers" // ActivityStreamsFollowingPropertyName is the string literal of the name for the following property in the ActivityStreams vocabulary. var ActivityStreamsFollowingPropertyName string = "following" -// ForgeFedForksPropertyName is the string literal of the name for the forks property in the ForgeFed vocabulary. -var ForgeFedForksPropertyName string = "forks" - // ActivityStreamsFormerTypePropertyName is the string literal of the name for the formerType property in the ActivityStreams vocabulary. var ActivityStreamsFormerTypePropertyName string = "formerType" // ActivityStreamsGeneratorPropertyName is the string literal of the name for the generator property in the ActivityStreams vocabulary. var ActivityStreamsGeneratorPropertyName string = "generator" -// ForgeFedHashPropertyName is the string literal of the name for the hash property in the ForgeFed vocabulary. -var ForgeFedHashPropertyName string = "hash" - // ActivityStreamsHeightPropertyName is the string literal of the name for the height property in the ActivityStreams vocabulary. var ActivityStreamsHeightPropertyName string = "height" @@ -338,9 +281,6 @@ var ActivityStreamsInboxPropertyName string = "inbox" // ActivityStreamsInstrumentPropertyName is the string literal of the name for the instrument property in the ActivityStreams vocabulary. var ActivityStreamsInstrumentPropertyName string = "instrument" -// ForgeFedIsResolvedPropertyName is the string literal of the name for the isResolved property in the ForgeFed vocabulary. -var ForgeFedIsResolvedPropertyName string = "isResolved" - // ActivityStreamsItemsPropertyName is the string literal of the name for the items property in the ActivityStreams vocabulary. var ActivityStreamsItemsPropertyName string = "items" @@ -422,9 +362,6 @@ var ActivityStreamsPublishedPropertyName string = "published" // ActivityStreamsRadiusPropertyName is the string literal of the name for the radius property in the ActivityStreams vocabulary. var ActivityStreamsRadiusPropertyName string = "radius" -// ForgeFedRefPropertyName is the string literal of the name for the ref property in the ForgeFed vocabulary. -var ForgeFedRefPropertyName string = "ref" - // ActivityStreamsRelPropertyName is the string literal of the name for the rel property in the ActivityStreams vocabulary. var ActivityStreamsRelPropertyName string = "rel" @@ -473,21 +410,12 @@ var ActivityStreamsTagPropertyName string = "tag" // ActivityStreamsTargetPropertyName is the string literal of the name for the target property in the ActivityStreams vocabulary. var ActivityStreamsTargetPropertyName string = "target" -// ForgeFedTeamPropertyName is the string literal of the name for the team property in the ForgeFed vocabulary. -var ForgeFedTeamPropertyName string = "team" - -// ForgeFedTicketsTrackedByPropertyName is the string literal of the name for the ticketsTrackedBy property in the ForgeFed vocabulary. -var ForgeFedTicketsTrackedByPropertyName string = "ticketsTrackedBy" - // ActivityStreamsToPropertyName is the string literal of the name for the to property in the ActivityStreams vocabulary. var ActivityStreamsToPropertyName string = "to" // ActivityStreamsTotalItemsPropertyName is the string literal of the name for the totalItems property in the ActivityStreams vocabulary. var ActivityStreamsTotalItemsPropertyName string = "totalItems" -// ForgeFedTracksTicketsForPropertyName is the string literal of the name for the tracksTicketsFor property in the ForgeFed vocabulary. -var ForgeFedTracksTicketsForPropertyName string = "tracksTicketsFor" - // ActivityStreamsUnitsPropertyName is the string literal of the name for the units property in the ActivityStreams vocabulary. var ActivityStreamsUnitsPropertyName string = "units" diff --git a/streams/gen_doc.go b/streams/gen_doc.go index 40fce72..ecce63c 100644 --- a/streams/gen_doc.go +++ b/streams/gen_doc.go @@ -1,9 +1,9 @@ // Code generated by astool. DO NOT EDIT. -// Package streams contains constructors and functions necessary for applications -// to serialize, deserialize, and use ActivityStreams types in Go. This -// package is code-generated and subject to the same license as the go-fed -// tool used to generate it. +// Package contains constructors and functions necessary for applications to +// serialize, deserialize, and use ActivityStreams types in Go. This package +// is code-generated and subject to the same license as the go-fed tool used +// to generate it. // // This package is useful to three classes of developers: end-user-application // developers, specification writers creating an ActivityStream Extension, and diff --git a/streams/gen_init.go b/streams/gen_init.go index 47f0db3..4206f99 100644 --- a/streams/gen_init.go +++ b/streams/gen_init.go @@ -129,31 +129,6 @@ import ( typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update" typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video" typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view" - propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto" - propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed" - propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby" - propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants" - propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby" - propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies" - propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson" - propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description" - propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems" - propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded" - propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified" - propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved" - propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks" - propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash" - propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved" - propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref" - propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team" - propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby" - propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor" - typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit" - typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push" - typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency" propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash" propertydiscoverable "github.com/go-fed/activity/streams/impl/toot/property_discoverable" propertyfeatured "github.com/go-fed/activity/streams/impl/toot/property_featured" @@ -161,6 +136,7 @@ import ( propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount" typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner" propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey" @@ -307,31 +283,6 @@ func init() { typeupdate.SetManager(mgr) typevideo.SetManager(mgr) typeview.SetManager(mgr) - propertyassignedto.SetManager(mgr) - propertycommitted.SetManager(mgr) - propertycommittedby.SetManager(mgr) - propertydependants.SetManager(mgr) - propertydependedby.SetManager(mgr) - propertydependencies.SetManager(mgr) - propertydependson.SetManager(mgr) - propertydescription.SetManager(mgr) - propertyearlyitems.SetManager(mgr) - propertyfilesadded.SetManager(mgr) - propertyfilesmodified.SetManager(mgr) - propertyfilesremoved.SetManager(mgr) - propertyforks.SetManager(mgr) - propertyhash.SetManager(mgr) - propertyisresolved.SetManager(mgr) - propertyref.SetManager(mgr) - propertyteam.SetManager(mgr) - propertyticketstrackedby.SetManager(mgr) - propertytracksticketsfor.SetManager(mgr) - typebranch.SetManager(mgr) - typecommit.SetManager(mgr) - typepush.SetManager(mgr) - typerepository.SetManager(mgr) - typeticket.SetManager(mgr) - typeticketdependency.SetManager(mgr) propertyblurhash.SetManager(mgr) propertydiscoverable.SetManager(mgr) propertyfeatured.SetManager(mgr) @@ -339,6 +290,7 @@ func init() { propertysignaturevalue.SetManager(mgr) propertyvoterscount.SetManager(mgr) typeemoji.SetManager(mgr) + typehashtag.SetManager(mgr) typeidentityproof.SetManager(mgr) propertyowner.SetManager(mgr) propertypublickey.SetManager(mgr) @@ -398,13 +350,8 @@ func init() { typeupdate.SetTypePropertyConstructor(NewJSONLDTypeProperty) typevideo.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeview.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typebranch.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typecommit.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typepush.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typerepository.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeticket.SetTypePropertyConstructor(NewJSONLDTypeProperty) - typeticketdependency.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty) typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty) } diff --git a/streams/gen_json_resolver.go b/streams/gen_json_resolver.go index 0c6773d..8ba2e1a 100644 --- a/streams/gen_json_resolver.go +++ b/streams/gen_json_resolver.go @@ -49,14 +49,10 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsBlock) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedBranch) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollectionPage) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedCommit) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCreate) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsDelete) error: @@ -75,6 +71,8 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsGroup) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.TootHashtag) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.TootIdentityProof) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsIgnore) error: @@ -121,8 +119,6 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.W3IDSecurityV1PublicKey) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedPush) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsQuestion) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsRead) error: @@ -133,18 +129,12 @@ func NewJSONResolver(callbacks ...interface{}) (*JSONResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsRemove) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedRepository) 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: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeReject) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedTicket) error: - // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedTicketDependency) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTombstone) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTravel) error: @@ -236,13 +226,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) if len(ActivityStreamsAlias) > 0 { ActivityStreamsAlias += ":" } - ForgeFedAlias, ok := aliasMap["https://forgefed.peers.community/ns"] - if !ok { - ForgeFedAlias = aliasMap["http://forgefed.peers.community/ns"] - } - if len(ForgeFedAlias) > 0 { - ForgeFedAlias += ":" - } TootAlias, ok := aliasMap["https://joinmastodon.org/ns"] if !ok { TootAlias = aliasMap["http://joinmastodon.org/ns"] @@ -357,17 +340,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"Branch" { - v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Collection" { v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap) if err != nil { @@ -390,17 +362,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"Commit" { - v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Create" { v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap) if err != nil { @@ -500,6 +461,17 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch + } else if typeString == TootAlias+"Hashtag" { + v, err := mgr.DeserializeHashtagToot()(m, aliasMap) + if err != nil { + return err + } + for _, i := range this.callbacks { + if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok { + return fn(ctx, v) + } + } + return ErrNoCallbackMatch } else if typeString == TootAlias+"IdentityProof" { v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap) if err != nil { @@ -753,17 +725,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"Push" { - v, err := mgr.DeserializePushForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Question" { v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap) if err != nil { @@ -819,17 +780,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"Repository" { - v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Service" { v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap) if err != nil { @@ -863,28 +813,6 @@ func (this JSONResolver) Resolve(ctx context.Context, m map[string]interface{}) } } return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"Ticket" { - v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch - } else if typeString == ForgeFedAlias+"TicketDependency" { - v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap) - if err != nil { - return err - } - for _, i := range this.callbacks { - if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok { - return fn(ctx, v) - } - } - return ErrNoCallbackMatch } else if typeString == ActivityStreamsAlias+"Tombstone" { v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap) if err != nil { diff --git a/streams/gen_manager.go b/streams/gen_manager.go index 0f933e1..fad6f37 100644 --- a/streams/gen_manager.go +++ b/streams/gen_manager.go @@ -129,31 +129,6 @@ import ( typeupdate "github.com/go-fed/activity/streams/impl/activitystreams/type_update" typevideo "github.com/go-fed/activity/streams/impl/activitystreams/type_video" typeview "github.com/go-fed/activity/streams/impl/activitystreams/type_view" - propertyassignedto "github.com/go-fed/activity/streams/impl/forgefed/property_assignedto" - propertycommitted "github.com/go-fed/activity/streams/impl/forgefed/property_committed" - propertycommittedby "github.com/go-fed/activity/streams/impl/forgefed/property_committedby" - propertydependants "github.com/go-fed/activity/streams/impl/forgefed/property_dependants" - propertydependedby "github.com/go-fed/activity/streams/impl/forgefed/property_dependedby" - propertydependencies "github.com/go-fed/activity/streams/impl/forgefed/property_dependencies" - propertydependson "github.com/go-fed/activity/streams/impl/forgefed/property_dependson" - propertydescription "github.com/go-fed/activity/streams/impl/forgefed/property_description" - propertyearlyitems "github.com/go-fed/activity/streams/impl/forgefed/property_earlyitems" - propertyfilesadded "github.com/go-fed/activity/streams/impl/forgefed/property_filesadded" - propertyfilesmodified "github.com/go-fed/activity/streams/impl/forgefed/property_filesmodified" - propertyfilesremoved "github.com/go-fed/activity/streams/impl/forgefed/property_filesremoved" - propertyforks "github.com/go-fed/activity/streams/impl/forgefed/property_forks" - propertyhash "github.com/go-fed/activity/streams/impl/forgefed/property_hash" - propertyisresolved "github.com/go-fed/activity/streams/impl/forgefed/property_isresolved" - propertyref "github.com/go-fed/activity/streams/impl/forgefed/property_ref" - propertyteam "github.com/go-fed/activity/streams/impl/forgefed/property_team" - propertyticketstrackedby "github.com/go-fed/activity/streams/impl/forgefed/property_ticketstrackedby" - propertytracksticketsfor "github.com/go-fed/activity/streams/impl/forgefed/property_tracksticketsfor" - typebranch "github.com/go-fed/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/go-fed/activity/streams/impl/forgefed/type_commit" - typepush "github.com/go-fed/activity/streams/impl/forgefed/type_push" - typerepository "github.com/go-fed/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/go-fed/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/go-fed/activity/streams/impl/forgefed/type_ticketdependency" propertyid "github.com/go-fed/activity/streams/impl/jsonld/property_id" propertytype "github.com/go-fed/activity/streams/impl/jsonld/property_type" propertyblurhash "github.com/go-fed/activity/streams/impl/toot/property_blurhash" @@ -163,6 +138,7 @@ import ( propertysignaturevalue "github.com/go-fed/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "github.com/go-fed/activity/streams/impl/toot/property_voterscount" typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" propertyowner "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_owner" propertypublickey "github.com/go-fed/activity/streams/impl/w3idsecurityv1/property_publickey" @@ -320,19 +296,6 @@ func (this Manager) DeserializeArticleActivityStreams() func(map[string]interfac } } -// DeserializeAssignedToPropertyForgeFed returns the deserialization method for -// the "ForgeFedAssignedToProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeAssignedToPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedAssignedToProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedAssignedToProperty, error) { - i, err := propertyassignedto.DeserializeAssignedToProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeAttachmentPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsAttachmentProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -423,18 +386,6 @@ func (this Manager) DeserializeBlurhashPropertyToot() func(map[string]interface{ } } -// DeserializeBranchForgeFed returns the deserialization method for the -// "ForgeFedBranch" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedBranch, error) { - i, err := typebranch.DeserializeBranch(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeBtoPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsBtoProperty" non-functional property in the vocabulary // "ActivityStreams" @@ -500,44 +451,6 @@ func (this Manager) DeserializeCollectionPageActivityStreams() func(map[string]i } } -// DeserializeCommitForgeFed returns the deserialization method for the -// "ForgeFedCommit" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommit, error) { - i, err := typecommit.DeserializeCommit(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeCommittedByPropertyForgeFed returns the deserialization method for -// the "ForgeFedCommittedByProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeCommittedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedByProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedByProperty, error) { - i, err := propertycommittedby.DeserializeCommittedByProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeCommittedPropertyForgeFed returns the deserialization method for the -// "ForgeFedCommittedProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeCommittedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedCommittedProperty, error) { - i, err := propertycommitted.DeserializeCommittedProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeContentPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsContentProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -616,58 +529,6 @@ func (this Manager) DeserializeDeletedPropertyActivityStreams() func(map[string] } } -// DeserializeDependantsPropertyForgeFed returns the deserialization method for -// the "ForgeFedDependantsProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeDependantsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependantsProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependantsProperty, error) { - i, err := propertydependants.DeserializeDependantsProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeDependedByPropertyForgeFed returns the deserialization method for -// the "ForgeFedDependedByProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeDependedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependedByProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependedByProperty, error) { - i, err := propertydependedby.DeserializeDependedByProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeDependenciesPropertyForgeFed returns the deserialization method for -// the "ForgeFedDependenciesProperty" non-functional property in the -// vocabulary "ForgeFed" -func (this Manager) DeserializeDependenciesPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependenciesProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependenciesProperty, error) { - i, err := propertydependencies.DeserializeDependenciesProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeDependsOnPropertyForgeFed returns the deserialization method for the -// "ForgeFedDependsOnProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeDependsOnPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependsOnProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependsOnProperty, error) { - i, err := propertydependson.DeserializeDependsOnProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeDescribesPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsDescribesProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -681,19 +542,6 @@ func (this Manager) DeserializeDescribesPropertyActivityStreams() func(map[strin } } -// DeserializeDescriptionPropertyForgeFed returns the deserialization method for -// the "ForgeFedDescriptionProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeDescriptionPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDescriptionProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDescriptionProperty, error) { - i, err := propertydescription.DeserializeDescriptionProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeDiscoverablePropertyToot returns the deserialization method for the // "TootDiscoverableProperty" non-functional property in the vocabulary "Toot" func (this Manager) DeserializeDiscoverablePropertyToot() func(map[string]interface{}, map[string]string) (vocab.TootDiscoverableProperty, error) { @@ -745,19 +593,6 @@ func (this Manager) DeserializeDurationPropertyActivityStreams() func(map[string } } -// DeserializeEarlyItemsPropertyForgeFed returns the deserialization method for -// the "ForgeFedEarlyItemsProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeEarlyItemsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) { - i, err := propertyearlyitems.DeserializeEarlyItemsProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeEmojiToot returns the deserialization method for the "TootEmoji" // non-functional property in the vocabulary "Toot" func (this Manager) DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) { @@ -808,45 +643,6 @@ func (this Manager) DeserializeFeaturedPropertyToot() func(map[string]interface{ } } -// DeserializeFilesAddedPropertyForgeFed returns the deserialization method for -// the "ForgeFedFilesAddedProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeFilesAddedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesAddedProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesAddedProperty, error) { - i, err := propertyfilesadded.DeserializeFilesAddedProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeFilesModifiedPropertyForgeFed returns the deserialization method for -// the "ForgeFedFilesModifiedProperty" non-functional property in the -// vocabulary "ForgeFed" -func (this Manager) DeserializeFilesModifiedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) { - i, err := propertyfilesmodified.DeserializeFilesModifiedProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeFilesRemovedPropertyForgeFed returns the deserialization method for -// the "ForgeFedFilesRemovedProperty" non-functional property in the -// vocabulary "ForgeFed" -func (this Manager) DeserializeFilesRemovedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) { - i, err := propertyfilesremoved.DeserializeFilesRemovedProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeFirstPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsFirstProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -912,18 +708,6 @@ func (this Manager) DeserializeFollowingPropertyActivityStreams() func(map[strin } } -// DeserializeForksPropertyForgeFed returns the deserialization method for the -// "ForgeFedForksProperty" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeForksPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedForksProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedForksProperty, error) { - i, err := propertyforks.DeserializeForksProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeFormerTypePropertyActivityStreams returns the deserialization method // for the "ActivityStreamsFormerTypeProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -963,11 +747,11 @@ func (this Manager) DeserializeGroupActivityStreams() func(map[string]interface{ } } -// DeserializeHashPropertyForgeFed returns the deserialization method for the -// "ForgeFedHashProperty" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeHashPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedHashProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedHashProperty, error) { - i, err := propertyhash.DeserializeHashProperty(m, aliasMap) +// DeserializeHashtagToot returns the deserialization method for the "TootHashtag" +// non-functional property in the vocabulary "Toot" +func (this Manager) DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.TootHashtag, error) { + i, err := typehashtag.DeserializeHashtag(m, aliasMap) if i == nil { return nil, err } @@ -1155,19 +939,6 @@ func (this Manager) DeserializeInviteActivityStreams() func(map[string]interface } } -// DeserializeIsResolvedPropertyForgeFed returns the deserialization method for -// the "ForgeFedIsResolvedProperty" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeIsResolvedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedIsResolvedProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedIsResolvedProperty, error) { - i, err := propertyisresolved.DeserializeIsResolvedProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeItemsPropertyActivityStreams returns the deserialization method for // the "ActivityStreamsItemsProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -1715,18 +1486,6 @@ func (this Manager) DeserializePublishedPropertyActivityStreams() func(map[strin } } -// DeserializePushForgeFed returns the deserialization method for the -// "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedPush, error) { - i, err := typepush.DeserializePush(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeQuestionActivityStreams returns the deserialization method for the // "ActivityStreamsQuestion" non-functional property in the vocabulary // "ActivityStreams" @@ -1766,18 +1525,6 @@ func (this Manager) DeserializeReadActivityStreams() func(map[string]interface{} } } -// DeserializeRefPropertyForgeFed returns the deserialization method for the -// "ForgeFedRefProperty" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeRefPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRefProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRefProperty, error) { - i, err := propertyref.DeserializeRefProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeRejectActivityStreams returns the deserialization method for the // "ActivityStreamsReject" non-functional property in the vocabulary // "ActivityStreams" @@ -1856,18 +1603,6 @@ func (this Manager) DeserializeRepliesPropertyActivityStreams() func(map[string] } } -// DeserializeRepositoryForgeFed returns the deserialization method for the -// "ForgeFedRepository" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedRepository, error) { - i, err := typerepository.DeserializeRepository(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" @@ -2037,18 +1772,6 @@ func (this Manager) DeserializeTargetPropertyActivityStreams() func(map[string]i } } -// DeserializeTeamPropertyForgeFed returns the deserialization method for the -// "ForgeFedTeamProperty" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTeamProperty, error) { - i, err := propertyteam.DeserializeTeamProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeTentativeAcceptActivityStreams returns the deserialization method // for the "ActivityStreamsTentativeAccept" non-functional property in the // vocabulary "ActivityStreams" @@ -2075,44 +1798,6 @@ func (this Manager) DeserializeTentativeRejectActivityStreams() func(map[string] } } -// DeserializeTicketDependencyForgeFed returns the deserialization method for the -// "ForgeFedTicketDependency" non-functional property in the vocabulary -// "ForgeFed" -func (this Manager) DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketDependency, error) { - i, err := typeticketdependency.DeserializeTicketDependency(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeTicketForgeFed returns the deserialization method for the -// "ForgeFedTicket" non-functional property in the vocabulary "ForgeFed" -func (this Manager) DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicket, error) { - i, err := typeticket.DeserializeTicket(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - -// DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization method -// for the "ForgeFedTicketsTrackedByProperty" non-functional property in the -// vocabulary "ForgeFed" -func (this Manager) DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) { - i, err := propertyticketstrackedby.DeserializeTicketsTrackedByProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeToPropertyActivityStreams returns the deserialization method for the // "ActivityStreamsToProperty" non-functional property in the vocabulary // "ActivityStreams" @@ -2152,19 +1837,6 @@ func (this Manager) DeserializeTotalItemsPropertyActivityStreams() func(map[stri } } -// DeserializeTracksTicketsForPropertyForgeFed returns the deserialization method -// for the "ForgeFedTracksTicketsForProperty" non-functional property in the -// vocabulary "ForgeFed" -func (this Manager) DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) { - return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) { - i, err := propertytracksticketsfor.DeserializeTracksTicketsForProperty(m, aliasMap) - if i == nil { - return nil, err - } - return i, err - } -} - // DeserializeTravelActivityStreams returns the deserialization method for the // "ActivityStreamsTravel" non-functional property in the vocabulary // "ActivityStreams" diff --git a/streams/gen_pkg_toot_disjoint.go b/streams/gen_pkg_toot_disjoint.go index 144f27f..55de664 100644 --- a/streams/gen_pkg_toot_disjoint.go +++ b/streams/gen_pkg_toot_disjoint.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" vocab "github.com/go-fed/activity/streams/vocab" ) @@ -13,6 +14,12 @@ func TootEmojiIsDisjointWith(other vocab.Type) bool { return typeemoji.EmojiIsDisjointWith(other) } +// TootHashtagIsDisjointWith returns true if Hashtag is disjoint with the other's +// type. +func TootHashtagIsDisjointWith(other vocab.Type) bool { + return typehashtag.HashtagIsDisjointWith(other) +} + // TootIdentityProofIsDisjointWith returns true if IdentityProof is disjoint with // the other's type. func TootIdentityProofIsDisjointWith(other vocab.Type) bool { diff --git a/streams/gen_pkg_toot_extendedby.go b/streams/gen_pkg_toot_extendedby.go index 8327ce1..e3540ac 100644 --- a/streams/gen_pkg_toot_extendedby.go +++ b/streams/gen_pkg_toot_extendedby.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" vocab "github.com/go-fed/activity/streams/vocab" ) @@ -15,6 +16,13 @@ func TootEmojiIsExtendedBy(other vocab.Type) bool { return typeemoji.EmojiIsExtendedBy(other) } +// TootHashtagIsExtendedBy returns true if the other's type extends from Hashtag. +// Note that it returns false if the types are the same; see the "IsOrExtends" +// variant instead. +func TootHashtagIsExtendedBy(other vocab.Type) bool { + return typehashtag.HashtagIsExtendedBy(other) +} + // TootIdentityProofIsExtendedBy returns true if the other's type extends from // IdentityProof. Note that it returns false if the types are the same; see // the "IsOrExtends" variant instead. diff --git a/streams/gen_pkg_toot_extends.go b/streams/gen_pkg_toot_extends.go index bef71b4..a26e2e0 100644 --- a/streams/gen_pkg_toot_extends.go +++ b/streams/gen_pkg_toot_extends.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" vocab "github.com/go-fed/activity/streams/vocab" ) @@ -13,6 +14,11 @@ func TootTootEmojiExtends(other vocab.Type) bool { return typeemoji.TootEmojiExtends(other) } +// TootTootHashtagExtends returns true if Hashtag extends from the other's type. +func TootTootHashtagExtends(other vocab.Type) bool { + return typehashtag.TootHashtagExtends(other) +} + // TootTootIdentityProofExtends returns true if IdentityProof extends from the // other's type. func TootTootIdentityProofExtends(other vocab.Type) bool { diff --git a/streams/gen_pkg_toot_isorextends.go b/streams/gen_pkg_toot_isorextends.go index 6890c59..52eb8b2 100644 --- a/streams/gen_pkg_toot_isorextends.go +++ b/streams/gen_pkg_toot_isorextends.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" vocab "github.com/go-fed/activity/streams/vocab" ) @@ -14,6 +15,12 @@ func IsOrExtendsTootEmoji(other vocab.Type) bool { return typeemoji.IsOrExtendsEmoji(other) } +// IsOrExtendsTootHashtag returns true if the other provided type is the Hashtag +// type or extends from the Hashtag type. +func IsOrExtendsTootHashtag(other vocab.Type) bool { + return typehashtag.IsOrExtendsHashtag(other) +} + // IsOrExtendsTootIdentityProof returns true if the other provided type is the // IdentityProof type or extends from the IdentityProof type. func IsOrExtendsTootIdentityProof(other vocab.Type) bool { diff --git a/streams/gen_pkg_toot_type_constructors.go b/streams/gen_pkg_toot_type_constructors.go index 77ba41c..4d775ae 100644 --- a/streams/gen_pkg_toot_type_constructors.go +++ b/streams/gen_pkg_toot_type_constructors.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/go-fed/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/go-fed/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/go-fed/activity/streams/impl/toot/type_identityproof" vocab "github.com/go-fed/activity/streams/vocab" ) @@ -13,6 +14,11 @@ func NewTootEmoji() vocab.TootEmoji { return typeemoji.NewTootEmoji() } +// NewTootHashtag creates a new TootHashtag +func NewTootHashtag() vocab.TootHashtag { + return typehashtag.NewTootHashtag() +} + // NewTootIdentityProof creates a new TootIdentityProof func NewTootIdentityProof() vocab.TootIdentityProof { return typeidentityproof.NewTootIdentityProof() diff --git a/streams/gen_resolver_utils.go b/streams/gen_resolver_utils.go index 30eae3f..c0eb5e1 100644 --- a/streams/gen_resolver_utils.go +++ b/streams/gen_resolver_utils.go @@ -73,18 +73,12 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.ActivityStreamsBlock) error { t = i return nil - }, func(ctx context.Context, i vocab.ForgeFedBranch) error { - t = i - return nil }, func(ctx context.Context, i vocab.ActivityStreamsCollection) error { t = i return nil }, func(ctx context.Context, i vocab.ActivityStreamsCollectionPage) error { t = i return nil - }, func(ctx context.Context, i vocab.ForgeFedCommit) error { - t = i - return nil }, func(ctx context.Context, i vocab.ActivityStreamsCreate) error { t = i return nil @@ -112,6 +106,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.ActivityStreamsGroup) error { t = i return nil + }, func(ctx context.Context, i vocab.TootHashtag) error { + t = i + return nil }, func(ctx context.Context, i vocab.TootIdentityProof) error { t = i return nil @@ -181,9 +178,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.W3IDSecurityV1PublicKey) error { t = i return nil - }, func(ctx context.Context, i vocab.ForgeFedPush) error { - t = i - return nil }, func(ctx context.Context, i vocab.ActivityStreamsQuestion) error { t = i return nil @@ -199,9 +193,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.ActivityStreamsRemove) error { t = i return nil - }, func(ctx context.Context, i vocab.ForgeFedRepository) error { - t = i - return nil }, func(ctx context.Context, i vocab.ActivityStreamsService) error { t = i return nil @@ -211,12 +202,6 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro }, func(ctx context.Context, i vocab.ActivityStreamsTentativeReject) error { t = i return nil - }, func(ctx context.Context, i vocab.ForgeFedTicket) error { - t = i - return nil - }, func(ctx context.Context, i vocab.ForgeFedTicketDependency) error { - t = i - return nil }, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error { t = i return nil diff --git a/streams/gen_type_predicated_resolver.go b/streams/gen_type_predicated_resolver.go index 6199b6c..fca864a 100644 --- a/streams/gen_type_predicated_resolver.go +++ b/streams/gen_type_predicated_resolver.go @@ -47,14 +47,10 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsBlock) (bool, error): // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedBranch) (bool, error): - // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsCollectionPage) (bool, error): // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedCommit) (bool, error): - // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsCreate) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsDelete) (bool, error): @@ -73,6 +69,8 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsGroup) (bool, error): // Do nothing, this predicate has a correct signature. + case func(context.Context, vocab.TootHashtag) (bool, error): + // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.TootIdentityProof) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsIgnore) (bool, error): @@ -119,8 +117,6 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.W3IDSecurityV1PublicKey) (bool, error): // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedPush) (bool, error): - // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsQuestion) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsRead) (bool, error): @@ -131,18 +127,12 @@ func NewTypePredicatedResolver(delegate Resolver, predicate interface{}) (*TypeP // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsRemove) (bool, error): // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedRepository) (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): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeReject) (bool, error): // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedTicket) (bool, error): - // Do nothing, this predicate has a correct signature. - case func(context.Context, vocab.ForgeFedTicketDependency) (bool, error): - // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsTombstone) (bool, error): // Do nothing, this predicate has a correct signature. case func(context.Context, vocab.ActivityStreamsTravel) (bool, error): @@ -273,17 +263,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedBranch) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedBranch); 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() == "Collection" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCollection) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsCollection); ok { @@ -306,17 +285,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedCommit) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedCommit); 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() == "Create" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsCreate) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsCreate); ok { @@ -416,6 +384,17 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } + } else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" { + if fn, ok := this.predicate.(func(context.Context, vocab.TootHashtag) (bool, error)); ok { + if v, ok := o.(vocab.TootHashtag); 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() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" { if fn, ok := this.predicate.(func(context.Context, vocab.TootIdentityProof) (bool, error)); ok { if v, ok := o.(vocab.TootIdentityProof); ok { @@ -669,17 +648,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedPush) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedPush); 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() == "Question" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsQuestion) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsQuestion); ok { @@ -735,17 +703,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedRepository) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedRepository); 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 { @@ -779,28 +736,6 @@ func (this TypePredicatedResolver) Apply(ctx context.Context, o ActivityStreamsI } else { return false, ErrPredicateUnmatched } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicket) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedTicket); 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://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" { - if fn, ok := this.predicate.(func(context.Context, vocab.ForgeFedTicketDependency) (bool, error)); ok { - if v, ok := o.(vocab.ForgeFedTicketDependency); 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() == "Tombstone" { if fn, ok := this.predicate.(func(context.Context, vocab.ActivityStreamsTombstone) (bool, error)); ok { if v, ok := o.(vocab.ActivityStreamsTombstone); ok { diff --git a/streams/gen_type_resolver.go b/streams/gen_type_resolver.go index f834520..0a9a776 100644 --- a/streams/gen_type_resolver.go +++ b/streams/gen_type_resolver.go @@ -46,14 +46,10 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsBlock) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedBranch) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollection) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCollectionPage) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedCommit) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsCreate) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsDelete) error: @@ -72,6 +68,8 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsGroup) error: // Do nothing, this callback has a correct signature. + case func(context.Context, vocab.TootHashtag) error: + // Do nothing, this callback has a correct signature. case func(context.Context, vocab.TootIdentityProof) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsIgnore) error: @@ -118,8 +116,6 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.W3IDSecurityV1PublicKey) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedPush) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsQuestion) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsRead) error: @@ -130,18 +126,12 @@ func NewTypeResolver(callbacks ...interface{}) (*TypeResolver, error) { // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsRemove) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedRepository) 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: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTentativeReject) error: // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedTicket) error: - // Do nothing, this callback has a correct signature. - case func(context.Context, vocab.ForgeFedTicketDependency) error: - // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTombstone) error: // Do nothing, this callback has a correct signature. case func(context.Context, vocab.ActivityStreamsTravel) error: @@ -250,15 +240,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Branch" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedBranch) error); ok { - if v, ok := o.(vocab.ForgeFedBranch); 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() == "Collection" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCollection) error); ok { if v, ok := o.(vocab.ActivityStreamsCollection); ok { @@ -277,15 +258,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Commit" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedCommit) error); ok { - if v, ok := o.(vocab.ForgeFedCommit); 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() == "Create" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsCreate) error); ok { if v, ok := o.(vocab.ActivityStreamsCreate); ok { @@ -367,6 +339,15 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } + } else if o.VocabularyURI() == "http://joinmastodon.org/ns" && o.GetTypeName() == "Hashtag" { + if fn, ok := i.(func(context.Context, vocab.TootHashtag) error); ok { + if v, ok := o.(vocab.TootHashtag); 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() == "http://joinmastodon.org/ns" && o.GetTypeName() == "IdentityProof" { if fn, ok := i.(func(context.Context, vocab.TootIdentityProof) error); ok { if v, ok := o.(vocab.TootIdentityProof); ok { @@ -574,15 +555,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Push" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedPush) error); ok { - if v, ok := o.(vocab.ForgeFedPush); 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() == "Question" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsQuestion) error); ok { if v, ok := o.(vocab.ActivityStreamsQuestion); ok { @@ -628,15 +600,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Repository" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedRepository) error); ok { - if v, ok := o.(vocab.ForgeFedRepository); 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 { @@ -664,24 +627,6 @@ func (this TypeResolver) Resolve(ctx context.Context, o ActivityStreamsInterface return errCannotTypeAssertType } } - } else if o.VocabularyURI() == "https://forgefed.peers.community/ns" && o.GetTypeName() == "Ticket" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedTicket) error); ok { - if v, ok := o.(vocab.ForgeFedTicket); 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://forgefed.peers.community/ns" && o.GetTypeName() == "TicketDependency" { - if fn, ok := i.(func(context.Context, vocab.ForgeFedTicketDependency) error); ok { - if v, ok := o.(vocab.ForgeFedTicketDependency); 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() == "Tombstone" { if fn, ok := i.(func(context.Context, vocab.ActivityStreamsTombstone) error); ok { if v, ok := o.(vocab.ActivityStreamsTombstone); ok { diff --git a/streams/impl/activitystreams/property_actor/gen_pkg.go b/streams/impl/activitystreams/property_actor/gen_pkg.go index 85c6519..4cc69f5 100644 --- a/streams/impl/activitystreams/property_actor/gen_pkg.go +++ b/streams/impl/activitystreams/property_actor/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go index 6c5dec7..237474f 100644 --- a/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go +++ b/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go @@ -25,10 +25,8 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsActorPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsActorPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsActorPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsActorPropertyIterator) GetActivityStreamsView() vocab. return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsActorPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsActorPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsActorPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsActorPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsActorPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsActorPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsActorPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsActorPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsActorPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsActorPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetActivityStreamsView(v vocab this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsActorPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsActorPropertyIterator) SetTootEmoji(v vocab.TootEmoji this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsActorPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsActorPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsActorProperty) AppendActivityStreamsView(v vocab.Acti }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "actor". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "actor". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "actor". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "actor". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "actor". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "actor". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsActorProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsActorProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "actor". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsActorProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "actor". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsActorProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsActorProperty) InsertActivityStreamsView(idx int, v v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "actor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsActorProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "actor". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsActorProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "actor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsActorProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "actor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsActorProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "actor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsActorProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "actor". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsActorProperty) InsertTootEmoji(idx int, v vocab.TootE } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "actor". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsActorProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsActorProperty) PrependActivityStreamsView(v vocab.Act } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "actor". Invalidates all iterators. -func (this *ActivityStreamsActorProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsActorPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "actor". func (this *ActivityStreamsActorProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsActorPropertyIterator{{ @@ -6126,6 +5654,20 @@ func (this *ActivityStreamsActorProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "actor". Invalidates all iterators. +func (this *ActivityStreamsActorProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsActorPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "actor". Invalidates all iterators. func (this *ActivityStreamsActorProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6894,83 +6436,6 @@ func (this *ActivityStreamsActorProperty) SetActivityStreamsView(idx int, v voca } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6995,6 +6460,19 @@ func (this *ActivityStreamsActorProperty) SetTootEmoji(idx int, v vocab.TootEmoj } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsActorPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "actor". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_anyof/gen_pkg.go b/streams/impl/activitystreams/property_anyof/gen_pkg.go index e2ea491..9e6611c 100644 --- a/streams/impl/activitystreams/property_anyof/gen_pkg.go +++ b/streams/impl/activitystreams/property_anyof/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go index 54f1687..6379c84 100644 --- a/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go +++ b/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go @@ -25,10 +25,8 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsAnyOfPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAnyOfPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAnyOfPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetActivityStreamsView() vocab. return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsAnyOfPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAnyOfPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsAnyOfPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsAnyOfPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAnyOfPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsAnyOfPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsAnyOfPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsAnyOfPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetActivityStreamsView(v vocab this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsAnyOfPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetTootEmoji(v vocab.TootEmoji this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsAnyOfPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsAnyOfPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsAnyOfProperty) AppendActivityStreamsView(v vocab.Acti }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "anyOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "anyOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "anyOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "anyOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "anyOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "anyOf". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsAnyOfProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsAnyOfProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "anyOf". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsAnyOfProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "anyOf". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsAnyOfProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsAnyOfProperty) InsertActivityStreamsView(idx int, v v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "anyOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "anyOf". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "anyOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "anyOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "anyOf". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "anyOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsAnyOfProperty) InsertTootEmoji(idx int, v vocab.TootE } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "anyOf". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsAnyOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsAnyOfProperty) PrependActivityStreamsView(v vocab.Act } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "anyOf". Invalidates all iterators. -func (this *ActivityStreamsAnyOfProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "anyOf". func (this *ActivityStreamsAnyOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ @@ -6126,6 +5654,20 @@ func (this *ActivityStreamsAnyOfProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "anyOf". Invalidates all iterators. +func (this *ActivityStreamsAnyOfProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsAnyOfPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "anyOf". Invalidates all iterators. func (this *ActivityStreamsAnyOfProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6894,83 +6436,6 @@ func (this *ActivityStreamsAnyOfProperty) SetActivityStreamsView(idx int, v voca } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6995,6 +6460,19 @@ func (this *ActivityStreamsAnyOfProperty) SetTootEmoji(idx int, v vocab.TootEmoj } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAnyOfPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "anyOf". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_attachment/gen_pkg.go b/streams/impl/activitystreams/property_attachment/gen_pkg.go index a9b93f6..1274834 100644 --- a/streams/impl/activitystreams/property_attachment/gen_pkg.go +++ b/streams/impl/activitystreams/property_attachment/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go index efe1b3a..d2d9a69 100644 --- a/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go +++ b/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go @@ -25,10 +25,8 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsAttachmentPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttachmentPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttachmentPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetActivityStreamsView() v return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsAttachmentPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttachmentPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetTootEmoji() vocab.TootE return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsAttachmentPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsActivityStreamsView() bo return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsAttachmentPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttachmentPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsAttachmentPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsAttachmentPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsAttachmentPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetActivityStreamsView(v this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsAttachmentPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetTootEmoji(v vocab.Toot this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsAttachmentPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsAttachmentPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsAttachmentProperty) AppendActivityStreamsView(v vocab }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "attachment". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "attachment". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "attachment". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "attachment". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "attachment". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "attachment". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsAttachmentProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3793,6 +3498,17 @@ func (this *ActivityStreamsAttachmentProperty) AppendTootEmoji(v vocab.TootEmoji }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "attachment". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsAttachmentProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "attachment". Invalidates iterators that are traversing using // Prev. @@ -4769,108 +4485,6 @@ func (this *ActivityStreamsAttachmentProperty) InsertActivityStreamsView(idx int } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "attachment". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "attachment". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "attachment". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "attachment". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "attachment". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "attachment". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4905,6 +4519,23 @@ func (this *ActivityStreamsAttachmentProperty) InsertTootEmoji(idx int, v vocab. } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "attachment". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5028,206 +4659,186 @@ func (this ActivityStreamsAttachmentProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6028,90 +5639,6 @@ func (this *ActivityStreamsAttachmentProperty) PrependActivityStreamsView(v voca } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "attachment". Invalidates all iterators. -func (this *ActivityStreamsAttachmentProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "attachment". func (this *ActivityStreamsAttachmentProperty) PrependIRI(v *url.URL) { @@ -6140,6 +5667,20 @@ func (this *ActivityStreamsAttachmentProperty) PrependTootEmoji(v vocab.TootEmoj } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "attachment". Invalidates all iterators. +func (this *ActivityStreamsAttachmentProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsAttachmentPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "attachment". Invalidates all iterators. func (this *ActivityStreamsAttachmentProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6908,84 +6449,6 @@ func (this *ActivityStreamsAttachmentProperty) SetActivityStreamsView(idx int, v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7011,6 +6474,19 @@ func (this *ActivityStreamsAttachmentProperty) SetTootEmoji(idx int, v vocab.Too } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttachmentPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/streams/impl/activitystreams/property_attributedto/gen_pkg.go index bccd4bd..931a1d2 100644 --- a/streams/impl/activitystreams/property_attributedto/gen_pkg.go +++ b/streams/impl/activitystreams/property_attributedto/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go index ca378cb..f2c286b 100644 --- a/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go +++ b/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go @@ -25,10 +25,8 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsAttributedToPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAttributedToPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAttributedToPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetActivityStreamsView() return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsAttributedToPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAttributedToPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetTootEmoji() vocab.Too return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsAttributedToPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsActivityStreamsView() return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsAttributedToPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAttributedToPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsAttributedToPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsAttributedToPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsAttributedToPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetActivityStreamsView( this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsAttributedToPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetTootEmoji(v vocab.To this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsAttributedToPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsAttributedToPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3739,77 +3512,6 @@ func (this *ActivityStreamsAttributedToProperty) AppendActivityStreamsView(v voc }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "attributedTo". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "attributedTo". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "attributedTo". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "attributedTo". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "attributedTo". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "attributedTo". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsAttributedToProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3832,6 +3534,17 @@ func (this *ActivityStreamsAttributedToProperty) AppendTootEmoji(v vocab.TootEmo }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "attributedTo". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsAttributedToProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "attributedTo". Invalidates iterators that are traversing // using Prev. @@ -4809,108 +4522,6 @@ func (this *ActivityStreamsAttributedToProperty) InsertActivityStreamsView(idx i } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "attributedTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "attributedTo". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "attributedTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "attributedTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "attributedTo". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property // "attributedTo". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -4945,6 +4556,23 @@ func (this *ActivityStreamsAttributedToProperty) InsertTootEmoji(idx int, v voca } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "attributedTo". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5068,206 +4696,186 @@ func (this ActivityStreamsAttributedToProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6069,90 +5677,6 @@ func (this *ActivityStreamsAttributedToProperty) PrependActivityStreamsView(v vo } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "attributedTo". Invalidates all iterators. -func (this *ActivityStreamsAttributedToProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "attributedTo". func (this *ActivityStreamsAttributedToProperty) PrependIRI(v *url.URL) { @@ -6181,6 +5705,20 @@ func (this *ActivityStreamsAttributedToProperty) PrependTootEmoji(v vocab.TootEm } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "attributedTo". Invalidates all iterators. +func (this *ActivityStreamsAttributedToProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsAttributedToPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "attributedTo". Invalidates all iterators. func (this *ActivityStreamsAttributedToProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6949,84 +6487,6 @@ func (this *ActivityStreamsAttributedToProperty) SetActivityStreamsView(idx int, } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7052,6 +6512,19 @@ func (this *ActivityStreamsAttributedToProperty) SetTootEmoji(idx int, v vocab.T } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAttributedToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "attributedTo". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_audience/gen_pkg.go b/streams/impl/activitystreams/property_audience/gen_pkg.go index 9f7a550..dec2385 100644 --- a/streams/impl/activitystreams/property_audience/gen_pkg.go +++ b/streams/impl/activitystreams/property_audience/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go index aca72d1..c543199 100644 --- a/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go +++ b/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go @@ -25,10 +25,8 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsAudiencePropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsAudiencePropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsAudiencePropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsAudiencePropertyIterator) GetActivityStreamsView() voc return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsAudiencePropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsAudiencePropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetTootEmoji() vocab.TootEmo return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsAudiencePropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsAudiencePropertyIterator) IsActivityStreamsView() bool return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsAudiencePropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsAudiencePropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsAudiencePropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsAudiencePropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsAudiencePropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetActivityStreamsView(v vo this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsAudiencePropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetTootEmoji(v vocab.TootEm this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsAudiencePropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsAudiencePropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsAudienceProperty) AppendActivityStreamsView(v vocab.A }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "audience". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "audience". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "audience". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "audience". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "audience". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "audience". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsAudienceProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsAudienceProperty) AppendTootEmoji(v vocab.TootEmoji) }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "audience". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsAudienceProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "audience". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsAudienceProperty) InsertActivityStreamsView(idx int, } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "audience". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "audience". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "audience". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "audience". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "audience". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "audience". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsAudienceProperty) InsertTootEmoji(idx int, v vocab.To } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "audience". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsAudienceProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsAudienceProperty) PrependActivityStreamsView(v vocab. } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "audience". Invalidates all iterators. -func (this *ActivityStreamsAudienceProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "audience". func (this *ActivityStreamsAudienceProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsAudienceProperty) PrependTootEmoji(v vocab.TootEmoji) } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "audience". Invalidates all iterators. +func (this *ActivityStreamsAudienceProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsAudiencePropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "audience". Invalidates all iterators. func (this *ActivityStreamsAudienceProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,83 +6447,6 @@ func (this *ActivityStreamsAudienceProperty) SetActivityStreamsView(idx int, v v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7007,6 +6471,19 @@ func (this *ActivityStreamsAudienceProperty) SetTootEmoji(idx int, v vocab.TootE } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsAudiencePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_bcc/gen_pkg.go b/streams/impl/activitystreams/property_bcc/gen_pkg.go index edc0629..fc7df96 100644 --- a/streams/impl/activitystreams/property_bcc/gen_pkg.go +++ b/streams/impl/activitystreams/property_bcc/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go index 19beec7..d707bb0 100644 --- a/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go +++ b/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go @@ -25,10 +25,8 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -174,12 +169,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsCollectionMember: v, @@ -192,12 +181,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsCreateMember: v, @@ -252,6 +235,12 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsBccPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ alias: alias, @@ -372,12 +361,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsQuestionMember: v, @@ -408,12 +391,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsServiceMember: v, @@ -432,18 +409,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBccPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBccPropertyIterator{ activitystreamsTombstoneMember: v, @@ -867,44 +832,6 @@ func (this ActivityStreamsBccPropertyIterator) GetActivityStreamsView() vocab.Ac return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsBccPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBccPropertyIterator) GetIRI() *url.URL { @@ -917,6 +844,12 @@ func (this ActivityStreamsBccPropertyIterator) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsBccPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -960,18 +893,12 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -999,6 +926,9 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1059,9 +989,6 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1077,9 +1004,6 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1089,12 +1013,6 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1130,10 +1048,8 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1143,6 +1059,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1163,18 +1080,14 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1567,48 +1480,6 @@ func (this ActivityStreamsBccPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsBccPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBccPropertyIterator) IsIRI() bool { @@ -1621,6 +1492,13 @@ func (this ActivityStreamsBccPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsBccPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1656,14 +1534,10 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1682,6 +1556,8 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1722,8 +1598,6 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1734,18 +1608,12 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1807,158 +1675,143 @@ func (this ActivityStreamsBccPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -1999,14 +1852,10 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2025,6 +1874,8 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2065,8 +1916,6 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2077,18 +1926,12 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2512,48 +2355,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetActivityStreamsView(v vocab.A this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsBccPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2567,6 +2368,13 @@ func (this *ActivityStreamsBccPropertyIterator) SetTootEmoji(v vocab.TootEmoji) this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsBccPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsBccPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2621,10 +2429,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2633,10 +2437,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2673,6 +2473,10 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2753,10 +2557,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2777,10 +2577,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2793,14 +2589,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2843,10 +2631,8 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2856,6 +2642,7 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2876,18 +2663,14 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2925,14 +2708,10 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2951,6 +2730,8 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2991,8 +2772,6 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3003,18 +2782,12 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3692,73 +3465,6 @@ func (this *ActivityStreamsBccProperty) AppendActivityStreamsView(v vocab.Activi }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "bcc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "bcc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "bcc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "bcc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "bcc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "bcc". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsBccProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3780,6 +3486,17 @@ func (this *ActivityStreamsBccProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "bcc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBccProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "bcc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBccProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4754,108 +4471,6 @@ func (this *ActivityStreamsBccProperty) InsertActivityStreamsView(idx int, v voc } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "bcc". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "bcc". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "bcc". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "bcc". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "bcc". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsBccProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "bcc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4890,6 +4505,23 @@ func (this *ActivityStreamsBccProperty) InsertTootEmoji(idx int, v vocab.TootEmo } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "bcc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5013,206 +4645,186 @@ func (this ActivityStreamsBccProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6013,90 +5625,6 @@ func (this *ActivityStreamsBccProperty) PrependActivityStreamsView(v vocab.Activ } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "bcc". Invalidates all iterators. -func (this *ActivityStreamsBccProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsBccPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "bcc". func (this *ActivityStreamsBccProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBccPropertyIterator{{ @@ -6124,6 +5652,20 @@ func (this *ActivityStreamsBccProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "bcc". Invalidates all iterators. +func (this *ActivityStreamsBccProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsBccPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "bcc". Invalidates all iterators. func (this *ActivityStreamsBccProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6892,83 +6434,6 @@ func (this *ActivityStreamsBccProperty) SetActivityStreamsView(idx int, v vocab. } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6993,6 +6458,19 @@ func (this *ActivityStreamsBccProperty) SetTootEmoji(idx int, v vocab.TootEmoji) } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBccPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "bcc". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_bto/gen_pkg.go b/streams/impl/activitystreams/property_bto/gen_pkg.go index 151b80b..c04bd38 100644 --- a/streams/impl/activitystreams/property_bto/gen_pkg.go +++ b/streams/impl/activitystreams/property_bto/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go index a3e8b2c..3020848 100644 --- a/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go +++ b/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go @@ -25,10 +25,8 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -174,12 +169,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsCollectionMember: v, @@ -192,12 +181,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsCreateMember: v, @@ -252,6 +235,12 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsBtoPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ alias: alias, @@ -372,12 +361,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsQuestionMember: v, @@ -408,12 +391,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsServiceMember: v, @@ -432,18 +409,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsBtoPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsBtoPropertyIterator{ activitystreamsTombstoneMember: v, @@ -867,44 +832,6 @@ func (this ActivityStreamsBtoPropertyIterator) GetActivityStreamsView() vocab.Ac return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsBtoPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsBtoPropertyIterator) GetIRI() *url.URL { @@ -917,6 +844,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsBtoPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -960,18 +893,12 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -999,6 +926,9 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1059,9 +989,6 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1077,9 +1004,6 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1089,12 +1013,6 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1130,10 +1048,8 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1143,6 +1059,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1163,18 +1080,14 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1567,48 +1480,6 @@ func (this ActivityStreamsBtoPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsBtoPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsBtoPropertyIterator) IsIRI() bool { @@ -1621,6 +1492,13 @@ func (this ActivityStreamsBtoPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsBtoPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1656,14 +1534,10 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1682,6 +1556,8 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1722,8 +1598,6 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1734,18 +1608,12 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1807,158 +1675,143 @@ func (this ActivityStreamsBtoPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -1999,14 +1852,10 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2025,6 +1874,8 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2065,8 +1916,6 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2077,18 +1926,12 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2512,48 +2355,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetActivityStreamsView(v vocab.A this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsBtoPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2567,6 +2368,13 @@ func (this *ActivityStreamsBtoPropertyIterator) SetTootEmoji(v vocab.TootEmoji) this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsBtoPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsBtoPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2621,10 +2429,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2633,10 +2437,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2673,6 +2473,10 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2753,10 +2557,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2777,10 +2577,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2793,14 +2589,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2843,10 +2631,8 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2856,6 +2642,7 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2876,18 +2663,14 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2925,14 +2708,10 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2951,6 +2730,8 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2991,8 +2772,6 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3003,18 +2782,12 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3692,73 +3465,6 @@ func (this *ActivityStreamsBtoProperty) AppendActivityStreamsView(v vocab.Activi }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "bto". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "bto". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "bto". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "bto". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "bto". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "bto". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsBtoProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3780,6 +3486,17 @@ func (this *ActivityStreamsBtoProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "bto". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsBtoProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "bto". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsBtoProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4754,108 +4471,6 @@ func (this *ActivityStreamsBtoProperty) InsertActivityStreamsView(idx int, v voc } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "bto". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "bto". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "bto". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "bto". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "bto". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "bto". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4890,6 +4505,23 @@ func (this *ActivityStreamsBtoProperty) InsertTootEmoji(idx int, v vocab.TootEmo } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "bto". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5013,206 +4645,186 @@ func (this ActivityStreamsBtoProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6013,90 +5625,6 @@ func (this *ActivityStreamsBtoProperty) PrependActivityStreamsView(v vocab.Activ } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "bto". Invalidates all iterators. -func (this *ActivityStreamsBtoProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "bto". func (this *ActivityStreamsBtoProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ @@ -6124,6 +5652,20 @@ func (this *ActivityStreamsBtoProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "bto". Invalidates all iterators. +func (this *ActivityStreamsBtoProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsBtoPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "bto". Invalidates all iterators. func (this *ActivityStreamsBtoProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6892,83 +6434,6 @@ func (this *ActivityStreamsBtoProperty) SetActivityStreamsView(idx int, v vocab. } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6993,6 +6458,19 @@ func (this *ActivityStreamsBtoProperty) SetTootEmoji(idx int, v vocab.TootEmoji) } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsBtoPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "bto". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_cc/gen_pkg.go b/streams/impl/activitystreams/property_cc/gen_pkg.go index 5671fdf..49b5049 100644 --- a/streams/impl/activitystreams/property_cc/gen_pkg.go +++ b/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go index e4df02f..8d9dd4a 100644 --- a/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go +++ b/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -25,10 +25,8 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -174,12 +169,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsCollectionMember: v, @@ -192,12 +181,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsCreateMember: v, @@ -252,6 +235,12 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsCcPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ alias: alias, @@ -372,12 +361,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsQuestionMember: v, @@ -408,12 +391,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsServiceMember: v, @@ -432,18 +409,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsCcPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCcPropertyIterator{ activitystreamsTombstoneMember: v, @@ -867,44 +832,6 @@ func (this ActivityStreamsCcPropertyIterator) GetActivityStreamsView() vocab.Act return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsCcPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsCcPropertyIterator) GetIRI() *url.URL { @@ -917,6 +844,12 @@ func (this ActivityStreamsCcPropertyIterator) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsCcPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -960,18 +893,12 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -999,6 +926,9 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1059,9 +989,6 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1077,9 +1004,6 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1089,12 +1013,6 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1130,10 +1048,8 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1143,6 +1059,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1163,18 +1080,14 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1567,48 +1480,6 @@ func (this ActivityStreamsCcPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsCcPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsCcPropertyIterator) IsIRI() bool { @@ -1621,6 +1492,13 @@ func (this ActivityStreamsCcPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsCcPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1656,14 +1534,10 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1682,6 +1556,8 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1722,8 +1598,6 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1734,18 +1608,12 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1807,158 +1675,143 @@ func (this ActivityStreamsCcPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -1999,14 +1852,10 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2025,6 +1874,8 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2065,8 +1916,6 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2077,18 +1926,12 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2512,48 +2355,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetActivityStreamsView(v vocab.Ac this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsCcPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2567,6 +2368,13 @@ func (this *ActivityStreamsCcPropertyIterator) SetTootEmoji(v vocab.TootEmoji) { this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsCcPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsCcPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2621,10 +2429,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2633,10 +2437,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2673,6 +2473,10 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2753,10 +2557,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2777,10 +2577,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2793,14 +2589,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2843,10 +2631,8 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2856,6 +2642,7 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2876,18 +2663,14 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2925,14 +2708,10 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2951,6 +2730,8 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2991,8 +2772,6 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3003,18 +2782,12 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3692,73 +3465,6 @@ func (this *ActivityStreamsCcProperty) AppendActivityStreamsView(v vocab.Activit }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "cc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "cc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "cc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "cc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "cc". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "cc". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsCcProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3780,6 +3486,17 @@ func (this *ActivityStreamsCcProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "cc". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsCcProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "cc". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsCcProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4754,108 +4471,6 @@ func (this *ActivityStreamsCcProperty) InsertActivityStreamsView(idx int, v voca } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "cc". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsCcProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "cc". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsCcProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "cc". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsCcProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "cc". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsCcProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "cc". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsCcProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "cc". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4890,6 +4505,23 @@ func (this *ActivityStreamsCcProperty) InsertTootEmoji(idx int, v vocab.TootEmoj } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "cc". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -5013,206 +4645,186 @@ func (this ActivityStreamsCcProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6013,90 +5625,6 @@ func (this *ActivityStreamsCcProperty) PrependActivityStreamsView(v vocab.Activi } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "cc". Invalidates all iterators. -func (this *ActivityStreamsCcProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsCcPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "cc". func (this *ActivityStreamsCcProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsCcPropertyIterator{{ @@ -6124,6 +5652,20 @@ func (this *ActivityStreamsCcProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "cc". Invalidates all iterators. +func (this *ActivityStreamsCcProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsCcPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "cc". Invalidates all iterators. func (this *ActivityStreamsCcProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6892,83 +6434,6 @@ func (this *ActivityStreamsCcProperty) SetActivityStreamsView(idx int, v vocab.A } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6993,6 +6458,19 @@ func (this *ActivityStreamsCcProperty) SetTootEmoji(idx int, v vocab.TootEmoji) } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsCcPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "cc". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_closed/gen_pkg.go b/streams/impl/activitystreams/property_closed/gen_pkg.go index cc4ce57..21c8393 100644 --- a/streams/impl/activitystreams/property_closed/gen_pkg.go +++ b/streams/impl/activitystreams/property_closed/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go index ffe820f..dcf3142 100644 --- a/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go +++ b/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go @@ -32,10 +32,8 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -45,6 +43,7 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -65,18 +64,14 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -182,12 +177,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsCollectionMember: v, @@ -200,12 +189,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsCreateMember: v, @@ -260,6 +243,12 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsClosedPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ alias: alias, @@ -380,12 +369,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsQuestionMember: v, @@ -416,12 +399,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsServiceMember: v, @@ -440,18 +417,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsClosedPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsClosedPropertyIterator{ activitystreamsTombstoneMember: v, @@ -890,44 +855,6 @@ func (this ActivityStreamsClosedPropertyIterator) GetActivityStreamsView() vocab return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsClosedPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsClosedPropertyIterator) GetIRI() *url.URL { @@ -940,6 +867,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsClosedPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -983,18 +916,12 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1022,6 +949,9 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1082,9 +1012,6 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1100,9 +1027,6 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1112,12 +1036,6 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1168,10 +1086,8 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1181,6 +1097,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1201,18 +1118,14 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1605,48 +1518,6 @@ func (this ActivityStreamsClosedPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsClosedPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsClosedPropertyIterator) IsIRI() bool { @@ -1659,6 +1530,13 @@ func (this ActivityStreamsClosedPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsClosedPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1708,14 +1586,10 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1734,6 +1608,8 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1774,8 +1650,6 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1786,18 +1660,12 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1865,158 +1733,143 @@ func (this ActivityStreamsClosedPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 12 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 13 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 14 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 15 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 16 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 17 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 18 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 19 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 20 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 21 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 22 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 23 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 24 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 25 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 26 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 27 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 28 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 29 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 30 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 31 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 32 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 33 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 34 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 35 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 36 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 37 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 38 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 39 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 40 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 41 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 42 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 43 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 44 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 45 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 46 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 47 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 48 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 49 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 50 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 51 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 52 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 53 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 54 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 55 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 56 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 57 } - if this.IsActivityStreamsTombstone() { - return 58 - } - if this.IsActivityStreamsTravel() { - return 59 - } - if this.IsActivityStreamsUndo() { - return 60 - } - if this.IsActivityStreamsUpdate() { - return 61 - } - if this.IsActivityStreamsVideo() { - return 62 - } if this.IsActivityStreamsView() { - return 63 + return 58 } if this.IsIRI() { return -2 @@ -2061,14 +1914,10 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2087,6 +1936,8 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2127,8 +1978,6 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2139,18 +1988,12 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2574,48 +2417,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetActivityStreamsView(v voca this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsClosedPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2629,6 +2430,13 @@ func (this *ActivityStreamsClosedPropertyIterator) SetTootEmoji(v vocab.TootEmoj this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsClosedPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsClosedPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2683,10 +2491,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2695,10 +2499,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2735,6 +2535,10 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2815,10 +2619,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2839,10 +2639,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2855,14 +2651,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2923,10 +2711,8 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2936,6 +2722,7 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2956,18 +2743,14 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -3009,14 +2792,10 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -3035,6 +2814,8 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -3075,8 +2856,6 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3087,18 +2866,12 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3777,73 +3550,6 @@ func (this *ActivityStreamsClosedProperty) AppendActivityStreamsView(v vocab.Act }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "closed". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "closed". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "closed". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "closed". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "closed". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "closed". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsClosedProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3865,6 +3571,17 @@ func (this *ActivityStreamsClosedProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "closed". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsClosedProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "closed". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsClosedProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4863,108 +4580,6 @@ func (this *ActivityStreamsClosedProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "closed". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "closed". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "closed". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "closed". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "closed". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "closed". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4999,6 +4614,23 @@ func (this *ActivityStreamsClosedProperty) InsertTootEmoji(idx int, v vocab.Toot } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "closed". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5166,206 +4798,186 @@ func (this ActivityStreamsClosedProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 13 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 16 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 24 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 25 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 46 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 52 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 57 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6166,90 +5778,6 @@ func (this *ActivityStreamsClosedProperty) PrependActivityStreamsView(v vocab.Ac } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "closed". Invalidates all iterators. -func (this *ActivityStreamsClosedProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "closed". func (this *ActivityStreamsClosedProperty) PrependIRI(v *url.URL) { @@ -6278,6 +5806,20 @@ func (this *ActivityStreamsClosedProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "closed". Invalidates all iterators. +func (this *ActivityStreamsClosedProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsClosedPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "closed". Invalidates all iterators. func (this *ActivityStreamsClosedProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -7076,83 +6618,6 @@ func (this *ActivityStreamsClosedProperty) SetActivityStreamsView(idx int, v voc } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7177,6 +6642,19 @@ func (this *ActivityStreamsClosedProperty) SetTootEmoji(idx int, v vocab.TootEmo } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsClosedPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_context/gen_pkg.go b/streams/impl/activitystreams/property_context/gen_pkg.go index 54bf7c0..6b6ebc9 100644 --- a/streams/impl/activitystreams/property_context/gen_pkg.go +++ b/streams/impl/activitystreams/property_context/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go index a173a46..2d9f4cd 100644 --- a/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go +++ b/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go @@ -25,10 +25,8 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsContextPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsContextPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsContextPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsContextPropertyIterator) GetActivityStreamsView() voca return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsContextPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsContextPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsContextPropertyIterator) GetTootEmoji() vocab.TootEmoj return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsContextPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsContextPropertyIterator) IsActivityStreamsView() bool return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsContextPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsContextPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsContextPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsContextPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsContextPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetActivityStreamsView(v voc this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsContextPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsContextPropertyIterator) SetTootEmoji(v vocab.TootEmo this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsContextPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsContextPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsContextProperty) AppendActivityStreamsView(v vocab.Ac }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "context". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "context". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "context". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "context". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "context". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "context". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsContextProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsContextProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "context". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsContextProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "context". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsContextProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "context". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsContextProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "context". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsContextProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "context". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsContextProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "context". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsContextProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "context". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsContextProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "context". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsContextProperty) InsertTootEmoji(idx int, v vocab.Too } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "context". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsContextProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsContextProperty) PrependActivityStreamsView(v vocab.A } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "context". Invalidates all iterators. -func (this *ActivityStreamsContextProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsContextPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "context". func (this *ActivityStreamsContextProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsContextProperty) PrependTootEmoji(v vocab.TootEmoji) } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "context". Invalidates all iterators. +func (this *ActivityStreamsContextProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsContextPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "context". Invalidates all iterators. func (this *ActivityStreamsContextProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,83 +6447,6 @@ func (this *ActivityStreamsContextProperty) SetActivityStreamsView(idx int, v vo } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7007,6 +6471,19 @@ func (this *ActivityStreamsContextProperty) SetTootEmoji(idx int, v vocab.TootEm } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsContextPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_describes/gen_pkg.go b/streams/impl/activitystreams/property_describes/gen_pkg.go index 553d52a..608e762 100644 --- a/streams/impl/activitystreams/property_describes/gen_pkg.go +++ b/streams/impl/activitystreams/property_describes/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -177,9 +172,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -200,10 +192,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -216,14 +204,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go index 1f66d6c..696e025 100644 --- a/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go +++ b/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go @@ -24,10 +24,8 @@ type ActivityStreamsDescribesProperty struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -37,6 +35,7 @@ type ActivityStreamsDescribesProperty struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -56,18 +55,14 @@ type ActivityStreamsDescribesProperty struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -167,12 +162,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsCollectionMember: v, @@ -185,12 +174,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsCreateMember: v, @@ -245,6 +228,12 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsDescribesProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ alias: alias, @@ -359,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsQuestionMember: v, @@ -395,12 +378,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsServiceMember: v, @@ -419,18 +396,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsDescribesProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsDescribesProperty{ activitystreamsTombstoneMember: v, @@ -496,10 +461,8 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -509,6 +472,7 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -528,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -914,44 +874,6 @@ func (this ActivityStreamsDescribesProperty) GetActivityStreamsView() vocab.Acti return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsDescribesProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsDescribesProperty) GetIRI() *url.URL { @@ -964,6 +886,12 @@ func (this ActivityStreamsDescribesProperty) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsDescribesProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -1004,18 +932,12 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1043,6 +965,9 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1100,9 +1025,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1118,9 +1040,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1130,12 +1049,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1170,10 +1083,8 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1183,6 +1094,7 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1202,18 +1114,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1592,48 +1500,6 @@ func (this ActivityStreamsDescribesProperty) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsDescribesProperty) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsDescribesProperty) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsDescribesProperty) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsDescribesProperty) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsDescribesProperty) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsDescribesProperty) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsDescribesProperty) IsIRI() bool { @@ -1646,6 +1512,13 @@ func (this ActivityStreamsDescribesProperty) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsDescribesProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1679,14 +1552,10 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1705,6 +1574,8 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1743,8 +1614,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1755,18 +1624,12 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1825,155 +1688,140 @@ func (this ActivityStreamsDescribesProperty) KindIndex() int { if this.IsActivityStreamsBlock() { return 9 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 10 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 11 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 12 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 13 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 14 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 15 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 16 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 17 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 18 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 19 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 20 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 21 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 22 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 23 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 24 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 25 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 26 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 27 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 28 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 29 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 30 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMove() { return 31 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 32 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 33 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 34 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 35 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 36 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 37 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 38 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 39 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 40 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 41 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 42 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 43 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 44 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 45 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 46 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 47 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 48 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 49 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 50 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 51 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 52 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 53 } - if this.IsActivityStreamsTombstone() { - return 54 - } - if this.IsActivityStreamsTravel() { - return 55 - } - if this.IsActivityStreamsUndo() { - return 56 - } - if this.IsActivityStreamsUpdate() { - return 57 - } - if this.IsActivityStreamsVideo() { - return 58 - } if this.IsActivityStreamsView() { - return 59 + return 54 } if this.IsIRI() { return -2 @@ -2012,14 +1860,10 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2038,6 +1882,8 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2076,8 +1922,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2088,18 +1932,12 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2152,14 +1990,10 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2178,6 +2012,8 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2216,8 +2052,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2228,18 +2062,12 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -2622,48 +2450,6 @@ func (this *ActivityStreamsDescribesProperty) SetActivityStreamsView(v vocab.Act this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsDescribesProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetIRI(v *url.URL) { this.Clear() @@ -2677,6 +2463,13 @@ func (this *ActivityStreamsDescribesProperty) SetTootEmoji(v vocab.TootEmoji) { this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsDescribesProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsDescribesProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2727,10 +2520,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2739,10 +2528,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2779,6 +2564,10 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2855,10 +2644,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2879,10 +2664,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2895,14 +2676,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil diff --git a/streams/impl/activitystreams/property_formertype/gen_pkg.go b/streams/impl/activitystreams/property_formertype/gen_pkg.go index 899db00..d858a8e 100644 --- a/streams/impl/activitystreams/property_formertype/gen_pkg.go +++ b/streams/impl/activitystreams/property_formertype/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -177,9 +172,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -200,10 +192,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -216,14 +204,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go index d4dd9bb..48c7bbc 100644 --- a/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go +++ b/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go @@ -27,10 +27,8 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -40,6 +38,7 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -59,18 +58,14 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -170,12 +165,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsCollectionMember: v, @@ -188,12 +177,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsCreateMember: v, @@ -248,6 +231,12 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsFormerTypePropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ alias: alias, @@ -362,12 +351,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsQuestionMember: v, @@ -398,12 +381,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsServiceMember: v, @@ -422,18 +399,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsFormerTypePropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFormerTypePropertyIterator{ activitystreamsTombstoneMember: v, @@ -851,44 +816,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetActivityStreamsView() v return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsFormerTypePropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsFormerTypePropertyIterator) GetIRI() *url.URL { @@ -901,6 +828,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetTootEmoji() vocab.TootE return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsFormerTypePropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -941,18 +874,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -980,6 +907,9 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1037,9 +967,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1055,9 +982,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1067,12 +991,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1114,10 +1032,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1127,6 +1043,7 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1146,18 +1063,14 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1536,48 +1449,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsActivityStreamsView() bo return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsFormerTypePropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsFormerTypePropertyIterator) IsIRI() bool { @@ -1590,6 +1461,13 @@ func (this ActivityStreamsFormerTypePropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsFormerTypePropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1630,14 +1508,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1656,6 +1530,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1694,8 +1570,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1706,18 +1580,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1779,155 +1647,140 @@ func (this ActivityStreamsFormerTypePropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMove() { return 32 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 33 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 34 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 35 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 36 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 37 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 38 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 39 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 40 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 41 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 42 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 43 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 44 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 45 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 46 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 47 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 48 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 49 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 50 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 51 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 52 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 53 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 54 } - if this.IsActivityStreamsTombstone() { - return 55 - } - if this.IsActivityStreamsTravel() { - return 56 - } - if this.IsActivityStreamsUndo() { - return 57 - } - if this.IsActivityStreamsUpdate() { - return 58 - } - if this.IsActivityStreamsVideo() { - return 59 - } if this.IsActivityStreamsView() { - return 60 + return 55 } if this.IsIRI() { return -2 @@ -1968,14 +1821,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -1994,6 +1843,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2032,8 +1883,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2044,18 +1893,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2465,48 +2308,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetActivityStreamsView(v this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsFormerTypePropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2520,6 +2321,13 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetTootEmoji(v vocab.Toot this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsFormerTypePropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsFormerTypePropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2570,10 +2378,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2582,10 +2386,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2622,6 +2422,10 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2698,10 +2502,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2722,10 +2522,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2738,14 +2534,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2796,10 +2584,8 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2809,6 +2595,7 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2828,18 +2615,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2877,14 +2660,10 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2903,6 +2682,8 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2941,8 +2722,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2953,18 +2732,12 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3629,74 +3402,6 @@ func (this *ActivityStreamsFormerTypeProperty) AppendActivityStreamsView(v vocab }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "formerType". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "formerType". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "formerType". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "formerType". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "formerType". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "formerType". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsFormerTypeProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3719,6 +3424,17 @@ func (this *ActivityStreamsFormerTypeProperty) AppendTootEmoji(v vocab.TootEmoji }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "formerType". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsFormerTypeProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "formerType". Invalidates iterators that are traversing using // Prev. @@ -4673,108 +4389,6 @@ func (this *ActivityStreamsFormerTypeProperty) InsertActivityStreamsView(idx int } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "formerType". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "formerType". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "formerType". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "formerType". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "formerType". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "formerType". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4809,6 +4423,23 @@ func (this *ActivityStreamsFormerTypeProperty) InsertTootEmoji(idx int, v vocab. } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "formerType". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -4950,202 +4581,182 @@ func (this ActivityStreamsFormerTypeProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 43 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 49 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 53 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -5918,90 +5529,6 @@ func (this *ActivityStreamsFormerTypeProperty) PrependActivityStreamsView(v voca } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "formerType". Invalidates all iterators. -func (this *ActivityStreamsFormerTypeProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "formerType". func (this *ActivityStreamsFormerTypeProperty) PrependIRI(v *url.URL) { @@ -6030,6 +5557,20 @@ func (this *ActivityStreamsFormerTypeProperty) PrependTootEmoji(v vocab.TootEmoj } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "formerType". Invalidates all iterators. +func (this *ActivityStreamsFormerTypeProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsFormerTypePropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "formerType". Invalidates all iterators. func (this *ActivityStreamsFormerTypeProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6787,84 +6328,6 @@ func (this *ActivityStreamsFormerTypeProperty) SetActivityStreamsView(idx int, v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6890,6 +6353,19 @@ func (this *ActivityStreamsFormerTypeProperty) SetTootEmoji(idx int, v vocab.Too } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsFormerTypePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_generator/gen_pkg.go b/streams/impl/activitystreams/property_generator/gen_pkg.go index b388dfe..9c46b61 100644 --- a/streams/impl/activitystreams/property_generator/gen_pkg.go +++ b/streams/impl/activitystreams/property_generator/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go index 074ed84..4e9d554 100644 --- a/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go +++ b/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go @@ -25,10 +25,8 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsGeneratorPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsGeneratorPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsGeneratorPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetActivityStreamsView() vo return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsGeneratorPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsGeneratorPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetTootEmoji() vocab.TootEm return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsGeneratorPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsActivityStreamsView() boo return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsGeneratorPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsGeneratorPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsGeneratorPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsGeneratorPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsGeneratorPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetActivityStreamsView(v v this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsGeneratorPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetTootEmoji(v vocab.TootE this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsGeneratorPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsGeneratorPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsGeneratorProperty) AppendActivityStreamsView(v vocab. }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "generator". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "generator". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "generator". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "generator". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "generator". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "generator". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsGeneratorProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsGeneratorProperty) AppendTootEmoji(v vocab.TootEmoji) }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "generator". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsGeneratorProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "generator". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsGeneratorProperty) InsertActivityStreamsView(idx int, } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "generator". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "generator". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "generator". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "generator". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "generator". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "generator". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsGeneratorProperty) InsertTootEmoji(idx int, v vocab.T } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "generator". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsGeneratorProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsGeneratorProperty) PrependActivityStreamsView(v vocab } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "generator". Invalidates all iterators. -func (this *ActivityStreamsGeneratorProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "generator". func (this *ActivityStreamsGeneratorProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsGeneratorProperty) PrependTootEmoji(v vocab.TootEmoji } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "generator". Invalidates all iterators. +func (this *ActivityStreamsGeneratorProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsGeneratorPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "generator". Invalidates all iterators. func (this *ActivityStreamsGeneratorProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,84 +6447,6 @@ func (this *ActivityStreamsGeneratorProperty) SetActivityStreamsView(idx int, v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7009,6 +6472,19 @@ func (this *ActivityStreamsGeneratorProperty) SetTootEmoji(idx int, v vocab.Toot } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsGeneratorPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/streams/impl/activitystreams/property_inreplyto/gen_pkg.go index 2859716..c5a9478 100644 --- a/streams/impl/activitystreams/property_inreplyto/gen_pkg.go +++ b/streams/impl/activitystreams/property_inreplyto/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go index 02ca188..d92e29d 100644 --- a/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go +++ b/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go @@ -25,10 +25,8 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsInReplyToPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInReplyToPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInReplyToPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetActivityStreamsView() vo return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsInReplyToPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInReplyToPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetTootEmoji() vocab.TootEm return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsInReplyToPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsActivityStreamsView() boo return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsInReplyToPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInReplyToPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsInReplyToPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsInReplyToPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsInReplyToPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetActivityStreamsView(v v this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsInReplyToPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetTootEmoji(v vocab.TootE this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsInReplyToPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsInReplyToPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsInReplyToProperty) AppendActivityStreamsView(v vocab. }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "inReplyTo". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "inReplyTo". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "inReplyTo". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "inReplyTo". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "inReplyTo". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "inReplyTo". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsInReplyToProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsInReplyToProperty) AppendTootEmoji(v vocab.TootEmoji) }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "inReplyTo". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsInReplyToProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "inReplyTo". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsInReplyToProperty) InsertActivityStreamsView(idx int, } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "inReplyTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "inReplyTo". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "inReplyTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "inReplyTo". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "inReplyTo". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "inReplyTo". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsInReplyToProperty) InsertTootEmoji(idx int, v vocab.T } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "inReplyTo". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsInReplyToProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsInReplyToProperty) PrependActivityStreamsView(v vocab } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "inReplyTo". Invalidates all iterators. -func (this *ActivityStreamsInReplyToProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "inReplyTo". func (this *ActivityStreamsInReplyToProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsInReplyToProperty) PrependTootEmoji(v vocab.TootEmoji } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "inReplyTo". Invalidates all iterators. +func (this *ActivityStreamsInReplyToProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsInReplyToPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "inReplyTo". Invalidates all iterators. func (this *ActivityStreamsInReplyToProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,84 +6447,6 @@ func (this *ActivityStreamsInReplyToProperty) SetActivityStreamsView(idx int, v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7009,6 +6472,19 @@ func (this *ActivityStreamsInReplyToProperty) SetTootEmoji(idx int, v vocab.Toot } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInReplyToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_instrument/gen_pkg.go b/streams/impl/activitystreams/property_instrument/gen_pkg.go index 7db2733..ff595bd 100644 --- a/streams/impl/activitystreams/property_instrument/gen_pkg.go +++ b/streams/impl/activitystreams/property_instrument/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go index 5ec8a82..452949f 100644 --- a/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go +++ b/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go @@ -25,10 +25,8 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsInstrumentPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsInstrumentPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsInstrumentPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetActivityStreamsView() v return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsInstrumentPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsInstrumentPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetTootEmoji() vocab.TootE return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsInstrumentPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsActivityStreamsView() bo return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsInstrumentPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsInstrumentPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsInstrumentPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsInstrumentPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsInstrumentPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetActivityStreamsView(v this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsInstrumentPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetTootEmoji(v vocab.Toot this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsInstrumentPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsInstrumentPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsInstrumentProperty) AppendActivityStreamsView(v vocab }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "instrument". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "instrument". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "instrument". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "instrument". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "instrument". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "instrument". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsInstrumentProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3793,6 +3498,17 @@ func (this *ActivityStreamsInstrumentProperty) AppendTootEmoji(v vocab.TootEmoji }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "instrument". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsInstrumentProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "instrument". Invalidates iterators that are traversing using // Prev. @@ -4769,108 +4485,6 @@ func (this *ActivityStreamsInstrumentProperty) InsertActivityStreamsView(idx int } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "instrument". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "instrument". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "instrument". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "instrument". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "instrument". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "instrument". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4905,6 +4519,23 @@ func (this *ActivityStreamsInstrumentProperty) InsertTootEmoji(idx int, v vocab. } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "instrument". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5028,206 +4659,186 @@ func (this ActivityStreamsInstrumentProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6028,90 +5639,6 @@ func (this *ActivityStreamsInstrumentProperty) PrependActivityStreamsView(v voca } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "instrument". Invalidates all iterators. -func (this *ActivityStreamsInstrumentProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "instrument". func (this *ActivityStreamsInstrumentProperty) PrependIRI(v *url.URL) { @@ -6140,6 +5667,20 @@ func (this *ActivityStreamsInstrumentProperty) PrependTootEmoji(v vocab.TootEmoj } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "instrument". Invalidates all iterators. +func (this *ActivityStreamsInstrumentProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsInstrumentPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "instrument". Invalidates all iterators. func (this *ActivityStreamsInstrumentProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6908,84 +6449,6 @@ func (this *ActivityStreamsInstrumentProperty) SetActivityStreamsView(idx int, v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7011,6 +6474,19 @@ func (this *ActivityStreamsInstrumentProperty) SetTootEmoji(idx int, v vocab.Too } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsInstrumentPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_items/gen_pkg.go b/streams/impl/activitystreams/property_items/gen_pkg.go index 35216bf..c626491 100644 --- a/streams/impl/activitystreams/property_items/gen_pkg.go +++ b/streams/impl/activitystreams/property_items/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go index bdc6a45..427af36 100644 --- a/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go +++ b/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go @@ -25,10 +25,8 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsItemsPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsItemsPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsItemsPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsItemsPropertyIterator) GetActivityStreamsView() vocab. return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsItemsPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsItemsPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsItemsPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsItemsPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsItemsPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsItemsPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsItemsPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsItemsPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsItemsPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetActivityStreamsView(v vocab this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsItemsPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsItemsPropertyIterator) SetTootEmoji(v vocab.TootEmoji this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsItemsPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsItemsPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsItemsProperty) AppendActivityStreamsView(v vocab.Acti }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "items". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "items". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "items". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "items". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "items". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "items". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsItemsProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsItemsProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "items". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsItemsProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "items". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsItemsProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsItemsProperty) InsertActivityStreamsView(idx int, v v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "items". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "items". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "items". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "items". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "items". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "items". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsItemsProperty) InsertTootEmoji(idx int, v vocab.TootE } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "items". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsItemsProperty) PrependActivityStreamsView(v vocab.Act } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "items". Invalidates all iterators. -func (this *ActivityStreamsItemsProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "items". func (this *ActivityStreamsItemsProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ @@ -6126,6 +5654,20 @@ func (this *ActivityStreamsItemsProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "items". Invalidates all iterators. +func (this *ActivityStreamsItemsProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsItemsPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "items". Invalidates all iterators. func (this *ActivityStreamsItemsProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6894,83 +6436,6 @@ func (this *ActivityStreamsItemsProperty) SetActivityStreamsView(idx int, v voca } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6995,6 +6460,19 @@ func (this *ActivityStreamsItemsProperty) SetTootEmoji(idx int, v vocab.TootEmoj } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsItemsPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "items". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_location/gen_pkg.go b/streams/impl/activitystreams/property_location/gen_pkg.go index 946433a..36225da 100644 --- a/streams/impl/activitystreams/property_location/gen_pkg.go +++ b/streams/impl/activitystreams/property_location/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go index 1644d8e..b590fd5 100644 --- a/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go +++ b/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go @@ -25,10 +25,8 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsLocationPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsLocationPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLocationPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsLocationPropertyIterator) GetActivityStreamsView() voc return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsLocationPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsLocationPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetTootEmoji() vocab.TootEmo return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsLocationPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsLocationPropertyIterator) IsActivityStreamsView() bool return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsLocationPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsLocationPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsLocationPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsLocationPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsLocationPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetActivityStreamsView(v vo this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsLocationPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsLocationPropertyIterator) SetTootEmoji(v vocab.TootEm this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsLocationPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsLocationPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsLocationProperty) AppendActivityStreamsView(v vocab.A }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "location". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "location". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "location". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "location". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "location". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "location". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsLocationProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsLocationProperty) AppendTootEmoji(v vocab.TootEmoji) }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "location". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsLocationProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "location". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsLocationProperty) InsertActivityStreamsView(idx int, } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "location". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "location". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "location". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "location". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "location". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "location". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsLocationProperty) InsertTootEmoji(idx int, v vocab.To } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "location". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsLocationProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsLocationProperty) PrependActivityStreamsView(v vocab. } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "location". Invalidates all iterators. -func (this *ActivityStreamsLocationProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "location". func (this *ActivityStreamsLocationProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsLocationProperty) PrependTootEmoji(v vocab.TootEmoji) } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "location". Invalidates all iterators. +func (this *ActivityStreamsLocationProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsLocationPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "location". Invalidates all iterators. func (this *ActivityStreamsLocationProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,83 +6447,6 @@ func (this *ActivityStreamsLocationProperty) SetActivityStreamsView(idx int, v v } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7007,6 +6471,19 @@ func (this *ActivityStreamsLocationProperty) SetTootEmoji(idx int, v vocab.TootE } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsLocationPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_object/gen_pkg.go b/streams/impl/activitystreams/property_object/gen_pkg.go index d9176c9..2f48ba2 100644 --- a/streams/impl/activitystreams/property_object/gen_pkg.go +++ b/streams/impl/activitystreams/property_object/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go index 501ddaa..f4e8d85 100644 --- a/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go +++ b/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go @@ -25,10 +25,8 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsObjectPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsObjectPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsObjectPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsObjectPropertyIterator) GetActivityStreamsView() vocab return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsObjectPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsObjectPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsObjectPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsObjectPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsObjectPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsObjectPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsObjectPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsObjectPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsObjectPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetActivityStreamsView(v voca this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsObjectPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsObjectPropertyIterator) SetTootEmoji(v vocab.TootEmoj this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsObjectPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsObjectPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsObjectProperty) AppendActivityStreamsView(v vocab.Act }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "object". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "object". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "object". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "object". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "object". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "object". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsObjectProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsObjectProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "object". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsObjectProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "object". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsObjectProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsObjectProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "object". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "object". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "object". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "object". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "object". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "object". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsObjectProperty) InsertTootEmoji(idx int, v vocab.Toot } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "object". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsObjectProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsObjectProperty) PrependActivityStreamsView(v vocab.Ac } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "object". Invalidates all iterators. -func (this *ActivityStreamsObjectProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "object". func (this *ActivityStreamsObjectProperty) PrependIRI(v *url.URL) { @@ -6127,6 +5655,20 @@ func (this *ActivityStreamsObjectProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "object". Invalidates all iterators. +func (this *ActivityStreamsObjectProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsObjectPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "object". Invalidates all iterators. func (this *ActivityStreamsObjectProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6895,83 +6437,6 @@ func (this *ActivityStreamsObjectProperty) SetActivityStreamsView(idx int, v voc } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6996,6 +6461,19 @@ func (this *ActivityStreamsObjectProperty) SetTootEmoji(idx int, v vocab.TootEmo } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsObjectPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_oneof/gen_pkg.go b/streams/impl/activitystreams/property_oneof/gen_pkg.go index f0a1b46..27b85fa 100644 --- a/streams/impl/activitystreams/property_oneof/gen_pkg.go +++ b/streams/impl/activitystreams/property_oneof/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go index 4561cec..46ccb22 100644 --- a/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go +++ b/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go @@ -25,10 +25,8 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsOneOfPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOneOfPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOneOfPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsOneOfPropertyIterator) GetActivityStreamsView() vocab. return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsOneOfPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOneOfPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsOneOfPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsOneOfPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsOneOfPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOneOfPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsOneOfPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsOneOfPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsOneOfPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetActivityStreamsView(v vocab this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsOneOfPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetTootEmoji(v vocab.TootEmoji this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsOneOfPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsOneOfPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsOneOfProperty) AppendActivityStreamsView(v vocab.Acti }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "oneOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "oneOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "oneOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "oneOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "oneOf". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "oneOf". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsOneOfProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsOneOfProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "oneOf". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsOneOfProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "oneOf". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsOneOfProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsOneOfProperty) InsertActivityStreamsView(idx int, v v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "oneOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "oneOf". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "oneOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "oneOf". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "oneOf". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "oneOf". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsOneOfProperty) InsertTootEmoji(idx int, v vocab.TootE } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "oneOf". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsOneOfProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsOneOfProperty) PrependActivityStreamsView(v vocab.Act } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "oneOf". Invalidates all iterators. -func (this *ActivityStreamsOneOfProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "oneOf". func (this *ActivityStreamsOneOfProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ @@ -6126,6 +5654,20 @@ func (this *ActivityStreamsOneOfProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "oneOf". Invalidates all iterators. +func (this *ActivityStreamsOneOfProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsOneOfPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "oneOf". Invalidates all iterators. func (this *ActivityStreamsOneOfProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6894,83 +6436,6 @@ func (this *ActivityStreamsOneOfProperty) SetActivityStreamsView(idx int, v voca } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6995,6 +6460,19 @@ func (this *ActivityStreamsOneOfProperty) SetTootEmoji(idx int, v vocab.TootEmoj } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOneOfPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "oneOf". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/streams/impl/activitystreams/property_ordereditems/gen_pkg.go index 6aa80f7..35847c0 100644 --- a/streams/impl/activitystreams/property_ordereditems/gen_pkg.go +++ b/streams/impl/activitystreams/property_ordereditems/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go index 02b9bc8..d1be24f 100644 --- a/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go +++ b/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go @@ -25,10 +25,8 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsOrderedItemsPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOrderedItemsPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOrderedItemsPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetActivityStreamsView() return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsOrderedItemsPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOrderedItemsPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetTootEmoji() vocab.Too return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsOrderedItemsPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsActivityStreamsView() return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsOrderedItemsPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOrderedItemsPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsOrderedItemsPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetActivityStreamsView( this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsOrderedItemsPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetTootEmoji(v vocab.To this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsOrderedItemsPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsOrderedItemsPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3739,77 +3512,6 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendActivityStreamsView(v voc }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "orderedItems". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "orderedItems". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "orderedItems". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "orderedItems". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "orderedItems". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "orderedItems". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsOrderedItemsProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3832,6 +3534,17 @@ func (this *ActivityStreamsOrderedItemsProperty) AppendTootEmoji(v vocab.TootEmo }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "orderedItems". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsOrderedItemsProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "orderedItems". Invalidates iterators that are traversing // using Prev. @@ -4809,108 +4522,6 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertActivityStreamsView(idx i } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "orderedItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "orderedItems". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "orderedItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "orderedItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "orderedItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property // "orderedItems". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -4945,6 +4556,23 @@ func (this *ActivityStreamsOrderedItemsProperty) InsertTootEmoji(idx int, v voca } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "orderedItems". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -5068,206 +4696,186 @@ func (this ActivityStreamsOrderedItemsProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6069,90 +5677,6 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependActivityStreamsView(v vo } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "orderedItems". Invalidates all iterators. -func (this *ActivityStreamsOrderedItemsProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "orderedItems". func (this *ActivityStreamsOrderedItemsProperty) PrependIRI(v *url.URL) { @@ -6181,6 +5705,20 @@ func (this *ActivityStreamsOrderedItemsProperty) PrependTootEmoji(v vocab.TootEm } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "orderedItems". Invalidates all iterators. +func (this *ActivityStreamsOrderedItemsProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsOrderedItemsPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "orderedItems". Invalidates all iterators. func (this *ActivityStreamsOrderedItemsProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6949,84 +6487,6 @@ func (this *ActivityStreamsOrderedItemsProperty) SetActivityStreamsView(idx int, } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -7052,6 +6512,19 @@ func (this *ActivityStreamsOrderedItemsProperty) SetTootEmoji(idx int, v vocab.T } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOrderedItemsPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "orderedItems". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_origin/gen_pkg.go b/streams/impl/activitystreams/property_origin/gen_pkg.go index 98eba3a..1def6bc 100644 --- a/streams/impl/activitystreams/property_origin/gen_pkg.go +++ b/streams/impl/activitystreams/property_origin/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go index 3d83911..520e848 100644 --- a/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go +++ b/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go @@ -25,10 +25,8 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsOriginPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsOriginPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsOriginPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsOriginPropertyIterator) GetActivityStreamsView() vocab return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsOriginPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsOriginPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsOriginPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsOriginPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsOriginPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsOriginPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsOriginPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsOriginPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsOriginPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetActivityStreamsView(v voca this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsOriginPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsOriginPropertyIterator) SetTootEmoji(v vocab.TootEmoj this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsOriginPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsOriginPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsOriginProperty) AppendActivityStreamsView(v vocab.Act }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "origin". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "origin". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "origin". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "origin". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "origin". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "origin". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsOriginProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsOriginProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "origin". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsOriginProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "origin". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsOriginProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsOriginProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "origin". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "origin". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "origin". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "origin". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "origin". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "origin". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsOriginProperty) InsertTootEmoji(idx int, v vocab.Toot } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "origin". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsOriginProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsOriginProperty) PrependActivityStreamsView(v vocab.Ac } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "origin". Invalidates all iterators. -func (this *ActivityStreamsOriginProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "origin". func (this *ActivityStreamsOriginProperty) PrependIRI(v *url.URL) { @@ -6127,6 +5655,20 @@ func (this *ActivityStreamsOriginProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "origin". Invalidates all iterators. +func (this *ActivityStreamsOriginProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsOriginPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "origin". Invalidates all iterators. func (this *ActivityStreamsOriginProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6895,83 +6437,6 @@ func (this *ActivityStreamsOriginProperty) SetActivityStreamsView(idx int, v voc } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6996,6 +6461,19 @@ func (this *ActivityStreamsOriginProperty) SetTootEmoji(idx int, v vocab.TootEmo } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsOriginPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_preview/gen_pkg.go b/streams/impl/activitystreams/property_preview/gen_pkg.go index 270923d..5c46f01 100644 --- a/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index c1dcd76..28238c3 100644 --- a/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -25,10 +25,8 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsPreviewPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsPreviewPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPreviewPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetActivityStreamsView() voca return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsPreviewPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsPreviewPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetTootEmoji() vocab.TootEmoj return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsPreviewPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsPreviewPropertyIterator) IsActivityStreamsView() bool return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsPreviewPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsPreviewPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsPreviewPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsPreviewPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsPreviewPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetActivityStreamsView(v voc this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsPreviewPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetTootEmoji(v vocab.TootEmo this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsPreviewPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsPreviewPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3703,74 +3476,6 @@ func (this *ActivityStreamsPreviewProperty) AppendActivityStreamsView(v vocab.Ac }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "preview". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "preview". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "preview". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsPreviewProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: this.Len(), - parent: this, - }) -} - // AppendIRI appends an IRI value to the back of a list of the property "preview" func (this *ActivityStreamsPreviewProperty) AppendIRI(v *url.URL) { this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ @@ -3792,6 +3497,17 @@ func (this *ActivityStreamsPreviewProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "preview". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsPreviewProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "preview". Invalidates iterators that are traversing using // Prev. @@ -4767,108 +4483,6 @@ func (this *ActivityStreamsPreviewProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch value at the specified index for a -// property "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "preview". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "preview". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "preview". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "preview". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "preview". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4903,6 +4517,23 @@ func (this *ActivityStreamsPreviewProperty) InsertTootEmoji(idx int, v vocab.Too } } +// InsertTootHashtag inserts a Hashtag value at the specified index for a property +// "preview". Existing elements at that index and higher are shifted back +// once. Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "preview". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5026,206 +4657,186 @@ func (this ActivityStreamsPreviewProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6026,90 +5637,6 @@ func (this *ActivityStreamsPreviewProperty) PrependActivityStreamsView(v vocab.A } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "preview". Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "preview". func (this *ActivityStreamsPreviewProperty) PrependIRI(v *url.URL) { @@ -6138,6 +5665,20 @@ func (this *ActivityStreamsPreviewProperty) PrependTootEmoji(v vocab.TootEmoji) } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "preview". Invalidates all iterators. +func (this *ActivityStreamsPreviewProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsPreviewPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "preview". Invalidates all iterators. func (this *ActivityStreamsPreviewProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6906,83 +6447,6 @@ func (this *ActivityStreamsPreviewProperty) SetActivityStreamsView(idx int, v vo } } -// SetForgeFedBranch sets a Branch value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push value to be at the specified index for the property -// "preview". Panics if the index is out of bounds. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository value to be at the specified index for -// the property "preview". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket value to be at the specified index for the -// property "preview". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency value to be at the -// specified index for the property "preview". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ActivityStreamsPreviewProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } -} - // SetIRI sets an IRI value to be at the specified index for the property // "preview". Panics if the index is out of bounds. func (this *ActivityStreamsPreviewProperty) SetIRI(idx int, v *url.URL) { @@ -7007,6 +6471,19 @@ func (this *ActivityStreamsPreviewProperty) SetTootEmoji(idx int, v vocab.TootEm } } +// SetTootHashtag sets a Hashtag value to be at the specified index for the +// property "preview". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsPreviewProperty) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsPreviewPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_relationship/gen_pkg.go b/streams/impl/activitystreams/property_relationship/gen_pkg.go index 4c63d8d..25d7ee0 100644 --- a/streams/impl/activitystreams/property_relationship/gen_pkg.go +++ b/streams/impl/activitystreams/property_relationship/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -177,9 +172,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -200,10 +192,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -216,14 +204,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go index 5dc71e7..2469b65 100644 --- a/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go +++ b/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go @@ -24,10 +24,8 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -37,6 +35,7 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -56,18 +55,14 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -167,12 +162,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsCollectionMember: v, @@ -185,12 +174,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsCreateMember: v, @@ -245,6 +228,12 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsRelationshipPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ alias: alias, @@ -359,12 +348,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsQuestionMember: v, @@ -395,12 +378,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsServiceMember: v, @@ -419,18 +396,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsRelationshipPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsRelationshipPropertyIterator{ activitystreamsTombstoneMember: v, @@ -840,44 +805,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetActivityStreamsView() return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsRelationshipPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsRelationshipPropertyIterator) GetIRI() *url.URL { @@ -890,6 +817,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetTootEmoji() vocab.Too return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsRelationshipPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -930,18 +863,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -969,6 +896,9 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1026,9 +956,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1044,9 +971,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1056,12 +980,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1096,10 +1014,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1109,6 +1025,7 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1128,18 +1045,14 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1518,48 +1431,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsActivityStreamsView() return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsRelationshipPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsRelationshipPropertyIterator) IsIRI() bool { @@ -1572,6 +1443,13 @@ func (this ActivityStreamsRelationshipPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsRelationshipPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1605,14 +1483,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1631,6 +1505,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1669,8 +1545,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1681,18 +1555,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1751,155 +1619,140 @@ func (this ActivityStreamsRelationshipPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 9 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 10 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 11 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 12 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 13 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 14 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 15 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 16 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 17 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 18 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 19 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 20 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 21 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 22 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 23 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 24 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 25 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 26 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 27 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 28 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 29 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 30 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMove() { return 31 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 32 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 33 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 34 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 35 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 36 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 37 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 38 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 39 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 40 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 41 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 42 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 43 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 44 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 45 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 46 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 47 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 48 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 49 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 50 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 51 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 52 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 53 } - if this.IsActivityStreamsTombstone() { - return 54 - } - if this.IsActivityStreamsTravel() { - return 55 - } - if this.IsActivityStreamsUndo() { - return 56 - } - if this.IsActivityStreamsUpdate() { - return 57 - } - if this.IsActivityStreamsVideo() { - return 58 - } if this.IsActivityStreamsView() { - return 59 + return 54 } if this.IsIRI() { return -2 @@ -1938,14 +1791,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -1964,6 +1813,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2002,8 +1853,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2014,18 +1863,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2435,48 +2278,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetActivityStreamsView( this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsRelationshipPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2490,6 +2291,13 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetTootEmoji(v vocab.To this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsRelationshipPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsRelationshipPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2540,10 +2348,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2552,10 +2356,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2592,6 +2392,10 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2668,10 +2472,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2692,10 +2492,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2708,14 +2504,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2757,10 +2545,8 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2770,6 +2556,7 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2789,18 +2576,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2836,14 +2619,10 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2862,6 +2641,8 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2900,8 +2681,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2912,18 +2691,12 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3623,77 +3396,6 @@ func (this *ActivityStreamsRelationshipProperty) AppendActivityStreamsView(v voc }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "relationship". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "relationship". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "relationship". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "relationship". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "relationship". Invalidates iterators that are traversing using -// Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "relationship". Invalidates iterators that are -// traversing using Prev. -func (this *ActivityStreamsRelationshipProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -3716,6 +3418,17 @@ func (this *ActivityStreamsRelationshipProperty) AppendTootEmoji(v vocab.TootEmo }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "relationship". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsRelationshipProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "relationship". Invalidates iterators that are traversing // using Prev. @@ -4659,108 +4372,6 @@ func (this *ActivityStreamsRelationshipProperty) InsertActivityStreamsView(idx i } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "relationship". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "relationship". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "relationship". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "relationship". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "relationship". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property // "relationship". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. @@ -4795,6 +4406,23 @@ func (this *ActivityStreamsRelationshipProperty) InsertTootEmoji(idx int, v voca } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "relationship". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. @@ -4914,202 +4542,182 @@ func (this ActivityStreamsRelationshipProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 10 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 12 { + } else if idx1 == 11 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 13 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 14 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 22 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 42 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 44 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 48 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 52 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 53 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -5883,90 +5491,6 @@ func (this *ActivityStreamsRelationshipProperty) PrependActivityStreamsView(v vo } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "relationship". Invalidates all iterators. -func (this *ActivityStreamsRelationshipProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "relationship". func (this *ActivityStreamsRelationshipProperty) PrependIRI(v *url.URL) { @@ -5995,6 +5519,20 @@ func (this *ActivityStreamsRelationshipProperty) PrependTootEmoji(v vocab.TootEm } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "relationship". Invalidates all iterators. +func (this *ActivityStreamsRelationshipProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsRelationshipPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "relationship". Invalidates all iterators. func (this *ActivityStreamsRelationshipProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6737,84 +6275,6 @@ func (this *ActivityStreamsRelationshipProperty) SetActivityStreamsView(idx int, } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6840,6 +6300,19 @@ func (this *ActivityStreamsRelationshipProperty) SetTootEmoji(idx int, v vocab.T } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsRelationshipPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "relationship". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_result/gen_pkg.go b/streams/impl/activitystreams/property_result/gen_pkg.go index b7dcf08..708d80f 100644 --- a/streams/impl/activitystreams/property_result/gen_pkg.go +++ b/streams/impl/activitystreams/property_result/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go index d264413..bbc556f 100644 --- a/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go +++ b/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go @@ -25,10 +25,8 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsResultPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsResultPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsResultPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsResultPropertyIterator) GetActivityStreamsView() vocab return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsResultPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsResultPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsResultPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsResultPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsResultPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsResultPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsResultPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsResultPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsResultPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsResultPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetActivityStreamsView(v voca this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsResultPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsResultPropertyIterator) SetTootEmoji(v vocab.TootEmoj this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsResultPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsResultPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsResultProperty) AppendActivityStreamsView(v vocab.Act }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "result". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "result". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "result". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "result". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "result". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "result". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsResultProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsResultProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "result". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsResultProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "result". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsResultProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsResultProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "result". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsResultProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "result". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsResultProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "result". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsResultProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "result". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsResultProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "result". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsResultProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "result". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsResultProperty) InsertTootEmoji(idx int, v vocab.Toot } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "result". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsResultProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsResultProperty) PrependActivityStreamsView(v vocab.Ac } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "result". Invalidates all iterators. -func (this *ActivityStreamsResultProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsResultPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "result". func (this *ActivityStreamsResultProperty) PrependIRI(v *url.URL) { @@ -6127,6 +5655,20 @@ func (this *ActivityStreamsResultProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "result". Invalidates all iterators. +func (this *ActivityStreamsResultProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsResultPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "result". Invalidates all iterators. func (this *ActivityStreamsResultProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6895,83 +6437,6 @@ func (this *ActivityStreamsResultProperty) SetActivityStreamsView(idx int, v voc } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6996,6 +6461,19 @@ func (this *ActivityStreamsResultProperty) SetTootEmoji(idx int, v vocab.TootEmo } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsResultPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_source/gen_pkg.go b/streams/impl/activitystreams/property_source/gen_pkg.go index 3ed50bc..c680f28 100644 --- a/streams/impl/activitystreams/property_source/gen_pkg.go +++ b/streams/impl/activitystreams/property_source/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go index 35acec7..7f030bc 100644 --- a/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go +++ b/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go @@ -25,10 +25,8 @@ type ActivityStreamsSourceProperty struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsSourceProperty struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsSourceProperty struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsSourceProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ alias: alias, @@ -373,12 +362,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSourceProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSourceProperty{ activitystreamsTombstoneMember: v, @@ -511,10 +476,8 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -524,6 +487,7 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -544,18 +508,14 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -944,44 +904,6 @@ func (this ActivityStreamsSourceProperty) GetActivityStreamsView() vocab.Activit return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsSourceProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSourceProperty) GetIRI() *url.URL { @@ -994,6 +916,12 @@ func (this ActivityStreamsSourceProperty) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsSourceProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -1037,18 +965,12 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1076,6 +998,9 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1136,9 +1061,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1154,9 +1076,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1166,12 +1085,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1207,10 +1120,8 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1220,6 +1131,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1240,18 +1152,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1644,48 +1552,6 @@ func (this ActivityStreamsSourceProperty) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsSourceProperty) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsSourceProperty) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsSourceProperty) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsSourceProperty) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsSourceProperty) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsSourceProperty) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSourceProperty) IsIRI() bool { @@ -1698,6 +1564,13 @@ func (this ActivityStreamsSourceProperty) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsSourceProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1733,14 +1606,10 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1759,6 +1628,8 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1799,8 +1670,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1811,18 +1680,12 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1884,158 +1747,143 @@ func (this ActivityStreamsSourceProperty) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2076,14 +1924,10 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2102,6 +1946,8 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2142,8 +1988,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2154,18 +1998,12 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2220,14 +2058,10 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2246,6 +2080,8 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2286,8 +2122,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2298,18 +2132,12 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -2706,48 +2534,6 @@ func (this *ActivityStreamsSourceProperty) SetActivityStreamsView(v vocab.Activi this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsSourceProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSourceProperty) SetIRI(v *url.URL) { this.Clear() @@ -2761,6 +2547,13 @@ func (this *ActivityStreamsSourceProperty) SetTootEmoji(v vocab.TootEmoji) { this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsSourceProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsSourceProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2815,10 +2608,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2827,10 +2616,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2867,6 +2652,10 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2947,10 +2736,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2971,10 +2756,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2987,14 +2768,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil diff --git a/streams/impl/activitystreams/property_subject/gen_pkg.go b/streams/impl/activitystreams/property_subject/gen_pkg.go index 75cc38e..59261b6 100644 --- a/streams/impl/activitystreams/property_subject/gen_pkg.go +++ b/streams/impl/activitystreams/property_subject/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go index 3d0e02e..8bbf366 100644 --- a/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go +++ b/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go @@ -25,10 +25,8 @@ type ActivityStreamsSubjectProperty struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsSubjectProperty struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsSubjectProperty struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsSubjectProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ alias: alias, @@ -373,12 +362,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsSubjectProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsSubjectProperty{ activitystreamsTombstoneMember: v, @@ -511,10 +476,8 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -524,6 +487,7 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -544,18 +508,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -944,44 +904,6 @@ func (this ActivityStreamsSubjectProperty) GetActivityStreamsView() vocab.Activi return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsSubjectProperty) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsSubjectProperty) GetIRI() *url.URL { @@ -994,6 +916,12 @@ func (this ActivityStreamsSubjectProperty) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsSubjectProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -1037,18 +965,12 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1076,6 +998,9 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1136,9 +1061,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1154,9 +1076,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1166,12 +1085,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1207,10 +1120,8 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1220,6 +1131,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1240,18 +1152,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1644,48 +1552,6 @@ func (this ActivityStreamsSubjectProperty) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsSubjectProperty) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsSubjectProperty) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsSubjectProperty) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsSubjectProperty) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsSubjectProperty) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsSubjectProperty) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsSubjectProperty) IsIRI() bool { @@ -1698,6 +1564,13 @@ func (this ActivityStreamsSubjectProperty) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsSubjectProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1733,14 +1606,10 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1759,6 +1628,8 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1799,8 +1670,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1811,18 +1680,12 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1884,158 +1747,143 @@ func (this ActivityStreamsSubjectProperty) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2076,14 +1924,10 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2102,6 +1946,8 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2142,8 +1988,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2154,18 +1998,12 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2220,14 +2058,10 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2246,6 +2080,8 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2286,8 +2122,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2298,18 +2132,12 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -2706,48 +2534,6 @@ func (this *ActivityStreamsSubjectProperty) SetActivityStreamsView(v vocab.Activ this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsSubjectProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetIRI(v *url.URL) { this.Clear() @@ -2761,6 +2547,13 @@ func (this *ActivityStreamsSubjectProperty) SetTootEmoji(v vocab.TootEmoji) { this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsSubjectProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsSubjectProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2815,10 +2608,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2827,10 +2616,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2867,6 +2652,10 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2947,10 +2736,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2971,10 +2756,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2987,14 +2768,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil diff --git a/streams/impl/activitystreams/property_tag/gen_pkg.go b/streams/impl/activitystreams/property_tag/gen_pkg.go index 1407af2..c56a29b 100644 --- a/streams/impl/activitystreams/property_tag/gen_pkg.go +++ b/streams/impl/activitystreams/property_tag/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go index 2d1472f..74121b5 100644 --- a/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go +++ b/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go @@ -25,10 +25,8 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -174,12 +169,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsCollectionMember: v, @@ -192,12 +181,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsCreateMember: v, @@ -252,6 +235,12 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsTagPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ alias: alias, @@ -372,12 +361,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsQuestionMember: v, @@ -408,12 +391,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsServiceMember: v, @@ -432,18 +409,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTagPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTagPropertyIterator{ activitystreamsTombstoneMember: v, @@ -867,44 +832,6 @@ func (this ActivityStreamsTagPropertyIterator) GetActivityStreamsView() vocab.Ac return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsTagPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTagPropertyIterator) GetIRI() *url.URL { @@ -917,6 +844,12 @@ func (this ActivityStreamsTagPropertyIterator) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsTagPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -960,18 +893,12 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -999,6 +926,9 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1059,9 +989,6 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1077,9 +1004,6 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1089,12 +1013,6 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1130,10 +1048,8 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1143,6 +1059,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1163,18 +1080,14 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1567,48 +1480,6 @@ func (this ActivityStreamsTagPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsTagPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTagPropertyIterator) IsIRI() bool { @@ -1621,6 +1492,13 @@ func (this ActivityStreamsTagPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsTagPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1656,14 +1534,10 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1682,6 +1556,8 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1722,8 +1598,6 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1734,18 +1608,12 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1807,158 +1675,143 @@ func (this ActivityStreamsTagPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -1999,14 +1852,10 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2025,6 +1874,8 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2065,8 +1916,6 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2077,18 +1926,12 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2512,48 +2355,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetActivityStreamsView(v vocab.A this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsTagPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2567,6 +2368,13 @@ func (this *ActivityStreamsTagPropertyIterator) SetTootEmoji(v vocab.TootEmoji) this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsTagPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsTagPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2621,10 +2429,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2633,10 +2437,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2673,6 +2473,10 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2753,10 +2557,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2777,10 +2577,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2793,14 +2589,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2843,10 +2631,8 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2856,6 +2642,7 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2876,18 +2663,14 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2925,14 +2708,10 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2951,6 +2730,8 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2991,8 +2772,6 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3003,18 +2782,12 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3692,73 +3465,6 @@ func (this *ActivityStreamsTagProperty) AppendActivityStreamsView(v vocab.Activi }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "tag". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "tag". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "tag". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "tag". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "tag". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "tag". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsTagProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3780,6 +3486,17 @@ func (this *ActivityStreamsTagProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "tag". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTagProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "tag". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsTagProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4754,108 +4471,6 @@ func (this *ActivityStreamsTagProperty) InsertActivityStreamsView(idx int, v voc } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "tag". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "tag". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "tag". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "tag". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "tag". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsTagProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "tag". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4890,6 +4505,23 @@ func (this *ActivityStreamsTagProperty) InsertTootEmoji(idx int, v vocab.TootEmo } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "tag". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5013,206 +4645,186 @@ func (this ActivityStreamsTagProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6013,90 +5625,6 @@ func (this *ActivityStreamsTagProperty) PrependActivityStreamsView(v vocab.Activ } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "tag". Invalidates all iterators. -func (this *ActivityStreamsTagProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsTagPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "tag". func (this *ActivityStreamsTagProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsTagPropertyIterator{{ @@ -6124,6 +5652,20 @@ func (this *ActivityStreamsTagProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "tag". Invalidates all iterators. +func (this *ActivityStreamsTagProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsTagPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "tag". Invalidates all iterators. func (this *ActivityStreamsTagProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6892,83 +6434,6 @@ func (this *ActivityStreamsTagProperty) SetActivityStreamsView(idx int, v vocab. } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6993,6 +6458,19 @@ func (this *ActivityStreamsTagProperty) SetTootEmoji(idx int, v vocab.TootEmoji) } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTagPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "tag". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/property_target/gen_pkg.go b/streams/impl/activitystreams/property_target/gen_pkg.go index e2404b5..45b71b6 100644 --- a/streams/impl/activitystreams/property_target/gen_pkg.go +++ b/streams/impl/activitystreams/property_target/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go index f5d293a..7c4b913 100644 --- a/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go +++ b/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go @@ -25,10 +25,8 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -175,12 +170,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsCollectionMember: v, @@ -193,12 +182,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsCreateMember: v, @@ -253,6 +236,12 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsTargetPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ alias: alias, @@ -373,12 +362,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsQuestionMember: v, @@ -409,12 +392,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsServiceMember: v, @@ -433,18 +410,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsTargetPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsTargetPropertyIterator{ activitystreamsTombstoneMember: v, @@ -868,44 +833,6 @@ func (this ActivityStreamsTargetPropertyIterator) GetActivityStreamsView() vocab return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsTargetPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsTargetPropertyIterator) GetIRI() *url.URL { @@ -918,6 +845,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetTootEmoji() vocab.TootEmoji return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsTargetPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -961,18 +894,12 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -1000,6 +927,9 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1060,9 +990,6 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1078,9 +1005,6 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1090,12 +1014,6 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1131,10 +1049,8 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1144,6 +1060,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1164,18 +1081,14 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1568,48 +1481,6 @@ func (this ActivityStreamsTargetPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsTargetPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsTargetPropertyIterator) IsIRI() bool { @@ -1622,6 +1493,13 @@ func (this ActivityStreamsTargetPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsTargetPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1657,14 +1535,10 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1683,6 +1557,8 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1723,8 +1599,6 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1735,18 +1609,12 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1808,158 +1676,143 @@ func (this ActivityStreamsTargetPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -2000,14 +1853,10 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2026,6 +1875,8 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2066,8 +1917,6 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2078,18 +1927,12 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2513,48 +2356,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetActivityStreamsView(v voca this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsTargetPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2568,6 +2369,13 @@ func (this *ActivityStreamsTargetPropertyIterator) SetTootEmoji(v vocab.TootEmoj this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsTargetPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsTargetPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2622,10 +2430,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2634,10 +2438,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2674,6 +2474,10 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2754,10 +2558,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2778,10 +2578,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2794,14 +2590,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2844,10 +2632,8 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2857,6 +2643,7 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2877,18 +2664,14 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2926,14 +2709,10 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2952,6 +2731,8 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2992,8 +2773,6 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3004,18 +2783,12 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3694,73 +3467,6 @@ func (this *ActivityStreamsTargetProperty) AppendActivityStreamsView(v vocab.Act }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "target". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "target". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "target". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "target". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "target". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "target". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsTargetProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3782,6 +3488,17 @@ func (this *ActivityStreamsTargetProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "target". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsTargetProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "target". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsTargetProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4756,108 +4473,6 @@ func (this *ActivityStreamsTargetProperty) InsertActivityStreamsView(idx int, v } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "target". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "target". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "target". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "target". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "target". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "target". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4892,6 +4507,23 @@ func (this *ActivityStreamsTargetProperty) InsertTootEmoji(idx int, v vocab.Toot } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "target". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. @@ -5015,206 +4647,186 @@ func (this ActivityStreamsTargetProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6015,90 +5627,6 @@ func (this *ActivityStreamsTargetProperty) PrependActivityStreamsView(v vocab.Ac } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "target". Invalidates all iterators. -func (this *ActivityStreamsTargetProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property // "target". func (this *ActivityStreamsTargetProperty) PrependIRI(v *url.URL) { @@ -6127,6 +5655,20 @@ func (this *ActivityStreamsTargetProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "target". Invalidates all iterators. +func (this *ActivityStreamsTargetProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsTargetPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "target". Invalidates all iterators. func (this *ActivityStreamsTargetProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6895,83 +6437,6 @@ func (this *ActivityStreamsTargetProperty) SetActivityStreamsView(idx int, v voc } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6996,6 +6461,19 @@ func (this *ActivityStreamsTargetProperty) SetTootEmoji(idx int, v vocab.TootEmo } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsTargetPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/impl/activitystreams/property_to/gen_pkg.go b/streams/impl/activitystreams/property_to/gen_pkg.go index c4f9f3b..441286d 100644 --- a/streams/impl/activitystreams/property_to/gen_pkg.go +++ b/streams/impl/activitystreams/property_to/gen_pkg.go @@ -45,10 +45,6 @@ type privateManager interface { // the "ActivityStreamsBlock" non-functional property in the // vocabulary "ActivityStreams" DeserializeBlockActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBlock, error) - // DeserializeBranchForgeFed returns the deserialization method for the - // "ForgeFedBranch" non-functional property in the vocabulary - // "ForgeFed" - DeserializeBranchForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedBranch, error) // DeserializeCollectionActivityStreams returns the deserialization method // for the "ActivityStreamsCollection" non-functional property in the // vocabulary "ActivityStreams" @@ -57,10 +53,6 @@ type privateManager interface { // method for the "ActivityStreamsCollectionPage" non-functional // property in the vocabulary "ActivityStreams" DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeCommitForgeFed returns the deserialization method for the - // "ForgeFedCommit" non-functional property in the vocabulary - // "ForgeFed" - DeserializeCommitForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommit, error) // DeserializeCreateActivityStreams returns the deserialization method for // the "ActivityStreamsCreate" non-functional property in the // vocabulary "ActivityStreams" @@ -96,6 +88,9 @@ type privateManager interface { // the "ActivityStreamsGroup" non-functional property in the // vocabulary "ActivityStreams" DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, error) + // DeserializeHashtagToot returns the deserialization method for the + // "TootHashtag" non-functional property in the vocabulary "Toot" + DeserializeHashtagToot() func(map[string]interface{}, map[string]string) (vocab.TootHashtag, error) // DeserializeIdentityProofToot returns the deserialization method for the // "TootIdentityProof" non-functional property in the vocabulary "Toot" DeserializeIdentityProofToot() func(map[string]interface{}, map[string]string) (vocab.TootIdentityProof, error) @@ -185,9 +180,6 @@ type privateManager interface { // for the "ActivityStreamsProfile" non-functional property in the // vocabulary "ActivityStreams" DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePushForgeFed returns the deserialization method for the - // "ForgeFedPush" non-functional property in the vocabulary "ForgeFed" - DeserializePushForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedPush, error) // DeserializeQuestionActivityStreams returns the deserialization method // for the "ActivityStreamsQuestion" non-functional property in the // vocabulary "ActivityStreams" @@ -208,10 +200,6 @@ type privateManager interface { // the "ActivityStreamsRemove" non-functional property in the // vocabulary "ActivityStreams" DeserializeRemoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRemove, error) - // DeserializeRepositoryForgeFed returns the deserialization method for - // the "ForgeFedRepository" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRepositoryForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRepository, error) // DeserializeServiceActivityStreams returns the deserialization method // for the "ActivityStreamsService" non-functional property in the // vocabulary "ActivityStreams" @@ -224,14 +212,6 @@ type privateManager interface { // method for the "ActivityStreamsTentativeReject" non-functional // property in the vocabulary "ActivityStreams" DeserializeTentativeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeReject, error) - // DeserializeTicketDependencyForgeFed returns the deserialization method - // for the "ForgeFedTicketDependency" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTicketDependencyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketDependency, error) - // DeserializeTicketForgeFed returns the deserialization method for the - // "ForgeFedTicket" non-functional property in the vocabulary - // "ForgeFed" - DeserializeTicketForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicket, error) // DeserializeTombstoneActivityStreams returns the deserialization method // for the "ActivityStreamsTombstone" non-functional property in the // vocabulary "ActivityStreams" diff --git a/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go index b5082a4..bc2a0ba 100644 --- a/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go +++ b/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go @@ -25,10 +25,8 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsArticleMember vocab.ActivityStreamsArticle activitystreamsAudioMember vocab.ActivityStreamsAudio activitystreamsBlockMember vocab.ActivityStreamsBlock - forgefedBranchMember vocab.ForgeFedBranch activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - forgefedCommitMember vocab.ForgeFedCommit activitystreamsCreateMember vocab.ActivityStreamsCreate activitystreamsDeleteMember vocab.ActivityStreamsDelete activitystreamsDislikeMember vocab.ActivityStreamsDislike @@ -38,6 +36,7 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsFlagMember vocab.ActivityStreamsFlag activitystreamsFollowMember vocab.ActivityStreamsFollow activitystreamsGroupMember vocab.ActivityStreamsGroup + tootHashtagMember vocab.TootHashtag tootIdentityProofMember vocab.TootIdentityProof activitystreamsIgnoreMember vocab.ActivityStreamsIgnore activitystreamsImageMember vocab.ActivityStreamsImage @@ -58,18 +57,14 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsPersonMember vocab.ActivityStreamsPerson activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile - forgefedPushMember vocab.ForgeFedPush activitystreamsQuestionMember vocab.ActivityStreamsQuestion activitystreamsReadMember vocab.ActivityStreamsRead activitystreamsRejectMember vocab.ActivityStreamsReject activitystreamsRelationshipMember vocab.ActivityStreamsRelationship activitystreamsRemoveMember vocab.ActivityStreamsRemove - forgefedRepositoryMember vocab.ForgeFedRepository activitystreamsServiceMember vocab.ActivityStreamsService activitystreamsTentativeAcceptMember vocab.ActivityStreamsTentativeAccept activitystreamsTentativeRejectMember vocab.ActivityStreamsTentativeReject - forgefedTicketMember vocab.ForgeFedTicket - forgefedTicketDependencyMember vocab.ForgeFedTicketDependency activitystreamsTombstoneMember vocab.ActivityStreamsTombstone activitystreamsTravelMember vocab.ActivityStreamsTravel activitystreamsUndoMember vocab.ActivityStreamsUndo @@ -174,12 +169,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsCollectionMember: v, @@ -192,12 +181,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsCreateMember: v, @@ -252,6 +235,12 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsToPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ alias: alias, @@ -372,12 +361,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsQuestionMember: v, @@ -408,12 +391,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsServiceMember: v, @@ -432,18 +409,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st alias: alias, } return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ActivityStreamsToPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsToPropertyIterator{ activitystreamsTombstoneMember: v, @@ -867,44 +832,6 @@ func (this ActivityStreamsToPropertyIterator) GetActivityStreamsView() vocab.Act return this.activitystreamsViewMember } -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedBranch() vocab.ForgeFedBranch { - return this.forgefedBranchMember -} - -// GetForgeFedCommit returns the value of this property. When IsForgeFedCommit -// returns false, GetForgeFedCommit will return an arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedCommit() vocab.ForgeFedCommit { - return this.forgefedCommitMember -} - -// GetForgeFedPush returns the value of this property. When IsForgeFedPush returns -// false, GetForgeFedPush will return an arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedPush() vocab.ForgeFedPush { - return this.forgefedPushMember -} - -// GetForgeFedRepository returns the value of this property. When -// IsForgeFedRepository returns false, GetForgeFedRepository will return an -// arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedRepository() vocab.ForgeFedRepository { - return this.forgefedRepositoryMember -} - -// GetForgeFedTicket returns the value of this property. When IsForgeFedTicket -// returns false, GetForgeFedTicket will return an arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedTicket() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetForgeFedTicketDependency returns the value of this property. When -// IsForgeFedTicketDependency returns false, GetForgeFedTicketDependency will -// return an arbitrary value. -func (this ActivityStreamsToPropertyIterator) GetForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return this.forgefedTicketDependencyMember -} - // GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will // return an arbitrary value. func (this ActivityStreamsToPropertyIterator) GetIRI() *url.URL { @@ -917,6 +844,12 @@ func (this ActivityStreamsToPropertyIterator) GetTootEmoji() vocab.TootEmoji { return this.tootEmojiMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsToPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return an // arbitrary value. @@ -960,18 +893,12 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock() } - if this.IsForgeFedBranch() { - return this.GetForgeFedBranch() - } if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection() } if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } - if this.IsForgeFedCommit() { - return this.GetForgeFedCommit() - } if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate() } @@ -999,6 +926,9 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsTootIdentityProof() { return this.GetTootIdentityProof() } @@ -1059,9 +989,6 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1077,9 +1004,6 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove() } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } if this.IsActivityStreamsService() { return this.GetActivityStreamsService() } @@ -1089,12 +1013,6 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject() } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone() } @@ -1130,10 +1048,8 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsArticle() || this.IsActivityStreamsAudio() || this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || this.IsActivityStreamsCreate() || this.IsActivityStreamsDelete() || this.IsActivityStreamsDislike() || @@ -1143,6 +1059,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1163,18 +1080,14 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsPerson() || this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || - this.IsForgeFedPush() || this.IsActivityStreamsQuestion() || this.IsActivityStreamsRead() || this.IsActivityStreamsReject() || this.IsActivityStreamsRelationship() || this.IsActivityStreamsRemove() || - this.IsForgeFedRepository() || this.IsActivityStreamsService() || this.IsActivityStreamsTentativeAccept() || this.IsActivityStreamsTentativeReject() || - this.IsForgeFedTicket() || - this.IsForgeFedTicketDependency() || this.IsActivityStreamsTombstone() || this.IsActivityStreamsTravel() || this.IsActivityStreamsUndo() || @@ -1567,48 +1480,6 @@ func (this ActivityStreamsToPropertyIterator) IsActivityStreamsView() bool { return this.activitystreamsViewMember != nil } -// IsForgeFedBranch returns true if this property has a type of "Branch". When -// true, use the GetForgeFedBranch and SetForgeFedBranch methods to access and -// set this property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedBranch() bool { - return this.forgefedBranchMember != nil -} - -// IsForgeFedCommit returns true if this property has a type of "Commit". When -// true, use the GetForgeFedCommit and SetForgeFedCommit methods to access and -// set this property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedCommit() bool { - return this.forgefedCommitMember != nil -} - -// IsForgeFedPush returns true if this property has a type of "Push". When true, -// use the GetForgeFedPush and SetForgeFedPush methods to access and set this -// property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedPush() bool { - return this.forgefedPushMember != nil -} - -// IsForgeFedRepository returns true if this property has a type of "Repository". -// When true, use the GetForgeFedRepository and SetForgeFedRepository methods -// to access and set this property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedRepository() bool { - return this.forgefedRepositoryMember != nil -} - -// IsForgeFedTicket returns true if this property has a type of "Ticket". When -// true, use the GetForgeFedTicket and SetForgeFedTicket methods to access and -// set this property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsForgeFedTicketDependency returns true if this property has a type of -// "TicketDependency". When true, use the GetForgeFedTicketDependency and -// SetForgeFedTicketDependency methods to access and set this property. -func (this ActivityStreamsToPropertyIterator) IsForgeFedTicketDependency() bool { - return this.forgefedTicketDependencyMember != nil -} - // IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI // to access and set this property func (this ActivityStreamsToPropertyIterator) IsIRI() bool { @@ -1621,6 +1492,13 @@ func (this ActivityStreamsToPropertyIterator) IsTootEmoji() bool { return this.tootEmojiMember != nil } +// IsTootHashtag returns true if this property has a type of "Hashtag". When true, +// use the GetTootHashtag and SetTootHashtag methods to access and set this +// property. +func (this ActivityStreamsToPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -1656,14 +1534,10 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsAudio().JSONLDContext() } else if this.IsActivityStreamsBlock() { child = this.GetActivityStreamsBlock().JSONLDContext() - } else if this.IsForgeFedBranch() { - child = this.GetForgeFedBranch().JSONLDContext() } else if this.IsActivityStreamsCollection() { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsForgeFedCommit() { - child = this.GetForgeFedCommit().JSONLDContext() } else if this.IsActivityStreamsCreate() { child = this.GetActivityStreamsCreate().JSONLDContext() } else if this.IsActivityStreamsDelete() { @@ -1682,6 +1556,8 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsFollow().JSONLDContext() } else if this.IsActivityStreamsGroup() { child = this.GetActivityStreamsGroup().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsTootIdentityProof() { child = this.GetTootIdentityProof().JSONLDContext() } else if this.IsActivityStreamsIgnore() { @@ -1722,8 +1598,6 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsPlace().JSONLDContext() } else if this.IsActivityStreamsProfile() { child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1734,18 +1608,12 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsRelationship().JSONLDContext() } else if this.IsActivityStreamsRemove() { child = this.GetActivityStreamsRemove().JSONLDContext() - } else if this.IsForgeFedRepository() { - child = this.GetForgeFedRepository().JSONLDContext() } else if this.IsActivityStreamsService() { child = this.GetActivityStreamsService().JSONLDContext() } else if this.IsActivityStreamsTentativeAccept() { child = this.GetActivityStreamsTentativeAccept().JSONLDContext() } else if this.IsActivityStreamsTentativeReject() { child = this.GetActivityStreamsTentativeReject().JSONLDContext() - } else if this.IsForgeFedTicket() { - child = this.GetForgeFedTicket().JSONLDContext() - } else if this.IsForgeFedTicketDependency() { - child = this.GetForgeFedTicketDependency().JSONLDContext() } else if this.IsActivityStreamsTombstone() { child = this.GetActivityStreamsTombstone().JSONLDContext() } else if this.IsActivityStreamsTravel() { @@ -1807,158 +1675,143 @@ func (this ActivityStreamsToPropertyIterator) KindIndex() int { if this.IsActivityStreamsBlock() { return 10 } - if this.IsForgeFedBranch() { + if this.IsActivityStreamsCollection() { return 11 } - if this.IsActivityStreamsCollection() { + if this.IsActivityStreamsCollectionPage() { return 12 } - if this.IsActivityStreamsCollectionPage() { + if this.IsActivityStreamsCreate() { return 13 } - if this.IsForgeFedCommit() { + if this.IsActivityStreamsDelete() { return 14 } - if this.IsActivityStreamsCreate() { + if this.IsActivityStreamsDislike() { return 15 } - if this.IsActivityStreamsDelete() { + if this.IsActivityStreamsDocument() { return 16 } - if this.IsActivityStreamsDislike() { + if this.IsTootEmoji() { return 17 } - if this.IsActivityStreamsDocument() { + if this.IsActivityStreamsEvent() { return 18 } - if this.IsTootEmoji() { + if this.IsActivityStreamsFlag() { return 19 } - if this.IsActivityStreamsEvent() { + if this.IsActivityStreamsFollow() { return 20 } - if this.IsActivityStreamsFlag() { + if this.IsActivityStreamsGroup() { return 21 } - if this.IsActivityStreamsFollow() { + if this.IsTootHashtag() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsTootIdentityProof() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsIgnore() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsImage() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsIntransitiveActivity() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsInvite() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsJoin() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLeave() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsLike() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsListen() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsMention() { return 32 } - if this.IsActivityStreamsMention() { + if this.IsActivityStreamsMove() { return 33 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsNote() { return 34 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOffer() { return 35 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollection() { return 36 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrderedCollectionPage() { return 37 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrganization() { return 38 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPage() { return 39 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPerson() { return 40 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsPlace() { return 41 } - if this.IsActivityStreamsPlace() { + if this.IsActivityStreamsProfile() { return 42 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 54 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 55 } - if this.IsActivityStreamsTombstone() { - return 56 - } - if this.IsActivityStreamsTravel() { - return 57 - } - if this.IsActivityStreamsUndo() { - return 58 - } - if this.IsActivityStreamsUpdate() { - return 59 - } - if this.IsActivityStreamsVideo() { - return 60 - } if this.IsActivityStreamsView() { - return 61 + return 56 } if this.IsIRI() { return -2 @@ -1999,14 +1852,10 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsAudio().LessThan(o.GetActivityStreamsAudio()) } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().LessThan(o.GetActivityStreamsBlock()) - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().LessThan(o.GetForgeFedBranch()) } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().LessThan(o.GetForgeFedCommit()) } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().LessThan(o.GetActivityStreamsCreate()) } else if this.IsActivityStreamsDelete() { @@ -2025,6 +1874,8 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) } else if this.IsActivityStreamsIgnore() { @@ -2065,8 +1916,6 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2077,18 +1926,12 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsRelationship().LessThan(o.GetActivityStreamsRelationship()) } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().LessThan(o.GetActivityStreamsRemove()) - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().LessThan(o.GetForgeFedRepository()) } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().LessThan(o.GetActivityStreamsService()) } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().LessThan(o.GetActivityStreamsTentativeAccept()) } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().LessThan(o.GetActivityStreamsTentativeReject()) - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().LessThan(o.GetForgeFedTicket()) - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().LessThan(o.GetForgeFedTicketDependency()) } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().LessThan(o.GetActivityStreamsTombstone()) } else if this.IsActivityStreamsTravel() { @@ -2512,48 +2355,6 @@ func (this *ActivityStreamsToPropertyIterator) SetActivityStreamsView(v vocab.Ac this.activitystreamsViewMember = v } -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ActivityStreamsToPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - // SetIRI sets the value of this property. Calling IsIRI afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetIRI(v *url.URL) { this.clear() @@ -2567,6 +2368,13 @@ func (this *ActivityStreamsToPropertyIterator) SetTootEmoji(v vocab.TootEmoji) { this.tootEmojiMember = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsToPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. func (this *ActivityStreamsToPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { @@ -2621,10 +2429,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsBlock(v) return nil } - if v, ok := t.(vocab.ForgeFedBranch); ok { - this.SetForgeFedBranch(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCollection); ok { this.SetActivityStreamsCollection(v) return nil @@ -2633,10 +2437,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } - if v, ok := t.(vocab.ForgeFedCommit); ok { - this.SetForgeFedCommit(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsCreate); ok { this.SetActivityStreamsCreate(v) return nil @@ -2673,6 +2473,10 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsGroup(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.TootIdentityProof); ok { this.SetTootIdentityProof(v) return nil @@ -2753,10 +2557,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsProfile(v) return nil } - if v, ok := t.(vocab.ForgeFedPush); ok { - this.SetForgeFedPush(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsQuestion); ok { this.SetActivityStreamsQuestion(v) return nil @@ -2777,10 +2577,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsRemove(v) return nil } - if v, ok := t.(vocab.ForgeFedRepository); ok { - this.SetForgeFedRepository(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsService); ok { this.SetActivityStreamsService(v) return nil @@ -2793,14 +2589,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsTentativeReject(v) return nil } - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.SetForgeFedTicket(v) - return nil - } - if v, ok := t.(vocab.ForgeFedTicketDependency); ok { - this.SetForgeFedTicketDependency(v) - return nil - } if v, ok := t.(vocab.ActivityStreamsTombstone); ok { this.SetActivityStreamsTombstone(v) return nil @@ -2843,10 +2631,8 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsArticleMember = nil this.activitystreamsAudioMember = nil this.activitystreamsBlockMember = nil - this.forgefedBranchMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil - this.forgefedCommitMember = nil this.activitystreamsCreateMember = nil this.activitystreamsDeleteMember = nil this.activitystreamsDislikeMember = nil @@ -2856,6 +2642,7 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsFlagMember = nil this.activitystreamsFollowMember = nil this.activitystreamsGroupMember = nil + this.tootHashtagMember = nil this.tootIdentityProofMember = nil this.activitystreamsIgnoreMember = nil this.activitystreamsImageMember = nil @@ -2876,18 +2663,14 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsPersonMember = nil this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil - this.forgefedPushMember = nil this.activitystreamsQuestionMember = nil this.activitystreamsReadMember = nil this.activitystreamsRejectMember = nil this.activitystreamsRelationshipMember = nil this.activitystreamsRemoveMember = nil - this.forgefedRepositoryMember = nil this.activitystreamsServiceMember = nil this.activitystreamsTentativeAcceptMember = nil this.activitystreamsTentativeRejectMember = nil - this.forgefedTicketMember = nil - this.forgefedTicketDependencyMember = nil this.activitystreamsTombstoneMember = nil this.activitystreamsTravelMember = nil this.activitystreamsUndoMember = nil @@ -2925,14 +2708,10 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsAudio().Serialize() } else if this.IsActivityStreamsBlock() { return this.GetActivityStreamsBlock().Serialize() - } else if this.IsForgeFedBranch() { - return this.GetForgeFedBranch().Serialize() } else if this.IsActivityStreamsCollection() { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsForgeFedCommit() { - return this.GetForgeFedCommit().Serialize() } else if this.IsActivityStreamsCreate() { return this.GetActivityStreamsCreate().Serialize() } else if this.IsActivityStreamsDelete() { @@ -2951,6 +2730,8 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsFollow().Serialize() } else if this.IsActivityStreamsGroup() { return this.GetActivityStreamsGroup().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsTootIdentityProof() { return this.GetTootIdentityProof().Serialize() } else if this.IsActivityStreamsIgnore() { @@ -2991,8 +2772,6 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsPlace().Serialize() } else if this.IsActivityStreamsProfile() { return this.GetActivityStreamsProfile().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3003,18 +2782,12 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsRelationship().Serialize() } else if this.IsActivityStreamsRemove() { return this.GetActivityStreamsRemove().Serialize() - } else if this.IsForgeFedRepository() { - return this.GetForgeFedRepository().Serialize() } else if this.IsActivityStreamsService() { return this.GetActivityStreamsService().Serialize() } else if this.IsActivityStreamsTentativeAccept() { return this.GetActivityStreamsTentativeAccept().Serialize() } else if this.IsActivityStreamsTentativeReject() { return this.GetActivityStreamsTentativeReject().Serialize() - } else if this.IsForgeFedTicket() { - return this.GetForgeFedTicket().Serialize() - } else if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency().Serialize() } else if this.IsActivityStreamsTombstone() { return this.GetActivityStreamsTombstone().Serialize() } else if this.IsActivityStreamsTravel() { @@ -3692,73 +3465,6 @@ func (this *ActivityStreamsToProperty) AppendActivityStreamsView(v vocab.Activit }) } -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "to". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "to". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "to". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "to". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "to". Invalidates iterators that are traversing using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "to". Invalidates iterators that are traversing -// using Prev. -func (this *ActivityStreamsToProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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{ @@ -3780,6 +3486,17 @@ func (this *ActivityStreamsToProperty) AppendTootEmoji(v vocab.TootEmoji) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "to". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsToProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsToPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // AppendTootIdentityProof appends a IdentityProof value to the back of a list of // the property "to". Invalidates iterators that are traversing using Prev. func (this *ActivityStreamsToProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { @@ -4754,108 +4471,6 @@ func (this *ActivityStreamsToProperty) InsertActivityStreamsView(idx int, v voca } } -// InsertForgeFedBranch inserts a Branch 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) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedCommit inserts a Commit value at the specified index for a -// property "to". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedPush inserts a Push value at the specified index for a property -// "to". Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedRepository inserts a Repository value at the specified index for -// a property "to". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "to". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedTicketDependency inserts a TicketDependency value at the -// specified index for a property "to". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ActivityStreamsToProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // Insert inserts an IRI value at the specified index for a property "to". // Existing elements at that index and higher are shifted back once. // Invalidates all iterators. @@ -4890,6 +4505,23 @@ func (this *ActivityStreamsToProperty) InsertTootEmoji(idx int, v vocab.TootEmoj } } +// InsertTootHashtag inserts a Hashtag 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) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // InsertTootIdentityProof inserts a IdentityProof value at the specified index // for a property "to". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. @@ -5013,206 +4645,186 @@ func (this ActivityStreamsToProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsBlock() return lhs.LessThan(rhs) } else if idx1 == 11 { - lhs := this.properties[i].GetForgeFedBranch() - rhs := this.properties[j].GetForgeFedBranch() - return lhs.LessThan(rhs) - } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollection() rhs := this.properties[j].GetActivityStreamsCollection() return lhs.LessThan(rhs) - } else if idx1 == 13 { + } else if idx1 == 12 { lhs := this.properties[i].GetActivityStreamsCollectionPage() rhs := this.properties[j].GetActivityStreamsCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 14 { - lhs := this.properties[i].GetForgeFedCommit() - rhs := this.properties[j].GetForgeFedCommit() - return lhs.LessThan(rhs) - } else if idx1 == 15 { + } else if idx1 == 13 { lhs := this.properties[i].GetActivityStreamsCreate() rhs := this.properties[j].GetActivityStreamsCreate() return lhs.LessThan(rhs) - } else if idx1 == 16 { + } else if idx1 == 14 { lhs := this.properties[i].GetActivityStreamsDelete() rhs := this.properties[j].GetActivityStreamsDelete() return lhs.LessThan(rhs) - } else if idx1 == 17 { + } else if idx1 == 15 { lhs := this.properties[i].GetActivityStreamsDislike() rhs := this.properties[j].GetActivityStreamsDislike() return lhs.LessThan(rhs) - } else if idx1 == 18 { + } else if idx1 == 16 { lhs := this.properties[i].GetActivityStreamsDocument() rhs := this.properties[j].GetActivityStreamsDocument() return lhs.LessThan(rhs) - } else if idx1 == 19 { + } else if idx1 == 17 { lhs := this.properties[i].GetTootEmoji() rhs := this.properties[j].GetTootEmoji() return lhs.LessThan(rhs) - } else if idx1 == 20 { + } else if idx1 == 18 { lhs := this.properties[i].GetActivityStreamsEvent() rhs := this.properties[j].GetActivityStreamsEvent() return lhs.LessThan(rhs) - } else if idx1 == 21 { + } else if idx1 == 19 { lhs := this.properties[i].GetActivityStreamsFlag() rhs := this.properties[j].GetActivityStreamsFlag() return lhs.LessThan(rhs) - } else if idx1 == 22 { + } else if idx1 == 20 { lhs := this.properties[i].GetActivityStreamsFollow() rhs := this.properties[j].GetActivityStreamsFollow() return lhs.LessThan(rhs) - } else if idx1 == 23 { + } else if idx1 == 21 { lhs := this.properties[i].GetActivityStreamsGroup() rhs := this.properties[j].GetActivityStreamsGroup() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 23 { lhs := this.properties[i].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 41 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6013,90 +5625,6 @@ func (this *ActivityStreamsToProperty) PrependActivityStreamsView(v vocab.Activi } } -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedCommit prepends a Commit value to the front of a list of the -// property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedPush prepends a Push value to the front of a list of the -// property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedPushMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedRepository prepends a Repository value to the front of a list of -// the property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedTicketDependency prepends a TicketDependency value to the front -// of a list of the property "to". Invalidates all iterators. -func (this *ActivityStreamsToProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ActivityStreamsToPropertyIterator{{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - // PrependIRI prepends an IRI value to the front of a list of the property "to". func (this *ActivityStreamsToProperty) PrependIRI(v *url.URL) { this.properties = append([]*ActivityStreamsToPropertyIterator{{ @@ -6124,6 +5652,20 @@ func (this *ActivityStreamsToProperty) PrependTootEmoji(v vocab.TootEmoji) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "to". Invalidates all iterators. +func (this *ActivityStreamsToProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsToPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependTootIdentityProof prepends a IdentityProof value to the front of a list // of the property "to". Invalidates all iterators. func (this *ActivityStreamsToProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { @@ -6892,83 +6434,6 @@ func (this *ActivityStreamsToProperty) SetActivityStreamsView(idx int, v vocab.A } } -// SetForgeFedBranch sets a Branch 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) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit 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) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push 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) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository 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) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket 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) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency 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) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: 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) { @@ -6993,6 +6458,19 @@ func (this *ActivityStreamsToProperty) SetTootEmoji(idx int, v vocab.TootEmoji) } } +// SetTootHashtag sets a Hashtag 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) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsToPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetTootIdentityProof sets a IdentityProof value to be at the specified index // for the property "to". Panics if the index is out of bounds. Invalidates // all iterators. diff --git a/streams/impl/activitystreams/type_accept/gen_pkg.go b/streams/impl/activitystreams/type_accept/gen_pkg.go index 2068c7d..bfb0da9 100644 --- a/streams/impl/activitystreams/type_accept/gen_pkg.go +++ b/streams/impl/activitystreams/type_accept/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go b/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go index 2c919e6..a1971e1 100644 --- a/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go +++ b/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go @@ -82,10 +82,7 @@ type ActivityStreamsAccept struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -337,26 +334,11 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -451,14 +433,8 @@ func DeserializeAccept(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -708,23 +684,6 @@ func (this ActivityStreamsAccept) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsAccept) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAccept) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAccept) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsAccept) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -794,10 +753,7 @@ func (this ActivityStreamsAccept) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1285,34 +1241,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1327,20 +1255,6 @@ func (this ActivityStreamsAccept) LessThan(o vocab.ActivityStreamsAccept) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1678,22 +1592,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1702,14 +1600,6 @@ func (this ActivityStreamsAccept) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1928,21 +1818,6 @@ func (this *ActivityStreamsAccept) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsAccept) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsAccept) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsAccept) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsAccept) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_activity/gen_pkg.go b/streams/impl/activitystreams/type_activity/gen_pkg.go index 77291a6..ac23b74 100644 --- a/streams/impl/activitystreams/type_activity/gen_pkg.go +++ b/streams/impl/activitystreams/type_activity/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go index 337a5de..3af698c 100644 --- a/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go +++ b/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go @@ -62,10 +62,7 @@ type ActivityStreamsActivity struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -89,7 +86,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", "Push", "Question", "Read", "Reject", "Remove", "TentativeAccept", "TentativeReject", "Travel", "Undo", "Update", "View"} + 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"} for _, ext := range extensions { if ext == other.GetTypeName() { return true @@ -317,26 +314,11 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -431,14 +413,8 @@ func DeserializeActivity(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -688,23 +664,6 @@ func (this ActivityStreamsActivity) GetActivityStreamsUrl() vocab.ActivityStream return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsActivity) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsActivity) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsActivity) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsActivity) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -774,10 +733,7 @@ func (this ActivityStreamsActivity) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1265,34 +1221,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1307,20 +1235,6 @@ func (this ActivityStreamsActivity) LessThan(o vocab.ActivityStreamsActivity) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1658,22 +1572,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1682,14 +1580,6 @@ func (this ActivityStreamsActivity) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1908,21 +1798,6 @@ func (this *ActivityStreamsActivity) SetActivityStreamsUrl(i vocab.ActivityStrea this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsActivity) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsActivity) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsActivity) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsActivity) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_add/gen_pkg.go b/streams/impl/activitystreams/type_add/gen_pkg.go index 1f66953..0911493 100644 --- a/streams/impl/activitystreams/type_add/gen_pkg.go +++ b/streams/impl/activitystreams/type_add/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go b/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go index 770a4c1..60d523c 100644 --- a/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go +++ b/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go @@ -82,10 +82,7 @@ type ActivityStreamsAdd struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -332,26 +329,11 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -446,14 +428,8 @@ func DeserializeAdd(m map[string]interface{}, aliasMap map[string]string) (*Acti continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -703,23 +679,6 @@ func (this ActivityStreamsAdd) GetActivityStreamsUrl() vocab.ActivityStreamsUrlP return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsAdd) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAdd) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAdd) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsAdd) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -789,10 +748,7 @@ func (this ActivityStreamsAdd) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1280,34 +1236,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1322,20 +1250,6 @@ func (this ActivityStreamsAdd) LessThan(o vocab.ActivityStreamsAdd) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1673,22 +1587,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1697,14 +1595,6 @@ func (this ActivityStreamsAdd) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1923,21 +1813,6 @@ func (this *ActivityStreamsAdd) SetActivityStreamsUrl(i vocab.ActivityStreamsUrl this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsAdd) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsAdd) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsAdd) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsAdd) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_announce/gen_pkg.go b/streams/impl/activitystreams/type_announce/gen_pkg.go index 626354e..29b335c 100644 --- a/streams/impl/activitystreams/type_announce/gen_pkg.go +++ b/streams/impl/activitystreams/type_announce/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go b/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go index 761e3ef..9a881ce 100644 --- a/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go +++ b/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go @@ -64,10 +64,7 @@ type ActivityStreamsAnnounce struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -314,26 +311,11 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -428,14 +410,8 @@ func DeserializeAnnounce(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -685,23 +661,6 @@ func (this ActivityStreamsAnnounce) GetActivityStreamsUrl() vocab.ActivityStream return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsAnnounce) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAnnounce) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAnnounce) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsAnnounce) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -771,10 +730,7 @@ func (this ActivityStreamsAnnounce) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1262,34 +1218,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1304,20 +1232,6 @@ func (this ActivityStreamsAnnounce) LessThan(o vocab.ActivityStreamsAnnounce) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1655,22 +1569,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1679,14 +1577,6 @@ func (this ActivityStreamsAnnounce) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1905,21 +1795,6 @@ func (this *ActivityStreamsAnnounce) SetActivityStreamsUrl(i vocab.ActivityStrea this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsAnnounce) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsAnnounce) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsAnnounce) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsAnnounce) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_application/gen_pkg.go b/streams/impl/activitystreams/type_application/gen_pkg.go index 05764bc..6598b6f 100644 --- a/streams/impl/activitystreams/type_application/gen_pkg.go +++ b/streams/impl/activitystreams/type_application/gen_pkg.go @@ -174,22 +174,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go index ba85000..5cefb52 100644 --- a/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go +++ b/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go @@ -56,10 +56,7 @@ type ActivityStreamsApplication struct { ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -336,26 +333,11 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -464,14 +446,8 @@ func DeserializeApplication(m map[string]interface{}, aliasMap map[string]string continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -739,23 +715,6 @@ func (this ActivityStreamsApplication) GetActivityStreamsUrl() vocab.ActivityStr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsApplication) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsApplication) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsApplication) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsApplication) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -848,10 +807,7 @@ func (this ActivityStreamsApplication) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStreams, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1423,34 +1379,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1465,20 +1393,6 @@ func (this ActivityStreamsApplication) LessThan(o vocab.ActivityStreamsApplicati // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1864,22 +1778,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1888,14 +1786,6 @@ func (this ActivityStreamsApplication) Serialize() (map[string]interface{}, erro m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2130,21 +2020,6 @@ func (this *ActivityStreamsApplication) SetActivityStreamsUrl(i vocab.ActivitySt this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsApplication) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsApplication) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsApplication) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsApplication) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_arrive/gen_pkg.go b/streams/impl/activitystreams/type_arrive/gen_pkg.go index 3ed9d13..8ac8c40 100644 --- a/streams/impl/activitystreams/type_arrive/gen_pkg.go +++ b/streams/impl/activitystreams/type_arrive/gen_pkg.go @@ -144,22 +144,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go b/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go index 0e09740..ec82b0c 100644 --- a/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go +++ b/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go @@ -63,10 +63,7 @@ type ActivityStreamsArrive struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -308,26 +305,11 @@ func DeserializeArrive(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -420,14 +402,8 @@ func DeserializeArrive(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -671,23 +647,6 @@ func (this ActivityStreamsArrive) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsArrive) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsArrive) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsArrive) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsArrive) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -756,10 +715,7 @@ func (this ActivityStreamsArrive) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1233,34 +1189,6 @@ func (this ActivityStreamsArrive) LessThan(o vocab.ActivityStreamsArrive) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1275,20 +1203,6 @@ func (this ActivityStreamsArrive) LessThan(o vocab.ActivityStreamsArrive) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1618,22 +1532,6 @@ func (this ActivityStreamsArrive) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1642,14 +1540,6 @@ func (this ActivityStreamsArrive) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1863,21 +1753,6 @@ func (this *ActivityStreamsArrive) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsArrive) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsArrive) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsArrive) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsArrive) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_article/gen_pkg.go b/streams/impl/activitystreams/type_article/gen_pkg.go index 4c0055c..220bd8d 100644 --- a/streams/impl/activitystreams/type_article/gen_pkg.go +++ b/streams/impl/activitystreams/type_article/gen_pkg.go @@ -128,22 +128,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go b/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go index 158c880..5df663c 100644 --- a/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go +++ b/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go @@ -48,10 +48,7 @@ type ActivityStreamsArticle struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -273,26 +270,11 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -377,14 +359,8 @@ func DeserializeArticle(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -604,23 +580,6 @@ func (this ActivityStreamsArticle) GetActivityStreamsUrl() vocab.ActivityStreams return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsArticle) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsArticle) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsArticle) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsArticle) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -685,10 +644,7 @@ func (this ActivityStreamsArticle) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1106,34 +1062,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1148,20 +1076,6 @@ func (this ActivityStreamsArticle) LessThan(o vocab.ActivityStreamsArticle) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1459,22 +1373,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1483,14 +1381,6 @@ func (this ActivityStreamsArticle) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1684,21 +1574,6 @@ func (this *ActivityStreamsArticle) SetActivityStreamsUrl(i vocab.ActivityStream this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsArticle) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsArticle) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsArticle) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsArticle) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_audio/gen_pkg.go b/streams/impl/activitystreams/type_audio/gen_pkg.go index ece1181..58959dd 100644 --- a/streams/impl/activitystreams/type_audio/gen_pkg.go +++ b/streams/impl/activitystreams/type_audio/gen_pkg.go @@ -132,22 +132,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go index 30a0040..3def4ec 100644 --- a/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go +++ b/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go @@ -51,10 +51,7 @@ type ActivityStreamsAudio struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -281,26 +278,11 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -387,14 +369,8 @@ func DeserializeAudio(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -614,23 +590,6 @@ func (this ActivityStreamsAudio) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsAudio) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAudio) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsAudio) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsAudio) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -701,10 +660,7 @@ func (this ActivityStreamsAudio) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1136,34 +1092,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1178,20 +1106,6 @@ func (this ActivityStreamsAudio) LessThan(o vocab.ActivityStreamsAudio) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1497,22 +1411,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1521,14 +1419,6 @@ func (this ActivityStreamsAudio) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1722,21 +1612,6 @@ func (this *ActivityStreamsAudio) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsAudio) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsAudio) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsAudio) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsAudio) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_block/gen_pkg.go b/streams/impl/activitystreams/type_block/gen_pkg.go index 23e71ec..7798e05 100644 --- a/streams/impl/activitystreams/type_block/gen_pkg.go +++ b/streams/impl/activitystreams/type_block/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go b/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go index 07a7c98..6bd2a9f 100644 --- a/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go +++ b/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go @@ -55,10 +55,7 @@ type ActivityStreamsBlock struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -305,26 +302,11 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -419,14 +401,8 @@ func DeserializeBlock(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -676,23 +652,6 @@ func (this ActivityStreamsBlock) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsBlock) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsBlock) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsBlock) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsBlock) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -762,10 +721,7 @@ func (this ActivityStreamsBlock) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1253,34 +1209,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1295,20 +1223,6 @@ func (this ActivityStreamsBlock) LessThan(o vocab.ActivityStreamsBlock) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1646,22 +1560,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1670,14 +1568,6 @@ func (this ActivityStreamsBlock) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1896,21 +1786,6 @@ func (this *ActivityStreamsBlock) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsBlock) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsBlock) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsBlock) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsBlock) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_collection/gen_pkg.go b/streams/impl/activitystreams/type_collection/gen_pkg.go index 45181d6..e921066 100644 --- a/streams/impl/activitystreams/type_collection/gen_pkg.go +++ b/streams/impl/activitystreams/type_collection/gen_pkg.go @@ -144,14 +144,6 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) // DeserializeToPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsToProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -160,10 +152,6 @@ type privateManager interface { // deserialization method for the "ActivityStreamsTotalItemsProperty" // non-functional property in the vocabulary "ActivityStreams" DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go b/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go index 6482591..c9d2d5b 100644 --- a/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go +++ b/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go @@ -62,11 +62,8 @@ type ActivityStreamsCollection struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -313,16 +310,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string) } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -333,11 +320,6 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string) } else if p != nil { this.ActivityStreamsTotalItems = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -430,16 +412,10 @@ func DeserializeCollection(m map[string]interface{}, aliasMap map[string]string) continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue } else if k == "totalItems" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -689,23 +665,6 @@ func (this ActivityStreamsCollection) GetActivityStreamsUrl() vocab.ActivityStre return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsCollection) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -774,11 +733,8 @@ func (this ActivityStreamsCollection) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1252,34 +1208,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1308,20 +1236,6 @@ func (this ActivityStreamsCollection) LessThan(o vocab.ActivityStreamsCollection // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1651,22 +1565,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1683,14 +1581,6 @@ func (this ActivityStreamsCollection) Serialize() (map[string]interface{}, error m[this.ActivityStreamsTotalItems.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1909,21 +1799,6 @@ func (this *ActivityStreamsCollection) SetActivityStreamsUrl(i vocab.ActivityStr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsCollection) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_collectionpage/gen_pkg.go b/streams/impl/activitystreams/type_collectionpage/gen_pkg.go index 0ac83ca..fbba14b 100644 --- a/streams/impl/activitystreams/type_collectionpage/gen_pkg.go +++ b/streams/impl/activitystreams/type_collectionpage/gen_pkg.go @@ -156,14 +156,6 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) // DeserializeToPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsToProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -172,10 +164,6 @@ type privateManager interface { // deserialization method for the "ActivityStreamsTotalItemsProperty" // non-functional property in the vocabulary "ActivityStreams" DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go b/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go index 126f14a..db73c5e 100644 --- a/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go +++ b/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go @@ -66,11 +66,8 @@ type ActivityStreamsCollectionPage struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -332,16 +329,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -352,11 +339,6 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str } else if p != nil { this.ActivityStreamsTotalItems = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -455,16 +437,10 @@ func DeserializeCollectionPage(m map[string]interface{}, aliasMap map[string]str continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue } else if k == "totalItems" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -732,23 +708,6 @@ func (this ActivityStreamsCollectionPage) GetActivityStreamsUrl() vocab.Activity return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsCollectionPage) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCollectionPage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCollectionPage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -820,11 +779,8 @@ func (this ActivityStreamsCollectionPage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1340,34 +1296,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1396,20 +1324,6 @@ func (this ActivityStreamsCollectionPage) LessThan(o vocab.ActivityStreamsCollec // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1763,22 +1677,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1795,14 +1693,6 @@ func (this ActivityStreamsCollectionPage) Serialize() (map[string]interface{}, e m[this.ActivityStreamsTotalItems.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2036,21 +1926,6 @@ func (this *ActivityStreamsCollectionPage) SetActivityStreamsUrl(i vocab.Activit this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsCollectionPage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsCollectionPage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsCollectionPage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_create/gen_pkg.go b/streams/impl/activitystreams/type_create/gen_pkg.go index 64861bd..79ebd18 100644 --- a/streams/impl/activitystreams/type_create/gen_pkg.go +++ b/streams/impl/activitystreams/type_create/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go b/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go index 05c74e3..572a7e4 100644 --- a/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go +++ b/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go @@ -59,10 +59,7 @@ type ActivityStreamsCreate struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -309,26 +306,11 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -423,14 +405,8 @@ func DeserializeCreate(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -680,23 +656,6 @@ func (this ActivityStreamsCreate) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsCreate) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCreate) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsCreate) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsCreate) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -766,10 +725,7 @@ func (this ActivityStreamsCreate) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1257,34 +1213,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1299,20 +1227,6 @@ func (this ActivityStreamsCreate) LessThan(o vocab.ActivityStreamsCreate) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1650,22 +1564,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1674,14 +1572,6 @@ func (this ActivityStreamsCreate) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1900,21 +1790,6 @@ func (this *ActivityStreamsCreate) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsCreate) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsCreate) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsCreate) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsCreate) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_delete/gen_pkg.go b/streams/impl/activitystreams/type_delete/gen_pkg.go index 59f8c6e..94c2f22 100644 --- a/streams/impl/activitystreams/type_delete/gen_pkg.go +++ b/streams/impl/activitystreams/type_delete/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go b/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go index 4876994..e55567d 100644 --- a/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go +++ b/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go @@ -60,10 +60,7 @@ type ActivityStreamsDelete struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -310,26 +307,11 @@ func DeserializeDelete(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -424,14 +406,8 @@ func DeserializeDelete(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -681,23 +657,6 @@ func (this ActivityStreamsDelete) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsDelete) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDelete) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDelete) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsDelete) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -767,10 +726,7 @@ func (this ActivityStreamsDelete) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1258,34 +1214,6 @@ func (this ActivityStreamsDelete) LessThan(o vocab.ActivityStreamsDelete) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1300,20 +1228,6 @@ func (this ActivityStreamsDelete) LessThan(o vocab.ActivityStreamsDelete) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1651,22 +1565,6 @@ func (this ActivityStreamsDelete) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1675,14 +1573,6 @@ func (this ActivityStreamsDelete) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1901,21 +1791,6 @@ func (this *ActivityStreamsDelete) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsDelete) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsDelete) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsDelete) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsDelete) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_dislike/gen_pkg.go b/streams/impl/activitystreams/type_dislike/gen_pkg.go index dd34234..b36a515 100644 --- a/streams/impl/activitystreams/type_dislike/gen_pkg.go +++ b/streams/impl/activitystreams/type_dislike/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go b/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go index 4ac4abf..07ccc9d 100644 --- a/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go +++ b/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go @@ -52,10 +52,7 @@ type ActivityStreamsDislike struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -282,26 +279,11 @@ func DeserializeDislike(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -396,14 +378,8 @@ func DeserializeDislike(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -673,23 +649,6 @@ func (this ActivityStreamsDislike) GetActivityStreamsUrl() vocab.ActivityStreams return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsDislike) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDislike) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDislike) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsDislike) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -759,10 +718,7 @@ func (this ActivityStreamsDislike) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1250,34 +1206,6 @@ func (this ActivityStreamsDislike) LessThan(o vocab.ActivityStreamsDislike) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1292,20 +1220,6 @@ func (this ActivityStreamsDislike) LessThan(o vocab.ActivityStreamsDislike) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1643,22 +1557,6 @@ func (this ActivityStreamsDislike) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1667,14 +1565,6 @@ func (this ActivityStreamsDislike) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1893,21 +1783,6 @@ func (this *ActivityStreamsDislike) SetActivityStreamsUrl(i vocab.ActivityStream this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsDislike) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsDislike) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsDislike) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsDislike) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_document/gen_pkg.go b/streams/impl/activitystreams/type_document/gen_pkg.go index a649777..934146c 100644 --- a/streams/impl/activitystreams/type_document/gen_pkg.go +++ b/streams/impl/activitystreams/type_document/gen_pkg.go @@ -132,22 +132,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go index 093f639..e85b4b4 100644 --- a/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go +++ b/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go @@ -47,10 +47,7 @@ type ActivityStreamsDocument struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -257,26 +254,11 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -363,14 +345,8 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -615,23 +591,6 @@ func (this ActivityStreamsDocument) GetActivityStreamsUrl() vocab.ActivityStream return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsDocument) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDocument) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsDocument) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsDocument) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -702,10 +661,7 @@ func (this ActivityStreamsDocument) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1137,34 +1093,6 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1179,20 +1107,6 @@ func (this ActivityStreamsDocument) LessThan(o vocab.ActivityStreamsDocument) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1498,22 +1412,6 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1522,14 +1420,6 @@ func (this ActivityStreamsDocument) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1723,21 +1613,6 @@ func (this *ActivityStreamsDocument) SetActivityStreamsUrl(i vocab.ActivityStrea this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsDocument) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsDocument) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsDocument) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsDocument) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_event/gen_pkg.go b/streams/impl/activitystreams/type_event/gen_pkg.go index 74af2a1..49c8154 100644 --- a/streams/impl/activitystreams/type_event/gen_pkg.go +++ b/streams/impl/activitystreams/type_event/gen_pkg.go @@ -128,22 +128,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go b/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go index 6ebf1de..12f4665 100644 --- a/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go +++ b/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go @@ -47,10 +47,7 @@ type ActivityStreamsEvent struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -252,26 +249,11 @@ func DeserializeEvent(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -356,14 +338,8 @@ func DeserializeEvent(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -603,23 +579,6 @@ func (this ActivityStreamsEvent) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsEvent) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsEvent) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsEvent) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsEvent) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -684,10 +643,7 @@ func (this ActivityStreamsEvent) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1105,34 +1061,6 @@ func (this ActivityStreamsEvent) LessThan(o vocab.ActivityStreamsEvent) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1147,20 +1075,6 @@ func (this ActivityStreamsEvent) LessThan(o vocab.ActivityStreamsEvent) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1458,22 +1372,6 @@ func (this ActivityStreamsEvent) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1482,14 +1380,6 @@ func (this ActivityStreamsEvent) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1683,21 +1573,6 @@ func (this *ActivityStreamsEvent) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsEvent) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsEvent) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsEvent) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsEvent) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_flag/gen_pkg.go b/streams/impl/activitystreams/type_flag/gen_pkg.go index 9099556..1dc1df7 100644 --- a/streams/impl/activitystreams/type_flag/gen_pkg.go +++ b/streams/impl/activitystreams/type_flag/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go b/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go index f979a1f..c8fe428 100644 --- a/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go +++ b/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go @@ -57,10 +57,7 @@ type ActivityStreamsFlag struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -287,26 +284,11 @@ func DeserializeFlag(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -401,14 +383,8 @@ func DeserializeFlag(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -678,23 +654,6 @@ func (this ActivityStreamsFlag) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsFlag) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsFlag) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsFlag) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsFlag) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -764,10 +723,7 @@ func (this ActivityStreamsFlag) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1255,34 +1211,6 @@ func (this ActivityStreamsFlag) LessThan(o vocab.ActivityStreamsFlag) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1297,20 +1225,6 @@ func (this ActivityStreamsFlag) LessThan(o vocab.ActivityStreamsFlag) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1648,22 +1562,6 @@ func (this ActivityStreamsFlag) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1672,14 +1570,6 @@ func (this ActivityStreamsFlag) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1898,21 +1788,6 @@ func (this *ActivityStreamsFlag) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsFlag) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsFlag) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsFlag) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsFlag) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_follow/gen_pkg.go b/streams/impl/activitystreams/type_follow/gen_pkg.go index 17d65c2..c9730e7 100644 --- a/streams/impl/activitystreams/type_follow/gen_pkg.go +++ b/streams/impl/activitystreams/type_follow/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go b/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go index 1cf4b89..ebbfd8b 100644 --- a/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go +++ b/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go @@ -61,10 +61,7 @@ type ActivityStreamsFollow struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -291,26 +288,11 @@ func DeserializeFollow(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -405,14 +387,8 @@ func DeserializeFollow(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -682,23 +658,6 @@ func (this ActivityStreamsFollow) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsFollow) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsFollow) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsFollow) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsFollow) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -768,10 +727,7 @@ func (this ActivityStreamsFollow) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1259,34 +1215,6 @@ func (this ActivityStreamsFollow) LessThan(o vocab.ActivityStreamsFollow) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1301,20 +1229,6 @@ func (this ActivityStreamsFollow) LessThan(o vocab.ActivityStreamsFollow) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1652,22 +1566,6 @@ func (this ActivityStreamsFollow) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1676,14 +1574,6 @@ func (this ActivityStreamsFollow) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1902,21 +1792,6 @@ func (this *ActivityStreamsFollow) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsFollow) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsFollow) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsFollow) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsFollow) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_group/gen_pkg.go b/streams/impl/activitystreams/type_group/gen_pkg.go index 167179c..639f8f5 100644 --- a/streams/impl/activitystreams/type_group/gen_pkg.go +++ b/streams/impl/activitystreams/type_group/gen_pkg.go @@ -174,22 +174,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go index 4951eef..2a7bf8c 100644 --- a/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go +++ b/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go @@ -56,10 +56,7 @@ type ActivityStreamsGroup struct { ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -316,26 +313,11 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -444,14 +426,8 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -739,23 +715,6 @@ func (this ActivityStreamsGroup) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsGroup) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsGroup) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsGroup) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsGroup) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -848,10 +807,7 @@ func (this ActivityStreamsGroup) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStreams, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1423,34 +1379,6 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1465,20 +1393,6 @@ func (this ActivityStreamsGroup) LessThan(o vocab.ActivityStreamsGroup) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1864,22 +1778,6 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1888,14 +1786,6 @@ func (this ActivityStreamsGroup) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2130,21 +2020,6 @@ func (this *ActivityStreamsGroup) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsGroup) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsGroup) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsGroup) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsGroup) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_ignore/gen_pkg.go b/streams/impl/activitystreams/type_ignore/gen_pkg.go index 7b6ab21..7264d5b 100644 --- a/streams/impl/activitystreams/type_ignore/gen_pkg.go +++ b/streams/impl/activitystreams/type_ignore/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go b/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go index 85f24e6..5a07a4f 100644 --- a/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go +++ b/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go @@ -56,10 +56,7 @@ type ActivityStreamsIgnore struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -286,26 +283,11 @@ func DeserializeIgnore(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -400,14 +382,8 @@ func DeserializeIgnore(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -682,23 +658,6 @@ func (this ActivityStreamsIgnore) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsIgnore) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsIgnore) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsIgnore) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsIgnore) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -768,10 +727,7 @@ func (this ActivityStreamsIgnore) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1259,34 +1215,6 @@ func (this ActivityStreamsIgnore) LessThan(o vocab.ActivityStreamsIgnore) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1301,20 +1229,6 @@ func (this ActivityStreamsIgnore) LessThan(o vocab.ActivityStreamsIgnore) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1652,22 +1566,6 @@ func (this ActivityStreamsIgnore) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1676,14 +1574,6 @@ func (this ActivityStreamsIgnore) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1902,21 +1792,6 @@ func (this *ActivityStreamsIgnore) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsIgnore) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsIgnore) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsIgnore) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsIgnore) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_image/gen_pkg.go b/streams/impl/activitystreams/type_image/gen_pkg.go index 2525ee0..af2522a 100644 --- a/streams/impl/activitystreams/type_image/gen_pkg.go +++ b/streams/impl/activitystreams/type_image/gen_pkg.go @@ -136,22 +136,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go index 47b11ea..973aca5 100644 --- a/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go +++ b/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go @@ -59,10 +59,7 @@ type ActivityStreamsImage struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -275,26 +272,11 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -388,14 +370,8 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -649,23 +625,6 @@ func (this ActivityStreamsImage) GetActivityStreamsWidth() vocab.ActivityStreams return this.ActivityStreamsWidth } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsImage) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsImage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsImage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsImage) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -737,10 +696,7 @@ func (this ActivityStreamsImage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1187,34 +1143,6 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1229,20 +1157,6 @@ func (this ActivityStreamsImage) LessThan(o vocab.ActivityStreamsImage) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1570,22 +1484,6 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1594,14 +1492,6 @@ func (this ActivityStreamsImage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1813,21 +1703,6 @@ func (this *ActivityStreamsImage) SetActivityStreamsWidth(i vocab.ActivityStream this.ActivityStreamsWidth = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsImage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsImage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsImage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsImage) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go b/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go index a7614d5..fa34c64 100644 --- a/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go +++ b/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go @@ -144,22 +144,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go b/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go index 1aec4ec..16d7e3b 100644 --- a/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go +++ b/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go @@ -59,10 +59,7 @@ type ActivityStreamsIntransitiveActivity struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -284,26 +281,11 @@ func DeserializeIntransitiveActivity(m map[string]interface{}, aliasMap map[stri } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -396,14 +378,8 @@ func DeserializeIntransitiveActivity(m map[string]interface{}, aliasMap map[stri continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -673,23 +649,6 @@ func (this ActivityStreamsIntransitiveActivity) GetActivityStreamsUrl() vocab.Ac return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsIntransitiveActivity) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsIntransitiveActivity) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsIntransitiveActivity) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsIntransitiveActivity) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -760,10 +719,7 @@ func (this ActivityStreamsIntransitiveActivity) JSONLDContext() map[string]strin m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1237,34 +1193,6 @@ func (this ActivityStreamsIntransitiveActivity) LessThan(o vocab.ActivityStreams // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1279,20 +1207,6 @@ func (this ActivityStreamsIntransitiveActivity) LessThan(o vocab.ActivityStreams // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1622,22 +1536,6 @@ func (this ActivityStreamsIntransitiveActivity) Serialize() (map[string]interfac m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1646,14 +1544,6 @@ func (this ActivityStreamsIntransitiveActivity) Serialize() (map[string]interfac m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1867,21 +1757,6 @@ func (this *ActivityStreamsIntransitiveActivity) SetActivityStreamsUrl(i vocab.A this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsIntransitiveActivity) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsIntransitiveActivity) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsIntransitiveActivity) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsIntransitiveActivity) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_invite/gen_pkg.go b/streams/impl/activitystreams/type_invite/gen_pkg.go index e87d031..a2471ea 100644 --- a/streams/impl/activitystreams/type_invite/gen_pkg.go +++ b/streams/impl/activitystreams/type_invite/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go b/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go index d889247..e6edeb8 100644 --- a/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go +++ b/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go @@ -69,10 +69,7 @@ type ActivityStreamsInvite struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -299,26 +296,11 @@ func DeserializeInvite(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -413,14 +395,8 @@ func DeserializeInvite(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -690,23 +666,6 @@ func (this ActivityStreamsInvite) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsInvite) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsInvite) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsInvite) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsInvite) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -776,10 +735,7 @@ func (this ActivityStreamsInvite) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1267,34 +1223,6 @@ func (this ActivityStreamsInvite) LessThan(o vocab.ActivityStreamsInvite) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1309,20 +1237,6 @@ func (this ActivityStreamsInvite) LessThan(o vocab.ActivityStreamsInvite) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1660,22 +1574,6 @@ func (this ActivityStreamsInvite) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1684,14 +1582,6 @@ func (this ActivityStreamsInvite) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1910,21 +1800,6 @@ func (this *ActivityStreamsInvite) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsInvite) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsInvite) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsInvite) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsInvite) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_join/gen_pkg.go b/streams/impl/activitystreams/type_join/gen_pkg.go index 20b91a5..99375ba 100644 --- a/streams/impl/activitystreams/type_join/gen_pkg.go +++ b/streams/impl/activitystreams/type_join/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go b/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go index 3699bee..dcb965e 100644 --- a/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go +++ b/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go @@ -59,10 +59,7 @@ type ActivityStreamsJoin struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -289,26 +286,11 @@ func DeserializeJoin(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -403,14 +385,8 @@ func DeserializeJoin(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -680,23 +656,6 @@ func (this ActivityStreamsJoin) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsJoin) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsJoin) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsJoin) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsJoin) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -766,10 +725,7 @@ func (this ActivityStreamsJoin) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1257,34 +1213,6 @@ func (this ActivityStreamsJoin) LessThan(o vocab.ActivityStreamsJoin) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1299,20 +1227,6 @@ func (this ActivityStreamsJoin) LessThan(o vocab.ActivityStreamsJoin) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1650,22 +1564,6 @@ func (this ActivityStreamsJoin) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1674,14 +1572,6 @@ func (this ActivityStreamsJoin) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1900,21 +1790,6 @@ func (this *ActivityStreamsJoin) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsJoin) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsJoin) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsJoin) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsJoin) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_leave/gen_pkg.go b/streams/impl/activitystreams/type_leave/gen_pkg.go index 1d646e2..b1fdc4d 100644 --- a/streams/impl/activitystreams/type_leave/gen_pkg.go +++ b/streams/impl/activitystreams/type_leave/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go b/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go index bbcbb93..e50f885 100644 --- a/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go +++ b/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go @@ -73,10 +73,7 @@ type ActivityStreamsLeave struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -303,26 +300,11 @@ func DeserializeLeave(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -417,14 +399,8 @@ func DeserializeLeave(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -694,23 +670,6 @@ func (this ActivityStreamsLeave) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsLeave) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsLeave) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsLeave) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsLeave) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -780,10 +739,7 @@ func (this ActivityStreamsLeave) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1271,34 +1227,6 @@ func (this ActivityStreamsLeave) LessThan(o vocab.ActivityStreamsLeave) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1313,20 +1241,6 @@ func (this ActivityStreamsLeave) LessThan(o vocab.ActivityStreamsLeave) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1664,22 +1578,6 @@ func (this ActivityStreamsLeave) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1688,14 +1586,6 @@ func (this ActivityStreamsLeave) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1914,21 +1804,6 @@ func (this *ActivityStreamsLeave) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsLeave) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsLeave) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsLeave) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsLeave) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_like/gen_pkg.go b/streams/impl/activitystreams/type_like/gen_pkg.go index 2a3a990..226eb7b 100644 --- a/streams/impl/activitystreams/type_like/gen_pkg.go +++ b/streams/impl/activitystreams/type_like/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go b/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go index c78004d..a00c9c2 100644 --- a/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go +++ b/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go @@ -56,10 +56,7 @@ type ActivityStreamsLike struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -286,26 +283,11 @@ func DeserializeLike(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -400,14 +382,8 @@ func DeserializeLike(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -677,23 +653,6 @@ func (this ActivityStreamsLike) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsLike) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsLike) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsLike) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsLike) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -763,10 +722,7 @@ func (this ActivityStreamsLike) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1254,34 +1210,6 @@ func (this ActivityStreamsLike) LessThan(o vocab.ActivityStreamsLike) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1296,20 +1224,6 @@ func (this ActivityStreamsLike) LessThan(o vocab.ActivityStreamsLike) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1647,22 +1561,6 @@ func (this ActivityStreamsLike) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1671,14 +1569,6 @@ func (this ActivityStreamsLike) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1897,21 +1787,6 @@ func (this *ActivityStreamsLike) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsLike) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsLike) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsLike) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsLike) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go index ffb6912..32f5d43 100644 --- a/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go +++ b/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go @@ -199,7 +199,7 @@ func IsOrExtendsLink(other vocab.Type) bool { // LinkIsDisjointWith returns true if the other provided type is disjoint with the // Link type. func LinkIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Branch", "Collection", "CollectionPage", "Commit", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Push", "Question", "Read", "Reject", "Relationship", "Remove", "Repository", "Service", "TentativeAccept", "TentativeReject", "Ticket", "TicketDependency", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "Hashtag", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/streams/impl/activitystreams/type_listen/gen_pkg.go b/streams/impl/activitystreams/type_listen/gen_pkg.go index 567b1cc..93c68c8 100644 --- a/streams/impl/activitystreams/type_listen/gen_pkg.go +++ b/streams/impl/activitystreams/type_listen/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go b/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go index ed69b21..6decc5c 100644 --- a/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go +++ b/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go @@ -55,10 +55,7 @@ type ActivityStreamsListen struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -285,26 +282,11 @@ func DeserializeListen(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -399,14 +381,8 @@ func DeserializeListen(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -676,23 +652,6 @@ func (this ActivityStreamsListen) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsListen) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsListen) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsListen) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsListen) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -762,10 +721,7 @@ func (this ActivityStreamsListen) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1253,34 +1209,6 @@ func (this ActivityStreamsListen) LessThan(o vocab.ActivityStreamsListen) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1295,20 +1223,6 @@ func (this ActivityStreamsListen) LessThan(o vocab.ActivityStreamsListen) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1646,22 +1560,6 @@ func (this ActivityStreamsListen) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1670,14 +1568,6 @@ func (this ActivityStreamsListen) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1896,21 +1786,6 @@ func (this *ActivityStreamsListen) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsListen) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsListen) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsListen) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsListen) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go index 80ff63b..9b5d1fe 100644 --- a/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go +++ b/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go @@ -197,7 +197,7 @@ func IsOrExtendsMention(other vocab.Type) bool { // MentionIsDisjointWith returns true if the other provided type is disjoint with // the Mention type. func MentionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Branch", "Collection", "CollectionPage", "Commit", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Push", "Question", "Read", "Reject", "Relationship", "Remove", "Repository", "Service", "TentativeAccept", "TentativeReject", "Ticket", "TicketDependency", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} + disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "Hashtag", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/streams/impl/activitystreams/type_move/gen_pkg.go b/streams/impl/activitystreams/type_move/gen_pkg.go index 6873913..cfc112d 100644 --- a/streams/impl/activitystreams/type_move/gen_pkg.go +++ b/streams/impl/activitystreams/type_move/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go b/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go index 8072b87..7cf782b 100644 --- a/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go +++ b/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go @@ -64,10 +64,7 @@ type ActivityStreamsMove struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -294,26 +291,11 @@ func DeserializeMove(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -408,14 +390,8 @@ func DeserializeMove(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -685,23 +661,6 @@ func (this ActivityStreamsMove) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsMove) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsMove) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsMove) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsMove) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -771,10 +730,7 @@ func (this ActivityStreamsMove) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1262,34 +1218,6 @@ func (this ActivityStreamsMove) LessThan(o vocab.ActivityStreamsMove) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1304,20 +1232,6 @@ func (this ActivityStreamsMove) LessThan(o vocab.ActivityStreamsMove) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1655,22 +1569,6 @@ func (this ActivityStreamsMove) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1679,14 +1577,6 @@ func (this ActivityStreamsMove) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1905,21 +1795,6 @@ func (this *ActivityStreamsMove) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsMove) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsMove) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsMove) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsMove) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_note/gen_pkg.go b/streams/impl/activitystreams/type_note/gen_pkg.go index 3ccfdd6..f34bb58 100644 --- a/streams/impl/activitystreams/type_note/gen_pkg.go +++ b/streams/impl/activitystreams/type_note/gen_pkg.go @@ -128,22 +128,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go b/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go index 075960d..95e8780 100644 --- a/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go +++ b/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go @@ -47,10 +47,7 @@ type ActivityStreamsNote struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -252,26 +249,11 @@ func DeserializeNote(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -356,14 +338,8 @@ func DeserializeNote(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -603,23 +579,6 @@ func (this ActivityStreamsNote) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsNote) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsNote) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsNote) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsNote) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -684,10 +643,7 @@ func (this ActivityStreamsNote) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1105,34 +1061,6 @@ func (this ActivityStreamsNote) LessThan(o vocab.ActivityStreamsNote) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1147,20 +1075,6 @@ func (this ActivityStreamsNote) LessThan(o vocab.ActivityStreamsNote) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1458,22 +1372,6 @@ func (this ActivityStreamsNote) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1482,14 +1380,6 @@ func (this ActivityStreamsNote) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1683,21 +1573,6 @@ func (this *ActivityStreamsNote) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsNote) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsNote) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsNote) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsNote) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_object/gen_pkg.go b/streams/impl/activitystreams/type_object/gen_pkg.go index da2a6e4..95a1bb9 100644 --- a/streams/impl/activitystreams/type_object/gen_pkg.go +++ b/streams/impl/activitystreams/type_object/gen_pkg.go @@ -128,22 +128,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go index ee08156..543b236 100644 --- a/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go +++ b/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go @@ -49,10 +49,7 @@ type ActivityStreamsObject struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -249,26 +246,11 @@ func DeserializeObject(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -353,14 +335,8 @@ func DeserializeObject(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -412,7 +388,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool { // Object type. Note that it returns false if the types are the same; see the // "IsOrExtendsObject" variant instead. func ObjectIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Branch", "Collection", "CollectionPage", "Commit", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Push", "Question", "Read", "Reject", "Relationship", "Remove", "Repository", "Service", "TentativeAccept", "TentativeReject", "Ticket", "TicketDependency", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} + extensions := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "Hashtag", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true @@ -605,23 +581,6 @@ func (this ActivityStreamsObject) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsObject) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsObject) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsObject) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsObject) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -686,10 +645,7 @@ func (this ActivityStreamsObject) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1107,34 +1063,6 @@ func (this ActivityStreamsObject) LessThan(o vocab.ActivityStreamsObject) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1149,20 +1077,6 @@ func (this ActivityStreamsObject) LessThan(o vocab.ActivityStreamsObject) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1460,22 +1374,6 @@ func (this ActivityStreamsObject) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1484,14 +1382,6 @@ func (this ActivityStreamsObject) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1685,21 +1575,6 @@ func (this *ActivityStreamsObject) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsObject) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsObject) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsObject) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsObject) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_offer/gen_pkg.go b/streams/impl/activitystreams/type_offer/gen_pkg.go index 79fda80..091ff70 100644 --- a/streams/impl/activitystreams/type_offer/gen_pkg.go +++ b/streams/impl/activitystreams/type_offer/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go b/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go index a04977b..47d82c4 100644 --- a/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go +++ b/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go @@ -63,10 +63,7 @@ type ActivityStreamsOffer struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -293,26 +290,11 @@ func DeserializeOffer(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -407,14 +389,8 @@ func DeserializeOffer(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -689,23 +665,6 @@ func (this ActivityStreamsOffer) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsOffer) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOffer) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOffer) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsOffer) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -775,10 +734,7 @@ func (this ActivityStreamsOffer) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1266,34 +1222,6 @@ func (this ActivityStreamsOffer) LessThan(o vocab.ActivityStreamsOffer) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1308,20 +1236,6 @@ func (this ActivityStreamsOffer) LessThan(o vocab.ActivityStreamsOffer) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1659,22 +1573,6 @@ func (this ActivityStreamsOffer) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1683,14 +1581,6 @@ func (this ActivityStreamsOffer) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1909,21 +1799,6 @@ func (this *ActivityStreamsOffer) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsOffer) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsOffer) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsOffer) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsOffer) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go b/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go index 3c51afc..9e4914b 100644 --- a/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go +++ b/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go @@ -56,10 +56,6 @@ type privateManager interface { // method for the "ActivityStreamsDurationProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEarlyItemsPropertyForgeFed returns the deserialization - // method for the "ForgeFedEarlyItemsProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeEarlyItemsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) // DeserializeEndTimePropertyActivityStreams returns the deserialization // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" @@ -149,14 +145,6 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) // DeserializeToPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsToProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -165,10 +153,6 @@ type privateManager interface { // deserialization method for the "ActivityStreamsTotalItemsProperty" // non-functional property in the vocabulary "ActivityStreams" DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go b/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go index ecc738e..4e86eb8 100644 --- a/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go +++ b/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go @@ -39,7 +39,6 @@ type ActivityStreamsOrderedCollection struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsCurrent vocab.ActivityStreamsCurrentProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty - ForgeFedEarlyItems vocab.ForgeFedEarlyItemsProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsFirst vocab.ActivityStreamsFirstProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty @@ -62,11 +61,8 @@ type ActivityStreamsOrderedCollection struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -178,11 +174,6 @@ func DeserializeOrderedCollection(m map[string]interface{}, aliasMap map[string] } else if p != nil { this.ActivityStreamsDuration = p } - if p, err := mgr.DeserializeEarlyItemsPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedEarlyItems = p - } if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -293,16 +284,6 @@ func DeserializeOrderedCollection(m map[string]interface{}, aliasMap map[string] } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -313,11 +294,6 @@ func DeserializeOrderedCollection(m map[string]interface{}, aliasMap map[string] } else if p != nil { this.ActivityStreamsTotalItems = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -362,8 +338,6 @@ func DeserializeOrderedCollection(m map[string]interface{}, aliasMap map[string] continue } else if k == "duration" { continue - } else if k == "earlyItems" { - continue } else if k == "endTime" { continue } else if k == "first" { @@ -412,16 +386,10 @@ func DeserializeOrderedCollection(m map[string]interface{}, aliasMap map[string] continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue } else if k == "totalItems" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -696,29 +664,6 @@ func (this ActivityStreamsOrderedCollection) GetActivityStreamsUrl() vocab.Activ return this.ActivityStreamsUrl } -// GetForgeFedEarlyItems returns the "earlyItems" property if it exists, and nil -// otherwise. -func (this ActivityStreamsOrderedCollection) GetForgeFedEarlyItems() vocab.ForgeFedEarlyItemsProperty { - return this.ForgeFedEarlyItems -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsOrderedCollection) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrderedCollection) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrderedCollection) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsOrderedCollection) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -766,7 +711,6 @@ func (this ActivityStreamsOrderedCollection) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsCurrent, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) - m = this.helperJSONLDContext(this.ForgeFedEarlyItems, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) m = this.helperJSONLDContext(this.ActivityStreamsFirst, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) @@ -789,11 +733,8 @@ func (this ActivityStreamsOrderedCollection) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -959,20 +900,6 @@ func (this ActivityStreamsOrderedCollection) LessThan(o vocab.ActivityStreamsOrd // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "earlyItems" - if lhs, rhs := this.ForgeFedEarlyItems, o.GetForgeFedEarlyItems(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1281,34 +1208,6 @@ func (this ActivityStreamsOrderedCollection) LessThan(o vocab.ActivityStreamsOrd // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1337,20 +1236,6 @@ func (this ActivityStreamsOrderedCollection) LessThan(o vocab.ActivityStreamsOrd // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1504,14 +1389,6 @@ func (this ActivityStreamsOrderedCollection) Serialize() (map[string]interface{} m[this.ActivityStreamsDuration.Name()] = i } } - // Maybe serialize property "earlyItems" - if this.ForgeFedEarlyItems != nil { - if i, err := this.ForgeFedEarlyItems.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedEarlyItems.Name()] = i - } - } // Maybe serialize property "endTime" if this.ActivityStreamsEndTime != nil { if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { @@ -1688,22 +1565,6 @@ func (this ActivityStreamsOrderedCollection) Serialize() (map[string]interface{} m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1720,14 +1581,6 @@ func (this ActivityStreamsOrderedCollection) Serialize() (map[string]interface{} m[this.ActivityStreamsTotalItems.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1946,26 +1799,6 @@ func (this *ActivityStreamsOrderedCollection) SetActivityStreamsUrl(i vocab.Acti this.ActivityStreamsUrl = i } -// SetForgeFedEarlyItems sets the "earlyItems" property. -func (this *ActivityStreamsOrderedCollection) SetForgeFedEarlyItems(i vocab.ForgeFedEarlyItemsProperty) { - this.ForgeFedEarlyItems = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsOrderedCollection) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsOrderedCollection) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsOrderedCollection) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsOrderedCollection) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go b/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go index 1ad7d83..b9f9892 100644 --- a/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go +++ b/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go @@ -56,10 +56,6 @@ type privateManager interface { // method for the "ActivityStreamsDurationProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEarlyItemsPropertyForgeFed returns the deserialization - // method for the "ForgeFedEarlyItemsProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeEarlyItemsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) // DeserializeEndTimePropertyActivityStreams returns the deserialization // method for the "ActivityStreamsEndTimeProperty" non-functional // property in the vocabulary "ActivityStreams" @@ -165,14 +161,6 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, error) // DeserializeToPropertyActivityStreams returns the deserialization method // for the "ActivityStreamsToProperty" non-functional property in the // vocabulary "ActivityStreams" @@ -181,10 +169,6 @@ type privateManager interface { // deserialization method for the "ActivityStreamsTotalItemsProperty" // non-functional property in the vocabulary "ActivityStreams" DeserializeTotalItemsPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTotalItemsProperty, error) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go b/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go index 97c589c..d1a8f43 100644 --- a/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go +++ b/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go @@ -41,7 +41,6 @@ type ActivityStreamsOrderedCollectionPage struct { ActivityStreamsContext vocab.ActivityStreamsContextProperty ActivityStreamsCurrent vocab.ActivityStreamsCurrentProperty ActivityStreamsDuration vocab.ActivityStreamsDurationProperty - ForgeFedEarlyItems vocab.ForgeFedEarlyItemsProperty ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty ActivityStreamsFirst vocab.ActivityStreamsFirstProperty ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty @@ -68,11 +67,8 @@ type ActivityStreamsOrderedCollectionPage struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty ActivityStreamsTotalItems vocab.ActivityStreamsTotalItemsProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -184,11 +180,6 @@ func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[str } else if p != nil { this.ActivityStreamsDuration = p } - if p, err := mgr.DeserializeEarlyItemsPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedEarlyItems = p - } if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -319,16 +310,6 @@ func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[str } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -339,11 +320,6 @@ func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[str } else if p != nil { this.ActivityStreamsTotalItems = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -388,8 +364,6 @@ func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[str continue } else if k == "duration" { continue - } else if k == "earlyItems" { - continue } else if k == "endTime" { continue } else if k == "first" { @@ -446,16 +420,10 @@ func DeserializeOrderedCollectionPage(m map[string]interface{}, aliasMap map[str continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue } else if k == "totalItems" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -750,29 +718,6 @@ func (this ActivityStreamsOrderedCollectionPage) GetActivityStreamsUrl() vocab.A return this.ActivityStreamsUrl } -// GetForgeFedEarlyItems returns the "earlyItems" property if it exists, and nil -// otherwise. -func (this ActivityStreamsOrderedCollectionPage) GetForgeFedEarlyItems() vocab.ForgeFedEarlyItemsProperty { - return this.ForgeFedEarlyItems -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsOrderedCollectionPage) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrderedCollectionPage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrderedCollectionPage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsOrderedCollectionPage) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -821,7 +766,6 @@ func (this ActivityStreamsOrderedCollectionPage) JSONLDContext() map[string]stri m = this.helperJSONLDContext(this.ActivityStreamsContext, m) m = this.helperJSONLDContext(this.ActivityStreamsCurrent, m) m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) - m = this.helperJSONLDContext(this.ForgeFedEarlyItems, m) m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) m = this.helperJSONLDContext(this.ActivityStreamsFirst, m) m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) @@ -848,11 +792,8 @@ func (this ActivityStreamsOrderedCollectionPage) JSONLDContext() map[string]stri m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) m = this.helperJSONLDContext(this.ActivityStreamsTotalItems, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1018,20 +959,6 @@ func (this ActivityStreamsOrderedCollectionPage) LessThan(o vocab.ActivityStream // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "earlyItems" - if lhs, rhs := this.ForgeFedEarlyItems, o.GetForgeFedEarlyItems(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1396,34 +1323,6 @@ func (this ActivityStreamsOrderedCollectionPage) LessThan(o vocab.ActivityStream // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1452,20 +1351,6 @@ func (this ActivityStreamsOrderedCollectionPage) LessThan(o vocab.ActivityStream // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1619,14 +1504,6 @@ func (this ActivityStreamsOrderedCollectionPage) Serialize() (map[string]interfa m[this.ActivityStreamsDuration.Name()] = i } } - // Maybe serialize property "earlyItems" - if this.ForgeFedEarlyItems != nil { - if i, err := this.ForgeFedEarlyItems.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedEarlyItems.Name()] = i - } - } // Maybe serialize property "endTime" if this.ActivityStreamsEndTime != nil { if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { @@ -1835,22 +1712,6 @@ func (this ActivityStreamsOrderedCollectionPage) Serialize() (map[string]interfa m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1867,14 +1728,6 @@ func (this ActivityStreamsOrderedCollectionPage) Serialize() (map[string]interfa m[this.ActivityStreamsTotalItems.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2113,26 +1966,6 @@ func (this *ActivityStreamsOrderedCollectionPage) SetActivityStreamsUrl(i vocab. this.ActivityStreamsUrl = i } -// SetForgeFedEarlyItems sets the "earlyItems" property. -func (this *ActivityStreamsOrderedCollectionPage) SetForgeFedEarlyItems(i vocab.ForgeFedEarlyItemsProperty) { - this.ForgeFedEarlyItems = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsOrderedCollectionPage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsOrderedCollectionPage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsOrderedCollectionPage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsOrderedCollectionPage) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_organization/gen_pkg.go b/streams/impl/activitystreams/type_organization/gen_pkg.go index c2d1aba..98e095c 100644 --- a/streams/impl/activitystreams/type_organization/gen_pkg.go +++ b/streams/impl/activitystreams/type_organization/gen_pkg.go @@ -174,22 +174,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go index c0df553..317e059 100644 --- a/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go +++ b/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go @@ -56,10 +56,7 @@ type ActivityStreamsOrganization struct { ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -316,26 +313,11 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -444,14 +426,8 @@ func DeserializeOrganization(m map[string]interface{}, aliasMap map[string]strin continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -739,23 +715,6 @@ func (this ActivityStreamsOrganization) GetActivityStreamsUrl() vocab.ActivitySt return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsOrganization) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrganization) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsOrganization) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsOrganization) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -848,10 +807,7 @@ func (this ActivityStreamsOrganization) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStreams, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1423,34 +1379,6 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1465,20 +1393,6 @@ func (this ActivityStreamsOrganization) LessThan(o vocab.ActivityStreamsOrganiza // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1864,22 +1778,6 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1888,14 +1786,6 @@ func (this ActivityStreamsOrganization) Serialize() (map[string]interface{}, err m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2130,21 +2020,6 @@ func (this *ActivityStreamsOrganization) SetActivityStreamsUrl(i vocab.ActivityS this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsOrganization) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsOrganization) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsOrganization) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsOrganization) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_page/gen_pkg.go b/streams/impl/activitystreams/type_page/gen_pkg.go index c0941bb..bd5e877 100644 --- a/streams/impl/activitystreams/type_page/gen_pkg.go +++ b/streams/impl/activitystreams/type_page/gen_pkg.go @@ -132,22 +132,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go index 55fdfd5..d9cdfd7 100644 --- a/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go +++ b/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go @@ -47,10 +47,7 @@ type ActivityStreamsPage struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -257,26 +254,11 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -363,14 +345,8 @@ func DeserializePage(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -610,23 +586,6 @@ func (this ActivityStreamsPage) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsPage) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPage) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPage) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsPage) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -697,10 +656,7 @@ func (this ActivityStreamsPage) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1132,34 +1088,6 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1174,20 +1102,6 @@ func (this ActivityStreamsPage) LessThan(o vocab.ActivityStreamsPage) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1493,22 +1407,6 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1517,14 +1415,6 @@ func (this ActivityStreamsPage) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1718,21 +1608,6 @@ func (this *ActivityStreamsPage) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsPage) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsPage) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsPage) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsPage) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_person/gen_pkg.go b/streams/impl/activitystreams/type_person/gen_pkg.go index 44295e2..8f2d439 100644 --- a/streams/impl/activitystreams/type_person/gen_pkg.go +++ b/streams/impl/activitystreams/type_person/gen_pkg.go @@ -174,22 +174,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go index bf51f55..ce8fa21 100644 --- a/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go +++ b/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go @@ -56,10 +56,7 @@ type ActivityStreamsPerson struct { ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -316,26 +313,11 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -444,14 +426,8 @@ func DeserializePerson(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -739,23 +715,6 @@ func (this ActivityStreamsPerson) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsPerson) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPerson) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPerson) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsPerson) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -848,10 +807,7 @@ func (this ActivityStreamsPerson) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStreams, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1423,34 +1379,6 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1465,20 +1393,6 @@ func (this ActivityStreamsPerson) LessThan(o vocab.ActivityStreamsPerson) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1864,22 +1778,6 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1888,14 +1786,6 @@ func (this ActivityStreamsPerson) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2130,21 +2020,6 @@ func (this *ActivityStreamsPerson) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsPerson) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsPerson) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsPerson) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsPerson) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_place/gen_pkg.go b/streams/impl/activitystreams/type_place/gen_pkg.go index d8a52e2..c70626d 100644 --- a/streams/impl/activitystreams/type_place/gen_pkg.go +++ b/streams/impl/activitystreams/type_place/gen_pkg.go @@ -144,22 +144,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go b/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go index 6097eef..eb5e9be 100644 --- a/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go +++ b/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go @@ -60,10 +60,7 @@ type ActivityStreamsPlace struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUnits vocab.ActivityStreamsUnitsProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty @@ -286,26 +283,11 @@ func DeserializePlace(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -403,14 +385,8 @@ func DeserializePlace(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "units" { @@ -682,23 +658,6 @@ func (this ActivityStreamsPlace) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsPlace) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPlace) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsPlace) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsPlace) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -767,10 +726,7 @@ func (this ActivityStreamsPlace) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUnits, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) @@ -1245,34 +1201,6 @@ func (this ActivityStreamsPlace) LessThan(o vocab.ActivityStreamsPlace) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1287,20 +1215,6 @@ func (this ActivityStreamsPlace) LessThan(o vocab.ActivityStreamsPlace) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1644,22 +1558,6 @@ func (this ActivityStreamsPlace) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1668,14 +1566,6 @@ func (this ActivityStreamsPlace) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1902,21 +1792,6 @@ func (this *ActivityStreamsPlace) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsPlace) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsPlace) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsPlace) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsPlace) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_profile/gen_pkg.go b/streams/impl/activitystreams/type_profile/gen_pkg.go index 10d39ec..39e9b36 100644 --- a/streams/impl/activitystreams/type_profile/gen_pkg.go +++ b/streams/impl/activitystreams/type_profile/gen_pkg.go @@ -132,22 +132,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go b/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go index e97304b..a09e2b2 100644 --- a/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go +++ b/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go @@ -52,10 +52,7 @@ type ActivityStreamsProfile struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -262,26 +259,11 @@ func DeserializeProfile(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -368,14 +350,8 @@ func DeserializeProfile(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -621,23 +597,6 @@ func (this ActivityStreamsProfile) GetActivityStreamsUrl() vocab.ActivityStreams return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsProfile) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsProfile) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsProfile) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsProfile) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -703,10 +662,7 @@ func (this ActivityStreamsProfile) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1138,34 +1094,6 @@ func (this ActivityStreamsProfile) LessThan(o vocab.ActivityStreamsProfile) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1180,20 +1108,6 @@ func (this ActivityStreamsProfile) LessThan(o vocab.ActivityStreamsProfile) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1499,22 +1413,6 @@ func (this ActivityStreamsProfile) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1523,14 +1421,6 @@ func (this ActivityStreamsProfile) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1729,21 +1619,6 @@ func (this *ActivityStreamsProfile) SetActivityStreamsUrl(i vocab.ActivityStream this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsProfile) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsProfile) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsProfile) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsProfile) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_question/gen_pkg.go b/streams/impl/activitystreams/type_question/gen_pkg.go index ba6d5c8..8169fa4 100644 --- a/streams/impl/activitystreams/type_question/gen_pkg.go +++ b/streams/impl/activitystreams/type_question/gen_pkg.go @@ -156,22 +156,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go b/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go index ce697f0..001120d 100644 --- a/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go +++ b/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go @@ -74,10 +74,7 @@ type ActivityStreamsQuestion struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -315,26 +312,11 @@ func DeserializeQuestion(m map[string]interface{}, aliasMap map[string]string) ( } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -438,14 +420,8 @@ func DeserializeQuestion(m map[string]interface{}, aliasMap map[string]string) ( continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -729,23 +705,6 @@ func (this ActivityStreamsQuestion) GetActivityStreamsUrl() vocab.ActivityStream return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsQuestion) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsQuestion) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsQuestion) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsQuestion) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -823,10 +782,7 @@ func (this ActivityStreamsQuestion) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1343,34 +1299,6 @@ func (this ActivityStreamsQuestion) LessThan(o vocab.ActivityStreamsQuestion) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1385,20 +1313,6 @@ func (this ActivityStreamsQuestion) LessThan(o vocab.ActivityStreamsQuestion) bo // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1766,22 +1680,6 @@ func (this ActivityStreamsQuestion) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1790,14 +1688,6 @@ func (this ActivityStreamsQuestion) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2034,21 +1924,6 @@ func (this *ActivityStreamsQuestion) SetActivityStreamsUrl(i vocab.ActivityStrea this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsQuestion) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsQuestion) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsQuestion) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsQuestion) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_read/gen_pkg.go b/streams/impl/activitystreams/type_read/gen_pkg.go index d40fcee..08bbf5f 100644 --- a/streams/impl/activitystreams/type_read/gen_pkg.go +++ b/streams/impl/activitystreams/type_read/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go b/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go index 1798c11..2d642c1 100644 --- a/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go +++ b/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go @@ -55,10 +55,7 @@ type ActivityStreamsRead struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -285,26 +282,11 @@ func DeserializeRead(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -399,14 +381,8 @@ func DeserializeRead(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -676,23 +652,6 @@ func (this ActivityStreamsRead) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsRead) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRead) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRead) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsRead) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -762,10 +721,7 @@ func (this ActivityStreamsRead) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1253,34 +1209,6 @@ func (this ActivityStreamsRead) LessThan(o vocab.ActivityStreamsRead) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1295,20 +1223,6 @@ func (this ActivityStreamsRead) LessThan(o vocab.ActivityStreamsRead) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1646,22 +1560,6 @@ func (this ActivityStreamsRead) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1670,14 +1568,6 @@ func (this ActivityStreamsRead) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1896,21 +1786,6 @@ func (this *ActivityStreamsRead) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsRead) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsRead) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsRead) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsRead) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_reject/gen_pkg.go b/streams/impl/activitystreams/type_reject/gen_pkg.go index ac028f0..65a3ffa 100644 --- a/streams/impl/activitystreams/type_reject/gen_pkg.go +++ b/streams/impl/activitystreams/type_reject/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go b/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go index 6e91d0a..6399634 100644 --- a/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go +++ b/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go @@ -63,10 +63,7 @@ type ActivityStreamsReject struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -293,26 +290,11 @@ func DeserializeReject(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -407,14 +389,8 @@ func DeserializeReject(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -689,23 +665,6 @@ func (this ActivityStreamsReject) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsReject) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsReject) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsReject) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsReject) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -775,10 +734,7 @@ func (this ActivityStreamsReject) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1266,34 +1222,6 @@ func (this ActivityStreamsReject) LessThan(o vocab.ActivityStreamsReject) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1308,20 +1236,6 @@ func (this ActivityStreamsReject) LessThan(o vocab.ActivityStreamsReject) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1659,22 +1573,6 @@ func (this ActivityStreamsReject) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1683,14 +1581,6 @@ func (this ActivityStreamsReject) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1909,21 +1799,6 @@ func (this *ActivityStreamsReject) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsReject) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsReject) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsReject) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsReject) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_relationship/gen_pkg.go b/streams/impl/activitystreams/type_relationship/gen_pkg.go index de79ecc..98cf129 100644 --- a/streams/impl/activitystreams/type_relationship/gen_pkg.go +++ b/streams/impl/activitystreams/type_relationship/gen_pkg.go @@ -137,22 +137,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go b/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go index b706967..9c5ee0e 100644 --- a/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go +++ b/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go @@ -58,10 +58,7 @@ type ActivityStreamsRelationship struct { ActivityStreamsSubject vocab.ActivityStreamsSubjectProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -273,26 +270,11 @@ func DeserializeRelationship(m map[string]interface{}, aliasMap map[string]strin } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -381,14 +363,8 @@ func DeserializeRelationship(m map[string]interface{}, aliasMap map[string]strin continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -440,12 +416,7 @@ func RelationshipIsDisjointWith(other vocab.Type) bool { // the Relationship type. Note that it returns false if the types are the // same; see the "IsOrExtendsRelationship" variant instead. func RelationshipIsExtendedBy(other vocab.Type) bool { - extensions := []string{"TicketDependency"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } + // Shortcut implementation: is not extended by anything. return false } @@ -645,23 +616,6 @@ func (this ActivityStreamsRelationship) GetActivityStreamsUrl() vocab.ActivitySt return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsRelationship) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRelationship) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRelationship) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsRelationship) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -728,10 +682,7 @@ func (this ActivityStreamsRelationship) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSubject, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1177,34 +1128,6 @@ func (this ActivityStreamsRelationship) LessThan(o vocab.ActivityStreamsRelation // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1219,20 +1142,6 @@ func (this ActivityStreamsRelationship) LessThan(o vocab.ActivityStreamsRelation // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1546,22 +1455,6 @@ func (this ActivityStreamsRelationship) Serialize() (map[string]interface{}, err m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1570,14 +1463,6 @@ func (this ActivityStreamsRelationship) Serialize() (map[string]interface{}, err m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1781,21 +1666,6 @@ func (this *ActivityStreamsRelationship) SetActivityStreamsUrl(i vocab.ActivityS this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsRelationship) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsRelationship) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsRelationship) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsRelationship) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_remove/gen_pkg.go b/streams/impl/activitystreams/type_remove/gen_pkg.go index db9bfc6..5d8e1ad 100644 --- a/streams/impl/activitystreams/type_remove/gen_pkg.go +++ b/streams/impl/activitystreams/type_remove/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go b/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go index cb97333..4adba35 100644 --- a/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go +++ b/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go @@ -78,10 +78,7 @@ type ActivityStreamsRemove struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -308,26 +305,11 @@ func DeserializeRemove(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -422,14 +404,8 @@ func DeserializeRemove(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -699,23 +675,6 @@ func (this ActivityStreamsRemove) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsRemove) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRemove) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsRemove) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsRemove) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -785,10 +744,7 @@ func (this ActivityStreamsRemove) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1276,34 +1232,6 @@ func (this ActivityStreamsRemove) LessThan(o vocab.ActivityStreamsRemove) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1318,20 +1246,6 @@ func (this ActivityStreamsRemove) LessThan(o vocab.ActivityStreamsRemove) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1669,22 +1583,6 @@ func (this ActivityStreamsRemove) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1693,14 +1591,6 @@ func (this ActivityStreamsRemove) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1919,21 +1809,6 @@ func (this *ActivityStreamsRemove) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsRemove) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsRemove) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsRemove) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsRemove) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_service/gen_pkg.go b/streams/impl/activitystreams/type_service/gen_pkg.go index 1e9d564..856217a 100644 --- a/streams/impl/activitystreams/type_service/gen_pkg.go +++ b/streams/impl/activitystreams/type_service/gen_pkg.go @@ -174,22 +174,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go index cc9382e..e89fd5f 100644 --- a/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go +++ b/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go @@ -56,10 +56,7 @@ type ActivityStreamsService struct { ActivityStreamsStreams vocab.ActivityStreamsStreamsProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -316,26 +313,11 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -444,14 +426,8 @@ func DeserializeService(m map[string]interface{}, aliasMap map[string]string) (* continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -739,23 +715,6 @@ func (this ActivityStreamsService) GetActivityStreamsUrl() vocab.ActivityStreams return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsService) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsService) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsService) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsService) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -848,10 +807,7 @@ func (this ActivityStreamsService) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStreams, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1423,34 +1379,6 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1465,20 +1393,6 @@ func (this ActivityStreamsService) LessThan(o vocab.ActivityStreamsService) bool // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1864,22 +1778,6 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1888,14 +1786,6 @@ func (this ActivityStreamsService) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -2130,21 +2020,6 @@ func (this *ActivityStreamsService) SetActivityStreamsUrl(i vocab.ActivityStream this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsService) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsService) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsService) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsService) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go b/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go index 546e28c..5998c9b 100644 --- a/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go +++ b/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go b/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go index 8836a40..a2c09b3 100644 --- a/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go +++ b/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go @@ -62,10 +62,7 @@ type ActivityStreamsTentativeAccept struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -292,26 +289,11 @@ func DeserializeTentativeAccept(m map[string]interface{}, aliasMap map[string]st } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -406,14 +388,8 @@ func DeserializeTentativeAccept(m map[string]interface{}, aliasMap map[string]st continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -683,23 +659,6 @@ func (this ActivityStreamsTentativeAccept) GetActivityStreamsUrl() vocab.Activit return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsTentativeAccept) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTentativeAccept) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTentativeAccept) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsTentativeAccept) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -770,10 +729,7 @@ func (this ActivityStreamsTentativeAccept) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1261,34 +1217,6 @@ func (this ActivityStreamsTentativeAccept) LessThan(o vocab.ActivityStreamsTenta // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1303,20 +1231,6 @@ func (this ActivityStreamsTentativeAccept) LessThan(o vocab.ActivityStreamsTenta // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1654,22 +1568,6 @@ func (this ActivityStreamsTentativeAccept) Serialize() (map[string]interface{}, m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1678,14 +1576,6 @@ func (this ActivityStreamsTentativeAccept) Serialize() (map[string]interface{}, m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1904,21 +1794,6 @@ func (this *ActivityStreamsTentativeAccept) SetActivityStreamsUrl(i vocab.Activi this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsTentativeAccept) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsTentativeAccept) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsTentativeAccept) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsTentativeAccept) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_tentativereject/gen_pkg.go b/streams/impl/activitystreams/type_tentativereject/gen_pkg.go index 4a194a7..c72470a 100644 --- a/streams/impl/activitystreams/type_tentativereject/gen_pkg.go +++ b/streams/impl/activitystreams/type_tentativereject/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go b/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go index a1abc0b..023d8d5 100644 --- a/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go +++ b/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go @@ -62,10 +62,7 @@ type ActivityStreamsTentativeReject struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -292,26 +289,11 @@ func DeserializeTentativeReject(m map[string]interface{}, aliasMap map[string]st } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -406,14 +388,8 @@ func DeserializeTentativeReject(m map[string]interface{}, aliasMap map[string]st continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -683,23 +659,6 @@ func (this ActivityStreamsTentativeReject) GetActivityStreamsUrl() vocab.Activit return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsTentativeReject) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTentativeReject) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTentativeReject) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsTentativeReject) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -770,10 +729,7 @@ func (this ActivityStreamsTentativeReject) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1261,34 +1217,6 @@ func (this ActivityStreamsTentativeReject) LessThan(o vocab.ActivityStreamsTenta // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1303,20 +1231,6 @@ func (this ActivityStreamsTentativeReject) LessThan(o vocab.ActivityStreamsTenta // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1654,22 +1568,6 @@ func (this ActivityStreamsTentativeReject) Serialize() (map[string]interface{}, m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1678,14 +1576,6 @@ func (this ActivityStreamsTentativeReject) Serialize() (map[string]interface{}, m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1904,21 +1794,6 @@ func (this *ActivityStreamsTentativeReject) SetActivityStreamsUrl(i vocab.Activi this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsTentativeReject) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsTentativeReject) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsTentativeReject) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsTentativeReject) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_tombstone/gen_pkg.go b/streams/impl/activitystreams/type_tombstone/gen_pkg.go index 1b0eb53..3c6f606 100644 --- a/streams/impl/activitystreams/type_tombstone/gen_pkg.go +++ b/streams/impl/activitystreams/type_tombstone/gen_pkg.go @@ -136,22 +136,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go b/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go index c561b4b..353dc52 100644 --- a/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go +++ b/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go @@ -66,10 +66,7 @@ type ActivityStreamsTombstone struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -281,26 +278,11 @@ func DeserializeTombstone(m map[string]interface{}, aliasMap map[string]string) } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -389,14 +371,8 @@ func DeserializeTombstone(m map[string]interface{}, aliasMap map[string]string) continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -648,23 +624,6 @@ func (this ActivityStreamsTombstone) GetActivityStreamsUrl() vocab.ActivityStrea return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsTombstone) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTombstone) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTombstone) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsTombstone) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -731,10 +690,7 @@ func (this ActivityStreamsTombstone) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1180,34 +1136,6 @@ func (this ActivityStreamsTombstone) LessThan(o vocab.ActivityStreamsTombstone) // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1222,20 +1150,6 @@ func (this ActivityStreamsTombstone) LessThan(o vocab.ActivityStreamsTombstone) // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1549,22 +1463,6 @@ func (this ActivityStreamsTombstone) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1573,14 +1471,6 @@ func (this ActivityStreamsTombstone) Serialize() (map[string]interface{}, error) m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1784,21 +1674,6 @@ func (this *ActivityStreamsTombstone) SetActivityStreamsUrl(i vocab.ActivityStre this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsTombstone) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsTombstone) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsTombstone) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsTombstone) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_travel/gen_pkg.go b/streams/impl/activitystreams/type_travel/gen_pkg.go index cae76f2..e9750b2 100644 --- a/streams/impl/activitystreams/type_travel/gen_pkg.go +++ b/streams/impl/activitystreams/type_travel/gen_pkg.go @@ -144,22 +144,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go b/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go index 691cb3e..6de7f5c 100644 --- a/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go +++ b/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go @@ -63,10 +63,7 @@ type ActivityStreamsTravel struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -288,26 +285,11 @@ func DeserializeTravel(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -400,14 +382,8 @@ func DeserializeTravel(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -671,23 +647,6 @@ func (this ActivityStreamsTravel) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsTravel) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTravel) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsTravel) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsTravel) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -756,10 +715,7 @@ func (this ActivityStreamsTravel) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1233,34 +1189,6 @@ func (this ActivityStreamsTravel) LessThan(o vocab.ActivityStreamsTravel) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1275,20 +1203,6 @@ func (this ActivityStreamsTravel) LessThan(o vocab.ActivityStreamsTravel) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1618,22 +1532,6 @@ func (this ActivityStreamsTravel) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1642,14 +1540,6 @@ func (this ActivityStreamsTravel) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1863,21 +1753,6 @@ func (this *ActivityStreamsTravel) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsTravel) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsTravel) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsTravel) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsTravel) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_undo/gen_pkg.go b/streams/impl/activitystreams/type_undo/gen_pkg.go index 8b57d9d..5d4f7c1 100644 --- a/streams/impl/activitystreams/type_undo/gen_pkg.go +++ b/streams/impl/activitystreams/type_undo/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go b/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go index 72d6423..f807286 100644 --- a/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go +++ b/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go @@ -61,10 +61,7 @@ type ActivityStreamsUndo struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -291,26 +288,11 @@ func DeserializeUndo(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -405,14 +387,8 @@ func DeserializeUndo(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -682,23 +658,6 @@ func (this ActivityStreamsUndo) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsUndo) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsUndo) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsUndo) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsUndo) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -768,10 +727,7 @@ func (this ActivityStreamsUndo) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1259,34 +1215,6 @@ func (this ActivityStreamsUndo) LessThan(o vocab.ActivityStreamsUndo) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1301,20 +1229,6 @@ func (this ActivityStreamsUndo) LessThan(o vocab.ActivityStreamsUndo) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1652,22 +1566,6 @@ func (this ActivityStreamsUndo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1676,14 +1574,6 @@ func (this ActivityStreamsUndo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1902,21 +1792,6 @@ func (this *ActivityStreamsUndo) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsUndo) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsUndo) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsUndo) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsUndo) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_update/gen_pkg.go b/streams/impl/activitystreams/type_update/gen_pkg.go index 1860bda..769860a 100644 --- a/streams/impl/activitystreams/type_update/gen_pkg.go +++ b/streams/impl/activitystreams/type_update/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go b/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go index 1854826..150729d 100644 --- a/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go +++ b/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go @@ -58,10 +58,7 @@ type ActivityStreamsUpdate struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -288,26 +285,11 @@ func DeserializeUpdate(m map[string]interface{}, aliasMap map[string]string) (*A } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -402,14 +384,8 @@ func DeserializeUpdate(m map[string]interface{}, aliasMap map[string]string) (*A continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -679,23 +655,6 @@ func (this ActivityStreamsUpdate) GetActivityStreamsUrl() vocab.ActivityStreamsU return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsUpdate) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsUpdate) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsUpdate) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsUpdate) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -765,10 +724,7 @@ func (this ActivityStreamsUpdate) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1256,34 +1212,6 @@ func (this ActivityStreamsUpdate) LessThan(o vocab.ActivityStreamsUpdate) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1298,20 +1226,6 @@ func (this ActivityStreamsUpdate) LessThan(o vocab.ActivityStreamsUpdate) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1649,22 +1563,6 @@ func (this ActivityStreamsUpdate) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1673,14 +1571,6 @@ func (this ActivityStreamsUpdate) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1899,21 +1789,6 @@ func (this *ActivityStreamsUpdate) SetActivityStreamsUrl(i vocab.ActivityStreams this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsUpdate) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsUpdate) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsUpdate) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsUpdate) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_video/gen_pkg.go b/streams/impl/activitystreams/type_video/gen_pkg.go index ad26144..42dce2a 100644 --- a/streams/impl/activitystreams/type_video/gen_pkg.go +++ b/streams/impl/activitystreams/type_video/gen_pkg.go @@ -132,22 +132,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go index b77dbd9..c903b34 100644 --- a/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go +++ b/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go @@ -48,10 +48,7 @@ type ActivityStreamsVideo struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -258,26 +255,11 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -364,14 +346,8 @@ func DeserializeVideo(m map[string]interface{}, aliasMap map[string]string) (*Ac continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -611,23 +587,6 @@ func (this ActivityStreamsVideo) GetActivityStreamsUrl() vocab.ActivityStreamsUr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsVideo) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsVideo) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsVideo) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsVideo) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -698,10 +657,7 @@ func (this ActivityStreamsVideo) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1133,34 +1089,6 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1175,20 +1103,6 @@ func (this ActivityStreamsVideo) LessThan(o vocab.ActivityStreamsVideo) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1494,22 +1408,6 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1518,14 +1416,6 @@ func (this ActivityStreamsVideo) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1719,21 +1609,6 @@ func (this *ActivityStreamsVideo) SetActivityStreamsUrl(i vocab.ActivityStreamsU this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsVideo) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsVideo) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsVideo) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsVideo) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/activitystreams/type_view/gen_pkg.go b/streams/impl/activitystreams/type_view/gen_pkg.go index 8bc275b..4daf2cf 100644 --- a/streams/impl/activitystreams/type_view/gen_pkg.go +++ b/streams/impl/activitystreams/type_view/gen_pkg.go @@ -148,22 +148,10 @@ type privateManager interface { // method for the "ActivityStreamsTargetProperty" non-functional // property in the vocabulary "ActivityStreams" DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go b/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go index dd80dcc..347b87d 100644 --- a/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go +++ b/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go @@ -58,10 +58,7 @@ type ActivityStreamsView struct { ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -288,26 +285,11 @@ func DeserializeView(m map[string]interface{}, aliasMap map[string]string) (*Act } else if p != nil { this.ActivityStreamsTarget = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -402,14 +384,8 @@ func DeserializeView(m map[string]interface{}, aliasMap map[string]string) (*Act continue } else if k == "target" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -679,23 +655,6 @@ func (this ActivityStreamsView) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ActivityStreamsView) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ActivityStreamsView) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ActivityStreamsView) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this ActivityStreamsView) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -765,10 +724,7 @@ func (this ActivityStreamsView) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1256,34 +1212,6 @@ func (this ActivityStreamsView) LessThan(o vocab.ActivityStreamsView) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1298,20 +1226,6 @@ func (this ActivityStreamsView) LessThan(o vocab.ActivityStreamsView) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1649,22 +1563,6 @@ func (this ActivityStreamsView) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTarget.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1673,14 +1571,6 @@ func (this ActivityStreamsView) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1899,21 +1789,6 @@ func (this *ActivityStreamsView) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *ActivityStreamsView) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ActivityStreamsView) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ActivityStreamsView) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *ActivityStreamsView) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/toot/type_emoji/gen_pkg.go b/streams/impl/toot/type_emoji/gen_pkg.go index 560ec45..eedf4cd 100644 --- a/streams/impl/toot/type_emoji/gen_pkg.go +++ b/streams/impl/toot/type_emoji/gen_pkg.go @@ -128,22 +128,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/toot/type_emoji/gen_type_toot_emoji.go b/streams/impl/toot/type_emoji/gen_type_toot_emoji.go index c24b9fa..8d9b6c9 100644 --- a/streams/impl/toot/type_emoji/gen_type_toot_emoji.go +++ b/streams/impl/toot/type_emoji/gen_type_toot_emoji.go @@ -57,10 +57,7 @@ type TootEmoji struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -250,26 +247,11 @@ func DeserializeEmoji(m map[string]interface{}, aliasMap map[string]string) (*To } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -354,14 +336,8 @@ func DeserializeEmoji(m map[string]interface{}, aliasMap map[string]string) (*To continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -612,23 +588,6 @@ func (this TootEmoji) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this TootEmoji) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this TootEmoji) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this TootEmoji) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this TootEmoji) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -693,10 +652,7 @@ func (this TootEmoji) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1114,34 +1070,6 @@ func (this TootEmoji) LessThan(o vocab.TootEmoji) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1156,20 +1084,6 @@ func (this TootEmoji) LessThan(o vocab.TootEmoji) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1467,22 +1381,6 @@ func (this TootEmoji) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1491,14 +1389,6 @@ func (this TootEmoji) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1692,21 +1582,6 @@ func (this *TootEmoji) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *TootEmoji) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *TootEmoji) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *TootEmoji) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *TootEmoji) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/impl/toot/type_hashtag/gen_doc.go b/streams/impl/toot/type_hashtag/gen_doc.go new file mode 100644 index 0000000..ec71c25 --- /dev/null +++ b/streams/impl/toot/type_hashtag/gen_doc.go @@ -0,0 +1,17 @@ +// Code generated by astool. DO NOT EDIT. + +// Package typehashtag contains the implementation for the Hashtag 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 typehashtag diff --git a/streams/impl/toot/type_hashtag/gen_pkg.go b/streams/impl/toot/type_hashtag/gen_pkg.go new file mode 100644 index 0000000..2d57af8 --- /dev/null +++ b/streams/impl/toot/type_hashtag/gen_pkg.go @@ -0,0 +1,175 @@ +// Code generated by astool. DO NOT EDIT. + +package typehashtag + +import vocab "github.com/go-fed/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // DeserializeAltitudePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAltitudeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) + // DeserializeAttachmentPropertyActivityStreams returns the + // deserialization method for the "ActivityStreamsAttachmentProperty" + // non-functional property in the vocabulary "ActivityStreams" + DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) + // DeserializeAttributedToPropertyActivityStreams returns the + // deserialization method for the + // "ActivityStreamsAttributedToProperty" non-functional property in + // the vocabulary "ActivityStreams" + DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) + // DeserializeAudiencePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsAudienceProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) + // DeserializeBccPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBccProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) + // DeserializeBtoPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsBtoProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) + // DeserializeCcPropertyActivityStreams returns the deserialization method + // for the "ActivityStreamsCcProperty" non-functional property in the + // vocabulary "ActivityStreams" + DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) + // DeserializeContentPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContentProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) + // DeserializeContextPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsContextProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) + // DeserializeDurationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsDurationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) + // DeserializeEndTimePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsEndTimeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) + // DeserializeGeneratorPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsGeneratorProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) + // DeserializeIconPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsIconProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) + // DeserializeIdPropertyJSONLD returns the deserialization method for the + // "JSONLDIdProperty" non-functional property in the vocabulary + // "JSONLD" + DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) + // DeserializeImagePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsImageProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) + // DeserializeInReplyToPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsInReplyToProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) + // DeserializeLikesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLikesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) + // DeserializeLocationPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsLocationProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) + // DeserializeMediaTypePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsMediaTypeProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) + // DeserializeNamePropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsNameProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) + // DeserializeObjectPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsObjectProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) + // DeserializePreviewPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPreviewProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) + // DeserializePublishedPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsPublishedProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) + // DeserializeRepliesPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRepliesProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) + // 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/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go new file mode 100644 index 0000000..9408a62 --- /dev/null +++ b/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go @@ -0,0 +1,1610 @@ +// Code generated by astool. DO NOT EDIT. + +package typehashtag + +import ( + "fmt" + vocab "github.com/go-fed/activity/streams/vocab" + "strings" +) + +// +// +// { +// "content": "example", +// "id": "https://example.com/@alice/hello-world", +// "tag": [ +// { +// "href": "https://example.com/hashtag/example", +// "name": "#example", +// "type": "Hashtag" +// } +// ], +// "type": "Note" +// } +type TootHashtag struct { + ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty + ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty + ActivityStreamsBcc vocab.ActivityStreamsBccProperty + ActivityStreamsBto vocab.ActivityStreamsBtoProperty + ActivityStreamsCc vocab.ActivityStreamsCcProperty + ActivityStreamsContent vocab.ActivityStreamsContentProperty + ActivityStreamsContext vocab.ActivityStreamsContextProperty + ActivityStreamsDuration vocab.ActivityStreamsDurationProperty + ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty + ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty + ActivityStreamsIcon vocab.ActivityStreamsIconProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsImage vocab.ActivityStreamsImageProperty + ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty + ActivityStreamsLikes vocab.ActivityStreamsLikesProperty + ActivityStreamsLocation vocab.ActivityStreamsLocationProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsObject vocab.ActivityStreamsObjectProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty + ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty + 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{} +} + +// DeserializeHashtag creates a Hashtag from a map representation that has been +// unmarshalled from a text or binary format. +func DeserializeHashtag(m map[string]interface{}, aliasMap map[string]string) (*TootHashtag, error) { + alias := "" + aliasPrefix := "" + if a, ok := aliasMap["http://joinmastodon.org/ns"]; ok { + alias = a + aliasPrefix = a + ":" + } + this := &TootHashtag{ + 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 != "Hashtag" { + return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Hashtag", 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) == "Hashtag" { + found = true + break + } + } + if !found { + return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Hashtag") + } + // Fall through, success in finding a proper Type + } else { + return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) + } + // Begin: Known property deserialization + if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAltitude = p + } + if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttachment = p + } + if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAudience = p + } + if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBcc = p + } + if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsBto = p + } + if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsCc = p + } + if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContent = p + } + if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsContext = p + } + if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsDuration = p + } + if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsEndTime = p + } + if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsGenerator = p + } + if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsIcon = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = p + } + if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsImage = p + } + if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsInReplyTo = p + } + if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLikes = p + } + if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsLocation = p + } + if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsMediaType = p + } + if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsName = p + } + if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsObject = p + } + if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPublished = p + } + if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsReplies = p + } + if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsShares = p + } + if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSource = p + } + if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsStartTime = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTag = p + } + if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsTo = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUpdated = p + } + if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsUrl = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "altitude" { + continue + } else if k == "attachment" { + continue + } else if k == "attributedTo" { + continue + } else if k == "audience" { + continue + } else if k == "bcc" { + continue + } else if k == "bto" { + continue + } else if k == "cc" { + continue + } else if k == "content" { + continue + } else if k == "contentMap" { + continue + } else if k == "context" { + continue + } else if k == "duration" { + continue + } else if k == "endTime" { + continue + } else if k == "generator" { + continue + } else if k == "icon" { + continue + } else if k == "id" { + continue + } else if k == "image" { + continue + } else if k == "inReplyTo" { + continue + } else if k == "likes" { + continue + } else if k == "location" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "object" { + continue + } else if k == "preview" { + continue + } else if k == "published" { + continue + } else if k == "replies" { + continue + } else if k == "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 +} + +// HashtagIsDisjointWith returns true if the other provided type is disjoint with +// the Hashtag type. +func HashtagIsDisjointWith(other vocab.Type) bool { + disjointWith := []string{"Link", "Mention"} + for _, disjoint := range disjointWith { + if disjoint == other.GetTypeName() { + return true + } + } + return false +} + +// HashtagIsExtendedBy returns true if the other provided type extends from the +// Hashtag type. Note that it returns false if the types are the same; see the +// "IsOrExtendsHashtag" variant instead. +func HashtagIsExtendedBy(other vocab.Type) bool { + // Shortcut implementation: is not extended by anything. + return false +} + +// IsOrExtendsHashtag returns true if the other provided type is the Hashtag type +// or extends from the Hashtag type. +func IsOrExtendsHashtag(other vocab.Type) bool { + if other.GetTypeName() == "Hashtag" { + return true + } + return HashtagIsExtendedBy(other) +} + +// NewTootHashtag creates a new Hashtag type +func NewTootHashtag() *TootHashtag { + typeProp := typePropertyConstructor() + typeProp.AppendXMLSchemaString("Hashtag") + return &TootHashtag{ + JSONLDType: typeProp, + alias: "", + unknown: make(map[string]interface{}), + } +} + +// TootHashtagExtends returns true if the Hashtag type extends from the other type. +func TootHashtagExtends(other vocab.Type) bool { + extensions := []string{"Object"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// GetActivityStreamsAltitude returns the "altitude" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { + return this.ActivityStreamsAltitude +} + +// GetActivityStreamsAttachment returns the "attachment" property if it exists, +// and nil otherwise. +func (this TootHashtag) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { + return this.ActivityStreamsAttachment +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this TootHashtag) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsAudience returns the "audience" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { + return this.ActivityStreamsAudience +} + +// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { + return this.ActivityStreamsBcc +} + +// GetActivityStreamsBto returns the "bto" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { + return this.ActivityStreamsBto +} + +// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. +func (this TootHashtag) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { + return this.ActivityStreamsCc +} + +// GetActivityStreamsContent returns the "content" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { + return this.ActivityStreamsContent +} + +// GetActivityStreamsContext returns the "context" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { + return this.ActivityStreamsContext +} + +// GetActivityStreamsDuration returns the "duration" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { + return this.ActivityStreamsDuration +} + +// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { + return this.ActivityStreamsEndTime +} + +// GetActivityStreamsGenerator returns the "generator" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { + return this.ActivityStreamsGenerator +} + +// GetActivityStreamsIcon returns the "icon" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { + return this.ActivityStreamsIcon +} + +// GetActivityStreamsImage returns the "image" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { + return this.ActivityStreamsImage +} + +// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { + return this.ActivityStreamsInReplyTo +} + +// GetActivityStreamsLikes returns the "likes" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { + return this.ActivityStreamsLikes +} + +// GetActivityStreamsLocation returns the "location" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { + return this.ActivityStreamsLocation +} + +// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { + return this.ActivityStreamsMediaType +} + +// GetActivityStreamsName returns the "name" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { + return this.ActivityStreamsName +} + +// GetActivityStreamsObject returns the "object" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { + return this.ActivityStreamsObject +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsPublished returns the "published" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { + return this.ActivityStreamsPublished +} + +// GetActivityStreamsReplies returns the "replies" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { + return this.ActivityStreamsReplies +} + +// GetActivityStreamsShares returns the "shares" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { + return this.ActivityStreamsShares +} + +// GetActivityStreamsSource returns the "source" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { + return this.ActivityStreamsSource +} + +// GetActivityStreamsStartTime returns the "startTime" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { + return this.ActivityStreamsStartTime +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsTag returns the "tag" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { + return this.ActivityStreamsTag +} + +// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. +func (this TootHashtag) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { + return this.ActivityStreamsTo +} + +// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { + return this.ActivityStreamsUpdated +} + +// GetActivityStreamsUrl returns the "url" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { + return this.ActivityStreamsUrl +} + +// GetJSONLDId returns the "id" property if it exists, and nil otherwise. +func (this TootHashtag) GetJSONLDId() vocab.JSONLDIdProperty { + return this.JSONLDId +} + +// GetJSONLDType returns the "type" property if it exists, and nil otherwise. +func (this TootHashtag) GetJSONLDType() vocab.JSONLDTypeProperty { + return this.JSONLDType +} + +// GetTypeName returns the name of this type. +func (this TootHashtag) GetTypeName() string { + return "Hashtag" +} + +// GetUnknownProperties returns the unknown properties for the Hashtag 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 TootHashtag) GetUnknownProperties() map[string]interface{} { + return this.unknown +} + +// IsExtending returns true if the Hashtag type extends from the other type. +func (this TootHashtag) IsExtending(other vocab.Type) bool { + return TootHashtagExtends(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 TootHashtag) JSONLDContext() map[string]string { + m := map[string]string{"http://joinmastodon.org/ns": this.alias} + m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) + m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) + m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) + m = this.helperJSONLDContext(this.ActivityStreamsBto, m) + m = this.helperJSONLDContext(this.ActivityStreamsCc, m) + m = this.helperJSONLDContext(this.ActivityStreamsContent, m) + m = this.helperJSONLDContext(this.ActivityStreamsContext, m) + m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) + m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) + m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) + m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsImage, m) + m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) + m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsObject, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) + m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) + m = this.helperJSONLDContext(this.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 Hashtag is lesser, with an arbitrary but stable +// determination. +func (this TootHashtag) LessThan(o vocab.TootHashtag) bool { + // Begin: Compare known properties + // Compare property "altitude" + if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attachment" + if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "attributedTo" + if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "audience" + if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bcc" + if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "bto" + if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "cc" + if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "content" + if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "context" + if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "duration" + if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "endTime" + if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "generator" + if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "icon" + if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "id" + if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "image" + if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "inReplyTo" + if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "likes" + if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "location" + if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "mediaType" + if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "name" + if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "object" + if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "preview" + if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "published" + if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "replies" + if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "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 TootHashtag) Serialize() (map[string]interface{}, error) { + m := make(map[string]interface{}) + typeName := "Hashtag" + if len(this.alias) > 0 { + typeName = this.alias + ":" + "Hashtag" + } + m["type"] = typeName + // Begin: Serialize known properties + // Maybe serialize property "altitude" + if this.ActivityStreamsAltitude != nil { + if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAltitude.Name()] = i + } + } + // Maybe serialize property "attachment" + if this.ActivityStreamsAttachment != nil { + if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttachment.Name()] = i + } + } + // Maybe serialize property "attributedTo" + if this.ActivityStreamsAttributedTo != nil { + if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAttributedTo.Name()] = i + } + } + // Maybe serialize property "audience" + if this.ActivityStreamsAudience != nil { + if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsAudience.Name()] = i + } + } + // Maybe serialize property "bcc" + if this.ActivityStreamsBcc != nil { + if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBcc.Name()] = i + } + } + // Maybe serialize property "bto" + if this.ActivityStreamsBto != nil { + if i, err := this.ActivityStreamsBto.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsBto.Name()] = i + } + } + // Maybe serialize property "cc" + if this.ActivityStreamsCc != nil { + if i, err := this.ActivityStreamsCc.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsCc.Name()] = i + } + } + // Maybe serialize property "content" + if this.ActivityStreamsContent != nil { + if i, err := this.ActivityStreamsContent.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContent.Name()] = i + } + } + // Maybe serialize property "context" + if this.ActivityStreamsContext != nil { + if i, err := this.ActivityStreamsContext.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsContext.Name()] = i + } + } + // Maybe serialize property "duration" + if this.ActivityStreamsDuration != nil { + if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsDuration.Name()] = i + } + } + // Maybe serialize property "endTime" + if this.ActivityStreamsEndTime != nil { + if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsEndTime.Name()] = i + } + } + // Maybe serialize property "generator" + if this.ActivityStreamsGenerator != nil { + if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsGenerator.Name()] = i + } + } + // Maybe serialize property "icon" + if this.ActivityStreamsIcon != nil { + if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsIcon.Name()] = i + } + } + // Maybe serialize property "id" + if this.JSONLDId != nil { + if i, err := this.JSONLDId.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.JSONLDId.Name()] = i + } + } + // Maybe serialize property "image" + if this.ActivityStreamsImage != nil { + if i, err := this.ActivityStreamsImage.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsImage.Name()] = i + } + } + // Maybe serialize property "inReplyTo" + if this.ActivityStreamsInReplyTo != nil { + if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsInReplyTo.Name()] = i + } + } + // Maybe serialize property "likes" + if this.ActivityStreamsLikes != nil { + if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLikes.Name()] = i + } + } + // Maybe serialize property "location" + if this.ActivityStreamsLocation != nil { + if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsLocation.Name()] = i + } + } + // Maybe serialize property "mediaType" + if this.ActivityStreamsMediaType != nil { + if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsMediaType.Name()] = i + } + } + // Maybe serialize property "name" + if this.ActivityStreamsName != nil { + if i, err := this.ActivityStreamsName.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsName.Name()] = i + } + } + // Maybe serialize property "object" + if this.ActivityStreamsObject != nil { + if i, err := this.ActivityStreamsObject.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsObject.Name()] = i + } + } + // Maybe serialize property "preview" + if this.ActivityStreamsPreview != nil { + if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPreview.Name()] = i + } + } + // Maybe serialize property "published" + if this.ActivityStreamsPublished != nil { + if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsPublished.Name()] = i + } + } + // Maybe serialize property "replies" + if this.ActivityStreamsReplies != nil { + if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsReplies.Name()] = i + } + } + // Maybe serialize property "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 *TootHashtag) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { + this.ActivityStreamsAltitude = i +} + +// SetActivityStreamsAttachment sets the "attachment" property. +func (this *TootHashtag) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { + this.ActivityStreamsAttachment = i +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *TootHashtag) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsAudience sets the "audience" property. +func (this *TootHashtag) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { + this.ActivityStreamsAudience = i +} + +// SetActivityStreamsBcc sets the "bcc" property. +func (this *TootHashtag) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { + this.ActivityStreamsBcc = i +} + +// SetActivityStreamsBto sets the "bto" property. +func (this *TootHashtag) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { + this.ActivityStreamsBto = i +} + +// SetActivityStreamsCc sets the "cc" property. +func (this *TootHashtag) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { + this.ActivityStreamsCc = i +} + +// SetActivityStreamsContent sets the "content" property. +func (this *TootHashtag) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { + this.ActivityStreamsContent = i +} + +// SetActivityStreamsContext sets the "context" property. +func (this *TootHashtag) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { + this.ActivityStreamsContext = i +} + +// SetActivityStreamsDuration sets the "duration" property. +func (this *TootHashtag) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { + this.ActivityStreamsDuration = i +} + +// SetActivityStreamsEndTime sets the "endTime" property. +func (this *TootHashtag) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { + this.ActivityStreamsEndTime = i +} + +// SetActivityStreamsGenerator sets the "generator" property. +func (this *TootHashtag) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { + this.ActivityStreamsGenerator = i +} + +// SetActivityStreamsIcon sets the "icon" property. +func (this *TootHashtag) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { + this.ActivityStreamsIcon = i +} + +// SetActivityStreamsImage sets the "image" property. +func (this *TootHashtag) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { + this.ActivityStreamsImage = i +} + +// SetActivityStreamsInReplyTo sets the "inReplyTo" property. +func (this *TootHashtag) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { + this.ActivityStreamsInReplyTo = i +} + +// SetActivityStreamsLikes sets the "likes" property. +func (this *TootHashtag) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { + this.ActivityStreamsLikes = i +} + +// SetActivityStreamsLocation sets the "location" property. +func (this *TootHashtag) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { + this.ActivityStreamsLocation = i +} + +// SetActivityStreamsMediaType sets the "mediaType" property. +func (this *TootHashtag) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { + this.ActivityStreamsMediaType = i +} + +// SetActivityStreamsName sets the "name" property. +func (this *TootHashtag) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { + this.ActivityStreamsName = i +} + +// SetActivityStreamsObject sets the "object" property. +func (this *TootHashtag) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { + this.ActivityStreamsObject = i +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *TootHashtag) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsPublished sets the "published" property. +func (this *TootHashtag) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { + this.ActivityStreamsPublished = i +} + +// SetActivityStreamsReplies sets the "replies" property. +func (this *TootHashtag) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { + this.ActivityStreamsReplies = i +} + +// SetActivityStreamsShares sets the "shares" property. +func (this *TootHashtag) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { + this.ActivityStreamsShares = i +} + +// SetActivityStreamsSource sets the "source" property. +func (this *TootHashtag) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { + this.ActivityStreamsSource = i +} + +// SetActivityStreamsStartTime sets the "startTime" property. +func (this *TootHashtag) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { + this.ActivityStreamsStartTime = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *TootHashtag) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsTag sets the "tag" property. +func (this *TootHashtag) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { + this.ActivityStreamsTag = i +} + +// SetActivityStreamsTo sets the "to" property. +func (this *TootHashtag) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { + this.ActivityStreamsTo = i +} + +// SetActivityStreamsUpdated sets the "updated" property. +func (this *TootHashtag) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { + this.ActivityStreamsUpdated = i +} + +// SetActivityStreamsUrl sets the "url" property. +func (this *TootHashtag) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { + this.ActivityStreamsUrl = i +} + +// SetJSONLDId sets the "id" property. +func (this *TootHashtag) SetJSONLDId(i vocab.JSONLDIdProperty) { + this.JSONLDId = i +} + +// SetJSONLDType sets the "type" property. +func (this *TootHashtag) SetJSONLDType(i vocab.JSONLDTypeProperty) { + this.JSONLDType = i +} + +// VocabularyURI returns the vocabulary's URI as a string. +func (this TootHashtag) VocabularyURI() string { + return "http://joinmastodon.org/ns" +} + +// helperJSONLDContext obtains the context uris and their aliases from a property, +// if it is not nil. +func (this TootHashtag) 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/streams/impl/toot/type_identityproof/gen_pkg.go b/streams/impl/toot/type_identityproof/gen_pkg.go index 5e72ca4..cbef4d0 100644 --- a/streams/impl/toot/type_identityproof/gen_pkg.go +++ b/streams/impl/toot/type_identityproof/gen_pkg.go @@ -136,22 +136,10 @@ type privateManager interface { // method for the "ActivityStreamsTagProperty" non-functional property // in the vocabulary "ActivityStreams" DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTeamPropertyForgeFed returns the deserialization method for - // the "ForgeFedTeamProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeTeamPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTeamProperty, error) - // DeserializeTicketsTrackedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedTicketsTrackedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTicketsTrackedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTicketsTrackedByProperty, 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) - // DeserializeTracksTicketsForPropertyForgeFed returns the deserialization - // method for the "ForgeFedTracksTicketsForProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeTracksTicketsForPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) // DeserializeTypePropertyJSONLD returns the deserialization method for // the "JSONLDTypeProperty" non-functional property in the vocabulary // "JSONLD" diff --git a/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go b/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go index 01e9d95..d19ed58 100644 --- a/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go +++ b/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go @@ -43,10 +43,7 @@ type TootIdentityProof struct { ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty JSONLDType vocab.JSONLDTypeProperty ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty ActivityStreamsUrl vocab.ActivityStreamsUrlProperty @@ -246,26 +243,11 @@ func DeserializeIdentityProof(m map[string]interface{}, aliasMap map[string]stri } else if p != nil { this.ActivityStreamsTag = p } - if p, err := mgr.DeserializeTeamPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTeam = p - } - if p, err := mgr.DeserializeTicketsTrackedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTicketsTrackedBy = p - } if p, err := mgr.DeserializeToPropertyActivityStreams()(m, aliasMap); err != nil { return nil, err } else if p != nil { this.ActivityStreamsTo = p } - if p, err := mgr.DeserializeTracksTicketsForPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedTracksTicketsFor = p - } if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { return nil, err } else if p != nil { @@ -354,14 +336,8 @@ func DeserializeIdentityProof(m map[string]interface{}, aliasMap map[string]stri continue } else if k == "tag" { continue - } else if k == "team" { - continue - } else if k == "ticketsTrackedBy" { - continue } else if k == "to" { continue - } else if k == "tracksTicketsFor" { - continue } else if k == "type" { continue } else if k == "updated" { @@ -613,23 +589,6 @@ func (this TootIdentityProof) GetActivityStreamsUrl() vocab.ActivityStreamsUrlPr return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this TootIdentityProof) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this TootIdentityProof) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this TootIdentityProof) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this TootIdentityProof) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -708,10 +667,7 @@ func (this TootIdentityProof) JSONLDContext() map[string]string { m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ForgeFedTeam, m) - m = this.helperJSONLDContext(this.ForgeFedTicketsTrackedBy, m) m = this.helperJSONLDContext(this.ActivityStreamsTo, m) - m = this.helperJSONLDContext(this.ForgeFedTracksTicketsFor, m) m = this.helperJSONLDContext(this.JSONLDType, m) m = this.helperJSONLDContext(this.ActivityStreamsUpdated, m) m = this.helperJSONLDContext(this.ActivityStreamsUrl, m) @@ -1157,34 +1113,6 @@ func (this TootIdentityProof) LessThan(o vocab.TootIdentityProof) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "team" - if lhs, rhs := this.ForgeFedTeam, o.GetForgeFedTeam(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "ticketsTrackedBy" - if lhs, rhs := this.ForgeFedTicketsTrackedBy, o.GetForgeFedTicketsTrackedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1199,20 +1127,6 @@ func (this TootIdentityProof) LessThan(o vocab.TootIdentityProof) bool { // Anything else is greater than nil return false } // Else: Both are nil - // Compare property "tracksTicketsFor" - if lhs, rhs := this.ForgeFedTracksTicketsFor, o.GetForgeFedTracksTicketsFor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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) { @@ -1526,22 +1440,6 @@ func (this TootIdentityProof) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTag.Name()] = i } } - // Maybe serialize property "team" - if this.ForgeFedTeam != nil { - if i, err := this.ForgeFedTeam.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTeam.Name()] = i - } - } - // Maybe serialize property "ticketsTrackedBy" - if this.ForgeFedTicketsTrackedBy != nil { - if i, err := this.ForgeFedTicketsTrackedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTicketsTrackedBy.Name()] = i - } - } // Maybe serialize property "to" if this.ActivityStreamsTo != nil { if i, err := this.ActivityStreamsTo.Serialize(); err != nil { @@ -1550,14 +1448,6 @@ func (this TootIdentityProof) Serialize() (map[string]interface{}, error) { m[this.ActivityStreamsTo.Name()] = i } } - // Maybe serialize property "tracksTicketsFor" - if this.ForgeFedTracksTicketsFor != nil { - if i, err := this.ForgeFedTracksTicketsFor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedTracksTicketsFor.Name()] = i - } - } // Maybe serialize property "type" if this.JSONLDType != nil { if i, err := this.JSONLDType.Serialize(); err != nil { @@ -1751,21 +1641,6 @@ func (this *TootIdentityProof) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlP this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *TootIdentityProof) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *TootIdentityProof) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *TootIdentityProof) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *TootIdentityProof) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/streams/vocab/gen_property_activitystreams_actor_interface.go b/streams/vocab/gen_property_activitystreams_actor_interface.go index f72626e..2d58d11 100644 --- a/streams/vocab/gen_property_activitystreams_actor_interface.go +++ b/streams/vocab/gen_property_activitystreams_actor_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsActorPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsActorPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsActorPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsActorPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -1004,30 +948,6 @@ type ActivityStreamsActorProperty interface { // the property "actor". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "actor". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "actor". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "actor". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "actor". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "actor". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "actor". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "actor" AppendIRI(v *url.URL) @@ -1035,6 +955,10 @@ type ActivityStreamsActorProperty interface { // property "actor". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "actor". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "actor". Invalidates iterators that are // traversing using Prev. @@ -1279,30 +1203,6 @@ type ActivityStreamsActorProperty interface { // for a property "actor". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "actor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "actor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "actor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "actor". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "actor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "actor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1311,6 +1211,10 @@ type ActivityStreamsActorProperty interface { // property "actor". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "actor". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "actor". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1509,31 +1413,15 @@ type ActivityStreamsActorProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "actor". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "actor". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "actor". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "actor". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "actor". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "actor". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "actor". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "actor". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "actor". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "actor". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "actor". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1767,30 +1655,6 @@ type ActivityStreamsActorProperty interface { // for the property "actor". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "actor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "actor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "actor". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "actor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "actor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "actor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1798,6 +1662,10 @@ type ActivityStreamsActorProperty interface { // property "actor". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "actor". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "actor". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/streams/vocab/gen_property_activitystreams_anyOf_interface.go index eb4332f..5a6cf6e 100644 --- a/streams/vocab/gen_property_activitystreams_anyOf_interface.go +++ b/streams/vocab/gen_property_activitystreams_anyOf_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsAnyOfPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsAnyOfPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsAnyOfPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsAnyOfPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -985,30 +929,6 @@ type ActivityStreamsAnyOfProperty interface { // the property "anyOf". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "anyOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "anyOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "anyOf". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "anyOf". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "anyOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "anyOf". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "anyOf" AppendIRI(v *url.URL) @@ -1016,6 +936,10 @@ type ActivityStreamsAnyOfProperty interface { // property "anyOf". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "anyOf". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "anyOf". Invalidates iterators that are // traversing using Prev. @@ -1260,30 +1184,6 @@ type ActivityStreamsAnyOfProperty interface { // for a property "anyOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "anyOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "anyOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "anyOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "anyOf". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "anyOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "anyOf". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1292,6 +1192,10 @@ type ActivityStreamsAnyOfProperty interface { // property "anyOf". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "anyOf". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "anyOf". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1490,31 +1394,15 @@ type ActivityStreamsAnyOfProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "anyOf". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "anyOf". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "anyOf". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "anyOf". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "anyOf". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "anyOf". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "anyOf". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "anyOf". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "anyOf". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "anyOf". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "anyOf". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1748,30 +1636,6 @@ type ActivityStreamsAnyOfProperty interface { // for the property "anyOf". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "anyOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "anyOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "anyOf". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "anyOf". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "anyOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "anyOf". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1779,6 +1643,10 @@ type ActivityStreamsAnyOfProperty interface { // property "anyOf". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "anyOf". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "anyOf". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_attachment_interface.go b/streams/vocab/gen_property_activitystreams_attachment_interface.go index 2773f91..0ae1116 100644 --- a/streams/vocab/gen_property_activitystreams_attachment_interface.go +++ b/streams/vocab/gen_property_activitystreams_attachment_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsAttachmentPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsAttachmentPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsAttachmentPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsAttachmentPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -980,30 +924,6 @@ type ActivityStreamsAttachmentProperty interface { // the property "attachment". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "attachment". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "attachment". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "attachment". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "attachment". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "attachment". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "attachment". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "attachment" AppendIRI(v *url.URL) @@ -1011,6 +931,10 @@ type ActivityStreamsAttachmentProperty interface { // property "attachment". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "attachment". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "attachment". Invalidates iterators that are // traversing using Prev. @@ -1260,31 +1184,6 @@ type ActivityStreamsAttachmentProperty interface { // for a property "attachment". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "attachment". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "attachment". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "attachment". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "attachment". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "attachment". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "attachment". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1293,6 +1192,10 @@ type ActivityStreamsAttachmentProperty interface { // property "attachment". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "attachment". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "attachment". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1496,31 +1399,15 @@ type ActivityStreamsAttachmentProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "attachment". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "attachment". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "attachment". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "attachment". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "attachment". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "attachment". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "attachment". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "attachment". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "attachment". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "attachment". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "attachment". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1754,30 +1641,6 @@ type ActivityStreamsAttachmentProperty interface { // for the property "attachment". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "attachment". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "attachment". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "attachment". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "attachment". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "attachment". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "attachment". Panics if the index - // is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1785,6 +1648,10 @@ type ActivityStreamsAttachmentProperty interface { // property "attachment". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "attachment". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "attachment". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/streams/vocab/gen_property_activitystreams_attributedTo_interface.go index 21fc973..f88fd9c 100644 --- a/streams/vocab/gen_property_activitystreams_attributedTo_interface.go +++ b/streams/vocab/gen_property_activitystreams_attributedTo_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsAttributedToPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsAttributedToPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsAttributedToPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsAttributedToPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -996,30 +940,6 @@ type ActivityStreamsAttributedToProperty interface { // the property "attributedTo". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "attributedTo". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "attributedTo". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "attributedTo". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "attributedTo". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "attributedTo". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "attributedTo". Invalidates - // iterators that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "attributedTo" AppendIRI(v *url.URL) @@ -1027,6 +947,10 @@ type ActivityStreamsAttributedToProperty interface { // property "attributedTo". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "attributedTo". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "attributedTo". Invalidates iterators that are // traversing using Prev. @@ -1276,31 +1200,6 @@ type ActivityStreamsAttributedToProperty interface { // for a property "attributedTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "attributedTo". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "attributedTo". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "attributedTo". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "attributedTo". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "attributedTo". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "attributedTo". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1309,6 +1208,10 @@ type ActivityStreamsAttributedToProperty interface { // property "attributedTo". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "attributedTo". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "attributedTo". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. @@ -1512,31 +1415,15 @@ type ActivityStreamsAttributedToProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "attributedTo". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "attributedTo". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "attributedTo". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "attributedTo". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "attributedTo". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "attributedTo". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "attributedTo". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "attributedTo". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "attributedTo". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "attributedTo". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "attributedTo". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1770,30 +1657,6 @@ type ActivityStreamsAttributedToProperty interface { // for the property "attributedTo". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "attributedTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "attributedTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "attributedTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "attributedTo". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "attributedTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "attributedTo". Panics if the - // index is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1801,6 +1664,10 @@ type ActivityStreamsAttributedToProperty interface { // property "attributedTo". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "attributedTo". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "attributedTo". Panics if the index is out // of bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_audience_interface.go b/streams/vocab/gen_property_activitystreams_audience_interface.go index 4cab354..24e0d3d 100644 --- a/streams/vocab/gen_property_activitystreams_audience_interface.go +++ b/streams/vocab/gen_property_activitystreams_audience_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsAudiencePropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsAudiencePropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsAudiencePropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsAudiencePropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -980,30 +924,6 @@ type ActivityStreamsAudienceProperty interface { // the property "audience". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "audience". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "audience". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "audience". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "audience". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "audience". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "audience". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "audience" AppendIRI(v *url.URL) @@ -1011,6 +931,10 @@ type ActivityStreamsAudienceProperty interface { // property "audience". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "audience". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "audience". Invalidates iterators that are // traversing using Prev. @@ -1260,31 +1184,6 @@ type ActivityStreamsAudienceProperty interface { // for a property "audience". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "audience". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "audience". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "audience". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "audience". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "audience". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "audience". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1293,6 +1192,10 @@ type ActivityStreamsAudienceProperty interface { // property "audience". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "audience". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "audience". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1495,31 +1398,15 @@ type ActivityStreamsAudienceProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "audience". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "audience". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "audience". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "audience". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "audience". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "audience". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "audience". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "audience". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "audience". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "audience". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "audience". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1753,30 +1640,6 @@ type ActivityStreamsAudienceProperty interface { // for the property "audience". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "audience". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "audience". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "audience". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "audience". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "audience". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "audience". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1784,6 +1647,10 @@ type ActivityStreamsAudienceProperty interface { // property "audience". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "audience". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "audience". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_bcc_interface.go b/streams/vocab/gen_property_activitystreams_bcc_interface.go index 8ba5091..0d08730 100644 --- a/streams/vocab/gen_property_activitystreams_bcc_interface.go +++ b/streams/vocab/gen_property_activitystreams_bcc_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsBccPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsBccPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsBccPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsBccPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -978,30 +922,6 @@ type ActivityStreamsBccProperty interface { // the property "bcc". Invalidates iterators that are traversing using // Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "bcc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "bcc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "bcc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "bcc". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "bcc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "bcc". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "bcc" AppendIRI(v *url.URL) @@ -1009,6 +929,10 @@ type ActivityStreamsBccProperty interface { // property "bcc". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "bcc". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "bcc". Invalidates iterators that are // traversing using Prev. @@ -1250,30 +1174,6 @@ type ActivityStreamsBccProperty interface { // for a property "bcc". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "bcc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "bcc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "bcc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "bcc". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "bcc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "bcc". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1282,6 +1182,10 @@ type ActivityStreamsBccProperty interface { // property "bcc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "bcc". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "bcc". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1480,31 +1384,15 @@ type ActivityStreamsBccProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "bcc". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "bcc". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "bcc". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "bcc". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "bcc". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "bcc". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "bcc". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "bcc". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "bcc". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "bcc". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "bcc". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1738,30 +1626,6 @@ type ActivityStreamsBccProperty interface { // for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "bcc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "bcc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "bcc". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "bcc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "bcc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "bcc". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1769,6 +1633,10 @@ type ActivityStreamsBccProperty interface { // property "bcc". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "bcc". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "bcc". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_bto_interface.go b/streams/vocab/gen_property_activitystreams_bto_interface.go index db61aac..c307f84 100644 --- a/streams/vocab/gen_property_activitystreams_bto_interface.go +++ b/streams/vocab/gen_property_activitystreams_bto_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsBtoPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsBtoPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsBtoPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsBtoPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -978,30 +922,6 @@ type ActivityStreamsBtoProperty interface { // the property "bto". Invalidates iterators that are traversing using // Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "bto". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "bto". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "bto". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "bto". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "bto". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "bto". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "bto" AppendIRI(v *url.URL) @@ -1009,6 +929,10 @@ type ActivityStreamsBtoProperty interface { // property "bto". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "bto". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "bto". Invalidates iterators that are // traversing using Prev. @@ -1250,30 +1174,6 @@ type ActivityStreamsBtoProperty interface { // for a property "bto". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "bto". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "bto". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "bto". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "bto". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "bto". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "bto". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1282,6 +1182,10 @@ type ActivityStreamsBtoProperty interface { // property "bto". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "bto". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "bto". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1480,31 +1384,15 @@ type ActivityStreamsBtoProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "bto". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "bto". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "bto". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "bto". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "bto". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "bto". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "bto". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "bto". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "bto". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "bto". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "bto". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1738,30 +1626,6 @@ type ActivityStreamsBtoProperty interface { // for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "bto". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "bto". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "bto". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "bto". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "bto". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "bto". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1769,6 +1633,10 @@ type ActivityStreamsBtoProperty interface { // property "bto". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "bto". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "bto". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_cc_interface.go b/streams/vocab/gen_property_activitystreams_cc_interface.go index 121769e..1d358e7 100644 --- a/streams/vocab/gen_property_activitystreams_cc_interface.go +++ b/streams/vocab/gen_property_activitystreams_cc_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsCcPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsCcPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsCcPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsCcPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -978,35 +922,15 @@ type ActivityStreamsCcProperty interface { // the property "cc". Invalidates iterators that are traversing using // Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "cc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "cc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "cc". Invalidates iterators that are traversing using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "cc". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "cc". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "cc". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "cc" AppendIRI(v *url.URL) // AppendTootEmoji appends a Emoji value to the back of a list of the // property "cc". Invalidates iterators that are traversing using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "cc". Invalidates iterators that are traversing using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "cc". Invalidates iterators that are // traversing using Prev. @@ -1248,30 +1172,6 @@ type ActivityStreamsCcProperty interface { // for a property "cc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "cc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "cc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "cc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "cc". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "cc". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "cc". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1280,6 +1180,10 @@ type ActivityStreamsCcProperty interface { // property "cc". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "cc". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "cc". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1477,30 +1381,15 @@ type ActivityStreamsCcProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "cc". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "cc". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "cc". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "cc". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "cc". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "cc". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "cc". Invalidates all iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "cc". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "cc". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "cc". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "cc". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1734,30 +1623,6 @@ type ActivityStreamsCcProperty interface { // for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "cc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "cc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "cc". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "cc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "cc". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "cc". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1765,6 +1630,10 @@ type ActivityStreamsCcProperty interface { // property "cc". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "cc". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "cc". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_closed_interface.go b/streams/vocab/gen_property_activitystreams_closed_interface.go index d76858c..e9bdd03 100644 --- a/streams/vocab/gen_property_activitystreams_closed_interface.go +++ b/streams/vocab/gen_property_activitystreams_closed_interface.go @@ -228,35 +228,15 @@ type ActivityStreamsClosedPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -507,31 +487,6 @@ type ActivityStreamsClosedPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -539,6 +494,10 @@ type ActivityStreamsClosedPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -736,30 +695,15 @@ type ActivityStreamsClosedPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -999,30 +943,6 @@ type ActivityStreamsClosedProperty interface { // the property "closed". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "closed". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "closed". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "closed". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "closed". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "closed". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "closed". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "closed" AppendIRI(v *url.URL) @@ -1030,6 +950,10 @@ type ActivityStreamsClosedProperty interface { // property "closed". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "closed". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "closed". Invalidates iterators that are // traversing using Prev. @@ -1282,30 +1206,6 @@ type ActivityStreamsClosedProperty interface { // for a property "closed". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "closed". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "closed". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "closed". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "closed". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "closed". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "closed". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1314,6 +1214,10 @@ type ActivityStreamsClosedProperty interface { // property "closed". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "closed". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "closed". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1520,31 +1424,15 @@ type ActivityStreamsClosedProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "closed". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "closed". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "closed". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "closed". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "closed". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "closed". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "closed". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "closed". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "closed". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "closed". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "closed". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1784,30 +1672,6 @@ type ActivityStreamsClosedProperty interface { // for the property "closed". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "closed". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "closed". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "closed". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "closed". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "closed". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "closed". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1815,6 +1679,10 @@ type ActivityStreamsClosedProperty interface { // property "closed". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "closed". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "closed". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_context_interface.go b/streams/vocab/gen_property_activitystreams_context_interface.go index f3c9aac..4d299de 100644 --- a/streams/vocab/gen_property_activitystreams_context_interface.go +++ b/streams/vocab/gen_property_activitystreams_context_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsContextPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsContextPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsContextPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsContextPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -992,30 +936,6 @@ type ActivityStreamsContextProperty interface { // the property "context". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "context". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "context". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "context". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "context". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "context". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "context". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "context" AppendIRI(v *url.URL) @@ -1023,6 +943,10 @@ type ActivityStreamsContextProperty interface { // property "context". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "context". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "context". Invalidates iterators that are // traversing using Prev. @@ -1267,30 +1191,6 @@ type ActivityStreamsContextProperty interface { // for a property "context". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "context". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "context". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "context". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "context". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "context". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "context". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1299,6 +1199,10 @@ type ActivityStreamsContextProperty interface { // property "context". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "context". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "context". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1501,31 +1405,15 @@ type ActivityStreamsContextProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "context". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "context". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "context". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "context". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "context". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "context". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "context". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "context". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "context". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "context". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "context". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1759,30 +1647,6 @@ type ActivityStreamsContextProperty interface { // for the property "context". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "context". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "context". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "context". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "context". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "context". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "context". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1790,6 +1654,10 @@ type ActivityStreamsContextProperty interface { // property "context". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "context". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "context". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_describes_interface.go b/streams/vocab/gen_property_activitystreams_describes_interface.go index 777dc12..688cd98 100644 --- a/streams/vocab/gen_property_activitystreams_describes_interface.go +++ b/streams/vocab/gen_property_activitystreams_describes_interface.go @@ -231,35 +231,15 @@ type ActivityStreamsDescribesProperty interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -494,31 +474,6 @@ type ActivityStreamsDescribesProperty interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -526,6 +481,10 @@ type ActivityStreamsDescribesProperty interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -710,30 +669,15 @@ type ActivityStreamsDescribesProperty interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) diff --git a/streams/vocab/gen_property_activitystreams_formerType_interface.go b/streams/vocab/gen_property_activitystreams_formerType_interface.go index 61a066c..1d0475d 100644 --- a/streams/vocab/gen_property_activitystreams_formerType_interface.go +++ b/streams/vocab/gen_property_activitystreams_formerType_interface.go @@ -217,35 +217,15 @@ type ActivityStreamsFormerTypePropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -484,31 +464,6 @@ type ActivityStreamsFormerTypePropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -516,6 +471,10 @@ type ActivityStreamsFormerTypePropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -703,30 +662,15 @@ type ActivityStreamsFormerTypePropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -957,30 +901,6 @@ type ActivityStreamsFormerTypeProperty interface { // the property "formerType". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "formerType". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "formerType". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "formerType". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "formerType". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "formerType". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "formerType". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "formerType" AppendIRI(v *url.URL) @@ -988,6 +908,10 @@ type ActivityStreamsFormerTypeProperty interface { // property "formerType". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "formerType". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "formerType". Invalidates iterators that are // traversing using Prev. @@ -1233,31 +1157,6 @@ type ActivityStreamsFormerTypeProperty interface { // for a property "formerType". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "formerType". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "formerType". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "formerType". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "formerType". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "formerType". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "formerType". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1266,6 +1165,10 @@ type ActivityStreamsFormerTypeProperty interface { // property "formerType". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "formerType". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "formerType". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1467,31 +1370,15 @@ type ActivityStreamsFormerTypeProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "formerType". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "formerType". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "formerType". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "formerType". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "formerType". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "formerType". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "formerType". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "formerType". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "formerType". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "formerType". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "formerType". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1720,30 +1607,6 @@ type ActivityStreamsFormerTypeProperty interface { // for the property "formerType". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "formerType". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "formerType". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "formerType". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "formerType". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "formerType". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "formerType". Panics if the index - // is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1751,6 +1614,10 @@ type ActivityStreamsFormerTypeProperty interface { // property "formerType". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "formerType". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "formerType". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_generator_interface.go b/streams/vocab/gen_property_activitystreams_generator_interface.go index 0f9059d..c452f25 100644 --- a/streams/vocab/gen_property_activitystreams_generator_interface.go +++ b/streams/vocab/gen_property_activitystreams_generator_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsGeneratorPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsGeneratorPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsGeneratorPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsGeneratorPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -978,30 +922,6 @@ type ActivityStreamsGeneratorProperty interface { // the property "generator". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "generator". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "generator". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "generator". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "generator". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "generator". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "generator". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "generator" AppendIRI(v *url.URL) @@ -1009,6 +929,10 @@ type ActivityStreamsGeneratorProperty interface { // property "generator". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "generator". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "generator". Invalidates iterators that are // traversing using Prev. @@ -1258,31 +1182,6 @@ type ActivityStreamsGeneratorProperty interface { // for a property "generator". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "generator". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "generator". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "generator". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "generator". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "generator". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "generator". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1291,6 +1190,10 @@ type ActivityStreamsGeneratorProperty interface { // property "generator". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "generator". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "generator". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1494,31 +1397,15 @@ type ActivityStreamsGeneratorProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "generator". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "generator". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "generator". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "generator". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "generator". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "generator". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "generator". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "generator". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "generator". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "generator". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "generator". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1752,30 +1639,6 @@ type ActivityStreamsGeneratorProperty interface { // for the property "generator". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "generator". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "generator". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "generator". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "generator". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "generator". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "generator". Panics if the index - // is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1783,6 +1646,10 @@ type ActivityStreamsGeneratorProperty interface { // property "generator". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "generator". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "generator". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go index fbd95d1..6479bb1 100644 --- a/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go +++ b/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsInReplyToPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsInReplyToPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsInReplyToPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsInReplyToPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -987,30 +931,6 @@ type ActivityStreamsInReplyToProperty interface { // the property "inReplyTo". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "inReplyTo". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "inReplyTo". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "inReplyTo". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "inReplyTo". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "inReplyTo". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "inReplyTo". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "inReplyTo" AppendIRI(v *url.URL) @@ -1018,6 +938,10 @@ type ActivityStreamsInReplyToProperty interface { // property "inReplyTo". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "inReplyTo". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "inReplyTo". Invalidates iterators that are // traversing using Prev. @@ -1267,31 +1191,6 @@ type ActivityStreamsInReplyToProperty interface { // for a property "inReplyTo". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "inReplyTo". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "inReplyTo". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "inReplyTo". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "inReplyTo". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "inReplyTo". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "inReplyTo". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1300,6 +1199,10 @@ type ActivityStreamsInReplyToProperty interface { // property "inReplyTo". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "inReplyTo". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "inReplyTo". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1503,31 +1406,15 @@ type ActivityStreamsInReplyToProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "inReplyTo". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "inReplyTo". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "inReplyTo". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "inReplyTo". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "inReplyTo". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "inReplyTo". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "inReplyTo". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "inReplyTo". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "inReplyTo". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "inReplyTo". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "inReplyTo". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1761,30 +1648,6 @@ type ActivityStreamsInReplyToProperty interface { // for the property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "inReplyTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "inReplyTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "inReplyTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "inReplyTo". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "inReplyTo". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "inReplyTo". Panics if the index - // is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1792,6 +1655,10 @@ type ActivityStreamsInReplyToProperty interface { // property "inReplyTo". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "inReplyTo". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "inReplyTo". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_instrument_interface.go b/streams/vocab/gen_property_activitystreams_instrument_interface.go index d89ec62..f5ee74d 100644 --- a/streams/vocab/gen_property_activitystreams_instrument_interface.go +++ b/streams/vocab/gen_property_activitystreams_instrument_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsInstrumentPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsInstrumentPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsInstrumentPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsInstrumentPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -984,30 +928,6 @@ type ActivityStreamsInstrumentProperty interface { // the property "instrument". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "instrument". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "instrument". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "instrument". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "instrument". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "instrument". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "instrument". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "instrument" AppendIRI(v *url.URL) @@ -1015,6 +935,10 @@ type ActivityStreamsInstrumentProperty interface { // property "instrument". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "instrument". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "instrument". Invalidates iterators that are // traversing using Prev. @@ -1264,31 +1188,6 @@ type ActivityStreamsInstrumentProperty interface { // for a property "instrument". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "instrument". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "instrument". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "instrument". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "instrument". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "instrument". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "instrument". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1297,6 +1196,10 @@ type ActivityStreamsInstrumentProperty interface { // property "instrument". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "instrument". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "instrument". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1500,31 +1403,15 @@ type ActivityStreamsInstrumentProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "instrument". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "instrument". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "instrument". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "instrument". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "instrument". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "instrument". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "instrument". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "instrument". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "instrument". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "instrument". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "instrument". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1758,30 +1645,6 @@ type ActivityStreamsInstrumentProperty interface { // for the property "instrument". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "instrument". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "instrument". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "instrument". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "instrument". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "instrument". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "instrument". Panics if the index - // is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1789,6 +1652,10 @@ type ActivityStreamsInstrumentProperty interface { // property "instrument". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "instrument". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "instrument". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_items_interface.go b/streams/vocab/gen_property_activitystreams_items_interface.go index f5b0ee0..d5b87be 100644 --- a/streams/vocab/gen_property_activitystreams_items_interface.go +++ b/streams/vocab/gen_property_activitystreams_items_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsItemsPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsItemsPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsItemsPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsItemsPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -985,30 +929,6 @@ type ActivityStreamsItemsProperty interface { // the property "items". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "items". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "items". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "items". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "items". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "items". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "items". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "items" AppendIRI(v *url.URL) @@ -1016,6 +936,10 @@ type ActivityStreamsItemsProperty interface { // property "items". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "items". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "items". Invalidates iterators that are // traversing using Prev. @@ -1260,30 +1184,6 @@ type ActivityStreamsItemsProperty interface { // for a property "items". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "items". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "items". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "items". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "items". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "items". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "items". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1292,6 +1192,10 @@ type ActivityStreamsItemsProperty interface { // property "items". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "items". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "items". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1490,31 +1394,15 @@ type ActivityStreamsItemsProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "items". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "items". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "items". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "items". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "items". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "items". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "items". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "items". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "items". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "items". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "items". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1748,30 +1636,6 @@ type ActivityStreamsItemsProperty interface { // for the property "items". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "items". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "items". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "items". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "items". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "items". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "items". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1779,6 +1643,10 @@ type ActivityStreamsItemsProperty interface { // property "items". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "items". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "items". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_location_interface.go b/streams/vocab/gen_property_activitystreams_location_interface.go index ca310a4..e6c19c8 100644 --- a/streams/vocab/gen_property_activitystreams_location_interface.go +++ b/streams/vocab/gen_property_activitystreams_location_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsLocationPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsLocationPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsLocationPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsLocationPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -982,30 +926,6 @@ type ActivityStreamsLocationProperty interface { // the property "location". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "location". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "location". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "location". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "location". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "location". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "location". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "location" AppendIRI(v *url.URL) @@ -1013,6 +933,10 @@ type ActivityStreamsLocationProperty interface { // property "location". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "location". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "location". Invalidates iterators that are // traversing using Prev. @@ -1262,31 +1186,6 @@ type ActivityStreamsLocationProperty interface { // for a property "location". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "location". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "location". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "location". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "location". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "location". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "location". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1295,6 +1194,10 @@ type ActivityStreamsLocationProperty interface { // property "location". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "location". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "location". Existing elements at that index // and higher are shifted back once. Invalidates all iterators. @@ -1497,31 +1400,15 @@ type ActivityStreamsLocationProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "location". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "location". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "location". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "location". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "location". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "location". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "location". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "location". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "location". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "location". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "location". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1755,30 +1642,6 @@ type ActivityStreamsLocationProperty interface { // for the property "location". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "location". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "location". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "location". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "location". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "location". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "location". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1786,6 +1649,10 @@ type ActivityStreamsLocationProperty interface { // property "location". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "location". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "location". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_object_interface.go b/streams/vocab/gen_property_activitystreams_object_interface.go index 6feaa13..1a9fb68 100644 --- a/streams/vocab/gen_property_activitystreams_object_interface.go +++ b/streams/vocab/gen_property_activitystreams_object_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsObjectPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsObjectPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsObjectPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsObjectPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -1003,30 +947,6 @@ type ActivityStreamsObjectProperty interface { // the property "object". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "object". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "object". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "object". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "object". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "object". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "object". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "object" AppendIRI(v *url.URL) @@ -1034,6 +954,10 @@ type ActivityStreamsObjectProperty interface { // property "object". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "object". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "object". Invalidates iterators that are // traversing using Prev. @@ -1278,30 +1202,6 @@ type ActivityStreamsObjectProperty interface { // for a property "object". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "object". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "object". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "object". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "object". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "object". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "object". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1310,6 +1210,10 @@ type ActivityStreamsObjectProperty interface { // property "object". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "object". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "object". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1508,31 +1412,15 @@ type ActivityStreamsObjectProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "object". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "object". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "object". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "object". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "object". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "object". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "object". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "object". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "object". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "object". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "object". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1766,30 +1654,6 @@ type ActivityStreamsObjectProperty interface { // for the property "object". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "object". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "object". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "object". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "object". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "object". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "object". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1797,6 +1661,10 @@ type ActivityStreamsObjectProperty interface { // property "object". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "object". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "object". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/streams/vocab/gen_property_activitystreams_oneOf_interface.go index e8c8fa9..ed9cf78 100644 --- a/streams/vocab/gen_property_activitystreams_oneOf_interface.go +++ b/streams/vocab/gen_property_activitystreams_oneOf_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsOneOfPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsOneOfPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsOneOfPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsOneOfPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -985,30 +929,6 @@ type ActivityStreamsOneOfProperty interface { // the property "oneOf". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "oneOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "oneOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "oneOf". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "oneOf". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "oneOf". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "oneOf". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "oneOf" AppendIRI(v *url.URL) @@ -1016,6 +936,10 @@ type ActivityStreamsOneOfProperty interface { // property "oneOf". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "oneOf". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "oneOf". Invalidates iterators that are // traversing using Prev. @@ -1260,30 +1184,6 @@ type ActivityStreamsOneOfProperty interface { // for a property "oneOf". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "oneOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "oneOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "oneOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "oneOf". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "oneOf". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "oneOf". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1292,6 +1192,10 @@ type ActivityStreamsOneOfProperty interface { // property "oneOf". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "oneOf". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "oneOf". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1490,31 +1394,15 @@ type ActivityStreamsOneOfProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "oneOf". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "oneOf". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "oneOf". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "oneOf". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "oneOf". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "oneOf". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "oneOf". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "oneOf". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "oneOf". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "oneOf". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "oneOf". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1748,30 +1636,6 @@ type ActivityStreamsOneOfProperty interface { // for the property "oneOf". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "oneOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "oneOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "oneOf". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "oneOf". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "oneOf". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "oneOf". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1779,6 +1643,10 @@ type ActivityStreamsOneOfProperty interface { // property "oneOf". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "oneOf". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "oneOf". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/streams/vocab/gen_property_activitystreams_orderedItems_interface.go index a5ef17c..8a3543e 100644 --- a/streams/vocab/gen_property_activitystreams_orderedItems_interface.go +++ b/streams/vocab/gen_property_activitystreams_orderedItems_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -986,30 +930,6 @@ type ActivityStreamsOrderedItemsProperty interface { // the property "orderedItems". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "orderedItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "orderedItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "orderedItems". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "orderedItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "orderedItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "orderedItems". Invalidates - // iterators that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "orderedItems" AppendIRI(v *url.URL) @@ -1017,6 +937,10 @@ type ActivityStreamsOrderedItemsProperty interface { // property "orderedItems". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "orderedItems". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "orderedItems". Invalidates iterators that are // traversing using Prev. @@ -1266,31 +1190,6 @@ type ActivityStreamsOrderedItemsProperty interface { // for a property "orderedItems". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "orderedItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "orderedItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "orderedItems". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "orderedItems". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "orderedItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "orderedItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1299,6 +1198,10 @@ type ActivityStreamsOrderedItemsProperty interface { // property "orderedItems". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "orderedItems". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "orderedItems". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. @@ -1502,31 +1405,15 @@ type ActivityStreamsOrderedItemsProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "orderedItems". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "orderedItems". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "orderedItems". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "orderedItems". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "orderedItems". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "orderedItems". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "orderedItems". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "orderedItems". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "orderedItems". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "orderedItems". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "orderedItems". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1760,30 +1647,6 @@ type ActivityStreamsOrderedItemsProperty interface { // for the property "orderedItems". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "orderedItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "orderedItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "orderedItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "orderedItems". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "orderedItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "orderedItems". Panics if the - // index is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1791,6 +1654,10 @@ type ActivityStreamsOrderedItemsProperty interface { // property "orderedItems". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "orderedItems". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "orderedItems". Panics if the index is out // of bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_origin_interface.go b/streams/vocab/gen_property_activitystreams_origin_interface.go index 3fb7edc..f64260d 100644 --- a/streams/vocab/gen_property_activitystreams_origin_interface.go +++ b/streams/vocab/gen_property_activitystreams_origin_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsOriginPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsOriginPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsOriginPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsOriginPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -986,30 +930,6 @@ type ActivityStreamsOriginProperty interface { // the property "origin". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "origin". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "origin". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "origin". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "origin". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "origin". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "origin". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "origin" AppendIRI(v *url.URL) @@ -1017,6 +937,10 @@ type ActivityStreamsOriginProperty interface { // property "origin". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "origin". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "origin". Invalidates iterators that are // traversing using Prev. @@ -1261,30 +1185,6 @@ type ActivityStreamsOriginProperty interface { // for a property "origin". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "origin". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "origin". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "origin". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "origin". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "origin". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "origin". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1293,6 +1193,10 @@ type ActivityStreamsOriginProperty interface { // property "origin". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "origin". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "origin". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1491,31 +1395,15 @@ type ActivityStreamsOriginProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "origin". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "origin". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "origin". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "origin". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "origin". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "origin". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "origin". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "origin". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "origin". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "origin". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "origin". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1749,30 +1637,6 @@ type ActivityStreamsOriginProperty interface { // for the property "origin". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "origin". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "origin". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "origin". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "origin". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "origin". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "origin". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1780,6 +1644,10 @@ type ActivityStreamsOriginProperty interface { // property "origin". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "origin". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "origin". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_preview_interface.go b/streams/vocab/gen_property_activitystreams_preview_interface.go index d7045f9..b5a54d7 100644 --- a/streams/vocab/gen_property_activitystreams_preview_interface.go +++ b/streams/vocab/gen_property_activitystreams_preview_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsPreviewPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsPreviewPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsPreviewPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsPreviewPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -983,30 +927,6 @@ type ActivityStreamsPreviewProperty interface { // the property "preview". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "preview". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "preview". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "preview". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "preview". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "preview". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "preview". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "preview" AppendIRI(v *url.URL) @@ -1014,6 +934,10 @@ type ActivityStreamsPreviewProperty interface { // property "preview". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "preview". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "preview". Invalidates iterators that are // traversing using Prev. @@ -1258,30 +1182,6 @@ type ActivityStreamsPreviewProperty interface { // for a property "preview". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "preview". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "preview". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "preview". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "preview". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "preview". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "preview". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1290,6 +1190,10 @@ type ActivityStreamsPreviewProperty interface { // property "preview". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "preview". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "preview". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1492,31 +1396,15 @@ type ActivityStreamsPreviewProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "preview". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "preview". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "preview". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "preview". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "preview". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "preview". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "preview". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "preview". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "preview". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "preview". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "preview". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1750,30 +1638,6 @@ type ActivityStreamsPreviewProperty interface { // for the property "preview". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "preview". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "preview". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "preview". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "preview". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "preview". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "preview". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1781,6 +1645,10 @@ type ActivityStreamsPreviewProperty interface { // property "preview". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "preview". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "preview". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_relationship_interface.go b/streams/vocab/gen_property_activitystreams_relationship_interface.go index 25aeb00..97c34db 100644 --- a/streams/vocab/gen_property_activitystreams_relationship_interface.go +++ b/streams/vocab/gen_property_activitystreams_relationship_interface.go @@ -217,35 +217,15 @@ type ActivityStreamsRelationshipPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -480,31 +460,6 @@ type ActivityStreamsRelationshipPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -512,6 +467,10 @@ type ActivityStreamsRelationshipPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -695,30 +654,15 @@ type ActivityStreamsRelationshipPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -955,30 +899,6 @@ type ActivityStreamsRelationshipProperty interface { // the property "relationship". Invalidates iterators that are // traversing using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "relationship". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "relationship". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "relationship". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "relationship". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "relationship". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "relationship". Invalidates - // iterators that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "relationship" AppendIRI(v *url.URL) @@ -986,6 +906,10 @@ type ActivityStreamsRelationshipProperty interface { // property "relationship". Invalidates iterators that are traversing // using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "relationship". Invalidates iterators that are traversing + // using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "relationship". Invalidates iterators that are // traversing using Prev. @@ -1227,31 +1151,6 @@ type ActivityStreamsRelationshipProperty interface { // for a property "relationship". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "relationship". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "relationship". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "relationship". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "relationship". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "relationship". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "relationship". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1260,6 +1159,10 @@ type ActivityStreamsRelationshipProperty interface { // property "relationship". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "relationship". Existing elements at that index and higher + // are shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "relationship". Existing elements at that // index and higher are shifted back once. Invalidates all iterators. @@ -1457,31 +1360,15 @@ type ActivityStreamsRelationshipProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "relationship". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "relationship". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "relationship". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "relationship". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "relationship". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "relationship". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "relationship". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "relationship". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "relationship". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "relationship". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "relationship". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1707,30 +1594,6 @@ type ActivityStreamsRelationshipProperty interface { // for the property "relationship". Panics if the index is out of // bounds. Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "relationship". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "relationship". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "relationship". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "relationship". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "relationship". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "relationship". Panics if the - // index is out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1738,6 +1601,10 @@ type ActivityStreamsRelationshipProperty interface { // property "relationship". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "relationship". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "relationship". Panics if the index is out // of bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_result_interface.go b/streams/vocab/gen_property_activitystreams_result_interface.go index d028b6b..5da882c 100644 --- a/streams/vocab/gen_property_activitystreams_result_interface.go +++ b/streams/vocab/gen_property_activitystreams_result_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsResultPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsResultPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsResultPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsResultPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -984,30 +928,6 @@ type ActivityStreamsResultProperty interface { // the property "result". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "result". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "result". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "result". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "result". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "result". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "result". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "result" AppendIRI(v *url.URL) @@ -1015,6 +935,10 @@ type ActivityStreamsResultProperty interface { // property "result". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "result". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "result". Invalidates iterators that are // traversing using Prev. @@ -1259,30 +1183,6 @@ type ActivityStreamsResultProperty interface { // for a property "result". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "result". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "result". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "result". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "result". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "result". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "result". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1291,6 +1191,10 @@ type ActivityStreamsResultProperty interface { // property "result". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "result". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "result". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1489,31 +1393,15 @@ type ActivityStreamsResultProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "result". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "result". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "result". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "result". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "result". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "result". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "result". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "result". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "result". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "result". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "result". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1747,30 +1635,6 @@ type ActivityStreamsResultProperty interface { // for the property "result". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "result". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "result". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "result". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "result". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "result". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "result". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1778,6 +1642,10 @@ type ActivityStreamsResultProperty interface { // property "result". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "result". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "result". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_source_interface.go b/streams/vocab/gen_property_activitystreams_source_interface.go index 546bfe8..0b3d3c3 100644 --- a/streams/vocab/gen_property_activitystreams_source_interface.go +++ b/streams/vocab/gen_property_activitystreams_source_interface.go @@ -247,35 +247,15 @@ type ActivityStreamsSourceProperty interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -518,31 +498,6 @@ type ActivityStreamsSourceProperty interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -550,6 +505,10 @@ type ActivityStreamsSourceProperty interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -740,30 +699,15 @@ type ActivityStreamsSourceProperty interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) diff --git a/streams/vocab/gen_property_activitystreams_subject_interface.go b/streams/vocab/gen_property_activitystreams_subject_interface.go index 897cb32..292c920 100644 --- a/streams/vocab/gen_property_activitystreams_subject_interface.go +++ b/streams/vocab/gen_property_activitystreams_subject_interface.go @@ -244,35 +244,15 @@ type ActivityStreamsSubjectProperty interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -515,31 +495,6 @@ type ActivityStreamsSubjectProperty interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -547,6 +502,10 @@ type ActivityStreamsSubjectProperty interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -737,30 +696,15 @@ type ActivityStreamsSubjectProperty interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) diff --git a/streams/vocab/gen_property_activitystreams_tag_interface.go b/streams/vocab/gen_property_activitystreams_tag_interface.go index 9b6d5b8..2369553 100644 --- a/streams/vocab/gen_property_activitystreams_tag_interface.go +++ b/streams/vocab/gen_property_activitystreams_tag_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsTagPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsTagPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsTagPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsTagPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -982,30 +926,6 @@ type ActivityStreamsTagProperty interface { // the property "tag". Invalidates iterators that are traversing using // Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "tag". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "tag". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "tag". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "tag". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "tag". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "tag". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "tag" AppendIRI(v *url.URL) @@ -1013,6 +933,10 @@ type ActivityStreamsTagProperty interface { // property "tag". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "tag". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "tag". Invalidates iterators that are // traversing using Prev. @@ -1254,30 +1178,6 @@ type ActivityStreamsTagProperty interface { // for a property "tag". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "tag". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "tag". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "tag". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "tag". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "tag". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "tag". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1286,6 +1186,10 @@ type ActivityStreamsTagProperty interface { // property "tag". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "tag". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "tag". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1484,31 +1388,15 @@ type ActivityStreamsTagProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "tag". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "tag". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "tag". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "tag". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "tag". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "tag". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "tag". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "tag". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "tag". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "tag". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "tag". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1742,30 +1630,6 @@ type ActivityStreamsTagProperty interface { // for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "tag". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "tag". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "tag". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "tag". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "tag". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "tag". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1773,6 +1637,10 @@ type ActivityStreamsTagProperty interface { // property "tag". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "tag". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "tag". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_target_interface.go b/streams/vocab/gen_property_activitystreams_target_interface.go index 4d84262..d225afe 100644 --- a/streams/vocab/gen_property_activitystreams_target_interface.go +++ b/streams/vocab/gen_property_activitystreams_target_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsTargetPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsTargetPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsTargetPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsTargetPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -992,30 +936,6 @@ type ActivityStreamsTargetProperty interface { // the property "target". Invalidates iterators that are traversing // using Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "target". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "target". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "target". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "target". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "target". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "target". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "target" AppendIRI(v *url.URL) @@ -1023,6 +943,10 @@ type ActivityStreamsTargetProperty interface { // property "target". Invalidates iterators that are traversing using // Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "target". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "target". Invalidates iterators that are // traversing using Prev. @@ -1267,30 +1191,6 @@ type ActivityStreamsTargetProperty interface { // for a property "target". Existing elements at that index and higher // are shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "target". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "target". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "target". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "target". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "target". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "target". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1299,6 +1199,10 @@ type ActivityStreamsTargetProperty interface { // property "target". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "target". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "target". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1497,31 +1401,15 @@ type ActivityStreamsTargetProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "target". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "target". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "target". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "target". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "target". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "target". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "target". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "target". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "target". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "target". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "target". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1755,30 +1643,6 @@ type ActivityStreamsTargetProperty interface { // for the property "target". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "target". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "target". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "target". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "target". Panics if the index is out of - // bounds. Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "target". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "target". Panics if the index is - // out of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1786,6 +1650,10 @@ type ActivityStreamsTargetProperty interface { // property "target". Panics if the index is out of bounds. // Invalidates all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "target". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "target". Panics if the index is out of // bounds. Invalidates all iterators. diff --git a/streams/vocab/gen_property_activitystreams_to_interface.go b/streams/vocab/gen_property_activitystreams_to_interface.go index 8c7ffc0..3f2e0e1 100644 --- a/streams/vocab/gen_property_activitystreams_to_interface.go +++ b/streams/vocab/gen_property_activitystreams_to_interface.go @@ -225,35 +225,15 @@ type ActivityStreamsToPropertyIterator interface { // IsActivityStreamsView returns false, GetActivityStreamsView will // return an arbitrary value. GetActivityStreamsView() ActivityStreamsView - // GetForgeFedBranch returns the value of this property. When - // IsForgeFedBranch returns false, GetForgeFedBranch will return an - // arbitrary value. - GetForgeFedBranch() ForgeFedBranch - // GetForgeFedCommit returns the value of this property. When - // IsForgeFedCommit returns false, GetForgeFedCommit will return an - // arbitrary value. - GetForgeFedCommit() ForgeFedCommit - // GetForgeFedPush returns the value of this property. When IsForgeFedPush - // returns false, GetForgeFedPush will return an arbitrary value. - GetForgeFedPush() ForgeFedPush - // GetForgeFedRepository returns the value of this property. When - // IsForgeFedRepository returns false, GetForgeFedRepository will - // return an arbitrary value. - GetForgeFedRepository() ForgeFedRepository - // GetForgeFedTicket returns the value of this property. When - // IsForgeFedTicket returns false, GetForgeFedTicket will return an - // arbitrary value. - GetForgeFedTicket() ForgeFedTicket - // GetForgeFedTicketDependency returns the value of this property. When - // IsForgeFedTicketDependency returns false, - // GetForgeFedTicketDependency will return an arbitrary value. - GetForgeFedTicketDependency() ForgeFedTicketDependency // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL // GetTootEmoji returns the value of this property. When IsTootEmoji // returns false, GetTootEmoji will return an arbitrary value. GetTootEmoji() TootEmoji + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetTootIdentityProof returns the value of this property. When // IsTootIdentityProof returns false, GetTootIdentityProof will return // an arbitrary value. @@ -496,31 +476,6 @@ type ActivityStreamsToPropertyIterator interface { // "View". When true, use the GetActivityStreamsView and // SetActivityStreamsView methods to access and set this property. IsActivityStreamsView() bool - // IsForgeFedBranch returns true if this property has a type of "Branch". - // When true, use the GetForgeFedBranch and SetForgeFedBranch methods - // to access and set this property. - IsForgeFedBranch() bool - // IsForgeFedCommit returns true if this property has a type of "Commit". - // When true, use the GetForgeFedCommit and SetForgeFedCommit methods - // to access and set this property. - IsForgeFedCommit() bool - // IsForgeFedPush returns true if this property has a type of "Push". When - // true, use the GetForgeFedPush and SetForgeFedPush methods to access - // and set this property. - IsForgeFedPush() bool - // IsForgeFedRepository returns true if this property has a type of - // "Repository". When true, use the GetForgeFedRepository and - // SetForgeFedRepository methods to access and set this property. - IsForgeFedRepository() bool - // IsForgeFedTicket returns true if this property has a type of "Ticket". - // When true, use the GetForgeFedTicket and SetForgeFedTicket methods - // to access and set this property. - IsForgeFedTicket() bool - // IsForgeFedTicketDependency returns true if this property has a type of - // "TicketDependency". When true, use the GetForgeFedTicketDependency - // and SetForgeFedTicketDependency methods to access and set this - // property. - IsForgeFedTicketDependency() bool // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() bool @@ -528,6 +483,10 @@ type ActivityStreamsToPropertyIterator interface { // true, use the GetTootEmoji and SetTootEmoji methods to access and // set this property. IsTootEmoji() bool + // IsTootHashtag returns true if this property has a type of "Hashtag". + // When true, use the GetTootHashtag and SetTootHashtag methods to + // access and set this property. + IsTootHashtag() bool // IsTootIdentityProof returns true if this property has a type of // "IdentityProof". When true, use the GetTootIdentityProof and // SetTootIdentityProof methods to access and set this property. @@ -717,30 +676,15 @@ type ActivityStreamsToPropertyIterator interface { // SetActivityStreamsView sets the value of this property. Calling // IsActivityStreamsView afterwards returns true. SetActivityStreamsView(v ActivityStreamsView) - // SetForgeFedBranch sets the value of this property. Calling - // IsForgeFedBranch afterwards returns true. - SetForgeFedBranch(v ForgeFedBranch) - // SetForgeFedCommit sets the value of this property. Calling - // IsForgeFedCommit afterwards returns true. - SetForgeFedCommit(v ForgeFedCommit) - // SetForgeFedPush sets the value of this property. Calling IsForgeFedPush - // afterwards returns true. - SetForgeFedPush(v ForgeFedPush) - // SetForgeFedRepository sets the value of this property. Calling - // IsForgeFedRepository afterwards returns true. - SetForgeFedRepository(v ForgeFedRepository) - // SetForgeFedTicket sets the value of this property. Calling - // IsForgeFedTicket afterwards returns true. - SetForgeFedTicket(v ForgeFedTicket) - // SetForgeFedTicketDependency sets the value of this property. Calling - // IsForgeFedTicketDependency afterwards returns true. - SetForgeFedTicketDependency(v ForgeFedTicketDependency) // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) // SetTootEmoji sets the value of this property. Calling IsTootEmoji // afterwards returns true. SetTootEmoji(v TootEmoji) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetTootIdentityProof sets the value of this property. Calling // IsTootIdentityProof afterwards returns true. SetTootIdentityProof(v TootIdentityProof) @@ -978,35 +922,15 @@ type ActivityStreamsToProperty interface { // the property "to". Invalidates iterators that are traversing using // Prev. AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "to". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "to". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "to". Invalidates iterators that are traversing using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "to". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "to". Invalidates iterators that are traversing using - // Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "to". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) // AppendIRI appends an IRI value to the back of a list of the property // "to" AppendIRI(v *url.URL) // AppendTootEmoji appends a Emoji value to the back of a list of the // property "to". Invalidates iterators that are traversing using Prev. AppendTootEmoji(v TootEmoji) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "to". Invalidates iterators that are traversing using Prev. + AppendTootHashtag(v TootHashtag) // AppendTootIdentityProof appends a IdentityProof value to the back of a // list of the property "to". Invalidates iterators that are // traversing using Prev. @@ -1248,30 +1172,6 @@ type ActivityStreamsToProperty interface { // for a property "to". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertActivityStreamsView(idx int, v ActivityStreamsView) - // InsertForgeFedBranch inserts a Branch value at the specified index for - // a property "to". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedBranch(idx int, v ForgeFedBranch) - // InsertForgeFedCommit inserts a Commit value at the specified index for - // a property "to". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedCommit(idx int, v ForgeFedCommit) - // InsertForgeFedPush inserts a Push value at the specified index for a - // property "to". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedPush(idx int, v ForgeFedPush) - // InsertForgeFedRepository inserts a Repository value at the specified - // index for a property "to". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertForgeFedRepository(idx int, v ForgeFedRepository) - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "to". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // InsertForgeFedTicketDependency inserts a TicketDependency value at the - // specified index for a property "to". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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. @@ -1280,6 +1180,10 @@ type ActivityStreamsToProperty interface { // property "to". Existing elements at that index and higher are // shifted back once. Invalidates all iterators. InsertTootEmoji(idx int, v TootEmoji) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "to". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // InsertTootIdentityProof inserts a IdentityProof value at the specified // index for a property "to". Existing elements at that index and // higher are shifted back once. Invalidates all iterators. @@ -1477,30 +1381,15 @@ type ActivityStreamsToProperty interface { // PrependActivityStreamsView prepends a View value to the front of a list // of the property "to". Invalidates all iterators. PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "to". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "to". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "to". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "to". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "to". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "to". Invalidates all iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) // PrependIRI prepends an IRI value to the front of a list of the property // "to". PrependIRI(v *url.URL) // PrependTootEmoji prepends a Emoji value to the front of a list of the // property "to". Invalidates all iterators. PrependTootEmoji(v TootEmoji) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "to". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependTootIdentityProof prepends a IdentityProof value to the front of // a list of the property "to". Invalidates all iterators. PrependTootIdentityProof(v TootIdentityProof) @@ -1734,30 +1623,6 @@ type ActivityStreamsToProperty interface { // for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. SetActivityStreamsView(idx int, v ActivityStreamsView) - // SetForgeFedBranch sets a Branch value to be at the specified index for - // the property "to". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedBranch(idx int, v ForgeFedBranch) - // SetForgeFedCommit sets a Commit value to be at the specified index for - // the property "to". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedCommit(idx int, v ForgeFedCommit) - // SetForgeFedPush sets a Push value to be at the specified index for the - // property "to". Panics if the index is out of bounds. Invalidates - // all iterators. - SetForgeFedPush(idx int, v ForgeFedPush) - // SetForgeFedRepository sets a Repository value to be at the specified - // index for the property "to". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedRepository(idx int, v ForgeFedRepository) - // SetForgeFedTicket sets a Ticket value to be at the specified index for - // the property "to". Panics if the index is out of bounds. - // Invalidates all iterators. - SetForgeFedTicket(idx int, v ForgeFedTicket) - // SetForgeFedTicketDependency sets a TicketDependency value to be at the - // specified index for the property "to". Panics if the index is out - // of bounds. Invalidates all iterators. - SetForgeFedTicketDependency(idx int, v ForgeFedTicketDependency) // 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) @@ -1765,6 +1630,10 @@ type ActivityStreamsToProperty interface { // property "to". Panics if the index is out of bounds. Invalidates // all iterators. SetTootEmoji(idx int, v TootEmoji) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "to". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetTootIdentityProof sets a IdentityProof value to be at the specified // index for the property "to". Panics if the index is out of bounds. // Invalidates all iterators. diff --git a/streams/vocab/gen_type_activitystreams_accept_interface.go b/streams/vocab/gen_type_activitystreams_accept_interface.go index bac356d..f03b99a 100644 --- a/streams/vocab/gen_type_activitystreams_accept_interface.go +++ b/streams/vocab/gen_type_activitystreams_accept_interface.go @@ -150,15 +150,6 @@ type ActivityStreamsAccept interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -258,12 +249,6 @@ type ActivityStreamsAccept interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_activity_interface.go b/streams/vocab/gen_type_activitystreams_activity_interface.go index f148dba..9bdaf9f 100644 --- a/streams/vocab/gen_type_activitystreams_activity_interface.go +++ b/streams/vocab/gen_type_activitystreams_activity_interface.go @@ -130,15 +130,6 @@ type ActivityStreamsActivity interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -239,12 +230,6 @@ type ActivityStreamsActivity interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_add_interface.go b/streams/vocab/gen_type_activitystreams_add_interface.go index 2f62d18..5692593 100644 --- a/streams/vocab/gen_type_activitystreams_add_interface.go +++ b/streams/vocab/gen_type_activitystreams_add_interface.go @@ -150,15 +150,6 @@ type ActivityStreamsAdd interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -258,12 +249,6 @@ type ActivityStreamsAdd interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_announce_interface.go b/streams/vocab/gen_type_activitystreams_announce_interface.go index 48d4312..be20f02 100644 --- a/streams/vocab/gen_type_activitystreams_announce_interface.go +++ b/streams/vocab/gen_type_activitystreams_announce_interface.go @@ -132,15 +132,6 @@ type ActivityStreamsAnnounce interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -241,12 +232,6 @@ type ActivityStreamsAnnounce interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_application_interface.go b/streams/vocab/gen_type_activitystreams_application_interface.go index f1ff7e5..122aed8 100644 --- a/streams/vocab/gen_type_activitystreams_application_interface.go +++ b/streams/vocab/gen_type_activitystreams_application_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsApplication interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -254,12 +245,6 @@ type ActivityStreamsApplication interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_arrive_interface.go b/streams/vocab/gen_type_activitystreams_arrive_interface.go index 5eaeacb..f4f2278 100644 --- a/streams/vocab/gen_type_activitystreams_arrive_interface.go +++ b/streams/vocab/gen_type_activitystreams_arrive_interface.go @@ -129,15 +129,6 @@ type ActivityStreamsArrive interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -235,12 +226,6 @@ type ActivityStreamsArrive interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_article_interface.go b/streams/vocab/gen_type_activitystreams_article_interface.go index 984114d..5c60072 100644 --- a/streams/vocab/gen_type_activitystreams_article_interface.go +++ b/streams/vocab/gen_type_activitystreams_article_interface.go @@ -106,15 +106,6 @@ type ActivityStreamsArticle interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -205,12 +196,6 @@ type ActivityStreamsArticle interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_audio_interface.go b/streams/vocab/gen_type_activitystreams_audio_interface.go index c840de2..74e3e39 100644 --- a/streams/vocab/gen_type_activitystreams_audio_interface.go +++ b/streams/vocab/gen_type_activitystreams_audio_interface.go @@ -108,15 +108,6 @@ type ActivityStreamsAudio interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -209,12 +200,6 @@ type ActivityStreamsAudio interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_block_interface.go b/streams/vocab/gen_type_activitystreams_block_interface.go index a813f1e..85b1973 100644 --- a/streams/vocab/gen_type_activitystreams_block_interface.go +++ b/streams/vocab/gen_type_activitystreams_block_interface.go @@ -123,15 +123,6 @@ type ActivityStreamsBlock interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -231,12 +222,6 @@ type ActivityStreamsBlock interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_collection_interface.go b/streams/vocab/gen_type_activitystreams_collection_interface.go index 43526fc..3a8b1e7 100644 --- a/streams/vocab/gen_type_activitystreams_collection_interface.go +++ b/streams/vocab/gen_type_activitystreams_collection_interface.go @@ -131,15 +131,6 @@ type ActivityStreamsCollection interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -240,12 +231,6 @@ type ActivityStreamsCollection interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_collectionpage_interface.go b/streams/vocab/gen_type_activitystreams_collectionpage_interface.go index ab0ed38..ae56c15 100644 --- a/streams/vocab/gen_type_activitystreams_collectionpage_interface.go +++ b/streams/vocab/gen_type_activitystreams_collectionpage_interface.go @@ -141,15 +141,6 @@ type ActivityStreamsCollectionPage interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -256,12 +247,6 @@ type ActivityStreamsCollectionPage interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_create_interface.go b/streams/vocab/gen_type_activitystreams_create_interface.go index 2d2e67d..0b86ebe 100644 --- a/streams/vocab/gen_type_activitystreams_create_interface.go +++ b/streams/vocab/gen_type_activitystreams_create_interface.go @@ -127,15 +127,6 @@ type ActivityStreamsCreate interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -235,12 +226,6 @@ type ActivityStreamsCreate interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_delete_interface.go b/streams/vocab/gen_type_activitystreams_delete_interface.go index d987998..9aba3b8 100644 --- a/streams/vocab/gen_type_activitystreams_delete_interface.go +++ b/streams/vocab/gen_type_activitystreams_delete_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsDelete interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -236,12 +227,6 @@ type ActivityStreamsDelete interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_dislike_interface.go b/streams/vocab/gen_type_activitystreams_dislike_interface.go index b7fb54e..1674930 100644 --- a/streams/vocab/gen_type_activitystreams_dislike_interface.go +++ b/streams/vocab/gen_type_activitystreams_dislike_interface.go @@ -120,15 +120,6 @@ type ActivityStreamsDislike interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -229,12 +220,6 @@ type ActivityStreamsDislike interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_document_interface.go b/streams/vocab/gen_type_activitystreams_document_interface.go index 46312ca..2901387 100644 --- a/streams/vocab/gen_type_activitystreams_document_interface.go +++ b/streams/vocab/gen_type_activitystreams_document_interface.go @@ -104,15 +104,6 @@ type ActivityStreamsDocument interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -206,12 +197,6 @@ type ActivityStreamsDocument interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_event_interface.go b/streams/vocab/gen_type_activitystreams_event_interface.go index bc25aee..9834bcc 100644 --- a/streams/vocab/gen_type_activitystreams_event_interface.go +++ b/streams/vocab/gen_type_activitystreams_event_interface.go @@ -105,15 +105,6 @@ type ActivityStreamsEvent interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -203,12 +194,6 @@ type ActivityStreamsEvent interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_flag_interface.go b/streams/vocab/gen_type_activitystreams_flag_interface.go index 0aa5d1a..117aa14 100644 --- a/streams/vocab/gen_type_activitystreams_flag_interface.go +++ b/streams/vocab/gen_type_activitystreams_flag_interface.go @@ -125,15 +125,6 @@ type ActivityStreamsFlag interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -233,12 +224,6 @@ type ActivityStreamsFlag interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_follow_interface.go b/streams/vocab/gen_type_activitystreams_follow_interface.go index fe7c5fd..108ca60 100644 --- a/streams/vocab/gen_type_activitystreams_follow_interface.go +++ b/streams/vocab/gen_type_activitystreams_follow_interface.go @@ -129,15 +129,6 @@ type ActivityStreamsFollow interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -237,12 +228,6 @@ type ActivityStreamsFollow interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_group_interface.go b/streams/vocab/gen_type_activitystreams_group_interface.go index 570d620..fdfaa64 100644 --- a/streams/vocab/gen_type_activitystreams_group_interface.go +++ b/streams/vocab/gen_type_activitystreams_group_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsGroup interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -253,12 +244,6 @@ type ActivityStreamsGroup interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_ignore_interface.go b/streams/vocab/gen_type_activitystreams_ignore_interface.go index 33d93ef..f6a5068 100644 --- a/streams/vocab/gen_type_activitystreams_ignore_interface.go +++ b/streams/vocab/gen_type_activitystreams_ignore_interface.go @@ -124,15 +124,6 @@ type ActivityStreamsIgnore interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -232,12 +223,6 @@ type ActivityStreamsIgnore interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_image_interface.go b/streams/vocab/gen_type_activitystreams_image_interface.go index b9151b8..dd50bb7 100644 --- a/streams/vocab/gen_type_activitystreams_image_interface.go +++ b/streams/vocab/gen_type_activitystreams_image_interface.go @@ -121,15 +121,6 @@ type ActivityStreamsImage interface { // GetActivityStreamsWidth returns the "width" property if it exists, and // nil otherwise. GetActivityStreamsWidth() ActivityStreamsWidthProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -226,12 +217,6 @@ type ActivityStreamsImage interface { SetActivityStreamsUrl(i ActivityStreamsUrlProperty) // SetActivityStreamsWidth sets the "width" property. SetActivityStreamsWidth(i ActivityStreamsWidthProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go b/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go index 8f42bb6..f442a85 100644 --- a/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go +++ b/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go @@ -125,15 +125,6 @@ type ActivityStreamsIntransitiveActivity interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -232,12 +223,6 @@ type ActivityStreamsIntransitiveActivity interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_invite_interface.go b/streams/vocab/gen_type_activitystreams_invite_interface.go index fd20885..f09a858 100644 --- a/streams/vocab/gen_type_activitystreams_invite_interface.go +++ b/streams/vocab/gen_type_activitystreams_invite_interface.go @@ -137,15 +137,6 @@ type ActivityStreamsInvite interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -245,12 +236,6 @@ type ActivityStreamsInvite interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_join_interface.go b/streams/vocab/gen_type_activitystreams_join_interface.go index d7135b9..8ecbb40 100644 --- a/streams/vocab/gen_type_activitystreams_join_interface.go +++ b/streams/vocab/gen_type_activitystreams_join_interface.go @@ -127,15 +127,6 @@ type ActivityStreamsJoin interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -235,12 +226,6 @@ type ActivityStreamsJoin interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_leave_interface.go b/streams/vocab/gen_type_activitystreams_leave_interface.go index 2226a3f..eb45cb5 100644 --- a/streams/vocab/gen_type_activitystreams_leave_interface.go +++ b/streams/vocab/gen_type_activitystreams_leave_interface.go @@ -141,15 +141,6 @@ type ActivityStreamsLeave interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -249,12 +240,6 @@ type ActivityStreamsLeave interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_like_interface.go b/streams/vocab/gen_type_activitystreams_like_interface.go index 87887a6..649428b 100644 --- a/streams/vocab/gen_type_activitystreams_like_interface.go +++ b/streams/vocab/gen_type_activitystreams_like_interface.go @@ -124,15 +124,6 @@ type ActivityStreamsLike interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -232,12 +223,6 @@ type ActivityStreamsLike interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_listen_interface.go b/streams/vocab/gen_type_activitystreams_listen_interface.go index 1bdd0d9..bd5110d 100644 --- a/streams/vocab/gen_type_activitystreams_listen_interface.go +++ b/streams/vocab/gen_type_activitystreams_listen_interface.go @@ -123,15 +123,6 @@ type ActivityStreamsListen interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -231,12 +222,6 @@ type ActivityStreamsListen interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_move_interface.go b/streams/vocab/gen_type_activitystreams_move_interface.go index 43359f6..8dc42bb 100644 --- a/streams/vocab/gen_type_activitystreams_move_interface.go +++ b/streams/vocab/gen_type_activitystreams_move_interface.go @@ -132,15 +132,6 @@ type ActivityStreamsMove interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -240,12 +231,6 @@ type ActivityStreamsMove interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_note_interface.go b/streams/vocab/gen_type_activitystreams_note_interface.go index 0cde211..d7ba747 100644 --- a/streams/vocab/gen_type_activitystreams_note_interface.go +++ b/streams/vocab/gen_type_activitystreams_note_interface.go @@ -105,15 +105,6 @@ type ActivityStreamsNote interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -203,12 +194,6 @@ type ActivityStreamsNote interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_object_interface.go b/streams/vocab/gen_type_activitystreams_object_interface.go index b6f3fef..d4f3d0d 100644 --- a/streams/vocab/gen_type_activitystreams_object_interface.go +++ b/streams/vocab/gen_type_activitystreams_object_interface.go @@ -107,15 +107,6 @@ type ActivityStreamsObject interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -205,12 +196,6 @@ type ActivityStreamsObject interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_offer_interface.go b/streams/vocab/gen_type_activitystreams_offer_interface.go index 6f4cc98..f00718f 100644 --- a/streams/vocab/gen_type_activitystreams_offer_interface.go +++ b/streams/vocab/gen_type_activitystreams_offer_interface.go @@ -131,15 +131,6 @@ type ActivityStreamsOffer interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -239,12 +230,6 @@ type ActivityStreamsOffer interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go b/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go index 9bb278e..6bd6889 100644 --- a/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go +++ b/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go @@ -130,18 +130,6 @@ type ActivityStreamsOrderedCollection interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedEarlyItems returns the "earlyItems" property if it exists, - // and nil otherwise. - GetForgeFedEarlyItems() ForgeFedEarlyItemsProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -242,14 +230,6 @@ type ActivityStreamsOrderedCollection interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedEarlyItems sets the "earlyItems" property. - SetForgeFedEarlyItems(i ForgeFedEarlyItemsProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go b/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go index 58f0cb3..1fdb337 100644 --- a/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go +++ b/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go @@ -144,18 +144,6 @@ type ActivityStreamsOrderedCollectionPage interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedEarlyItems returns the "earlyItems" property if it exists, - // and nil otherwise. - GetForgeFedEarlyItems() ForgeFedEarlyItemsProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -264,14 +252,6 @@ type ActivityStreamsOrderedCollectionPage interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedEarlyItems sets the "earlyItems" property. - SetForgeFedEarlyItems(i ForgeFedEarlyItemsProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_organization_interface.go b/streams/vocab/gen_type_activitystreams_organization_interface.go index 5bf86fc..5cc5ae8 100644 --- a/streams/vocab/gen_type_activitystreams_organization_interface.go +++ b/streams/vocab/gen_type_activitystreams_organization_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsOrganization interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -254,12 +245,6 @@ type ActivityStreamsOrganization interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_page_interface.go b/streams/vocab/gen_type_activitystreams_page_interface.go index f449c0a..9dbd863 100644 --- a/streams/vocab/gen_type_activitystreams_page_interface.go +++ b/streams/vocab/gen_type_activitystreams_page_interface.go @@ -104,15 +104,6 @@ type ActivityStreamsPage interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -205,12 +196,6 @@ type ActivityStreamsPage interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_person_interface.go b/streams/vocab/gen_type_activitystreams_person_interface.go index ca027e5..d02ce18 100644 --- a/streams/vocab/gen_type_activitystreams_person_interface.go +++ b/streams/vocab/gen_type_activitystreams_person_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsPerson interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -253,12 +244,6 @@ type ActivityStreamsPerson interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_place_interface.go b/streams/vocab/gen_type_activitystreams_place_interface.go index ac38a66..abc0d8b 100644 --- a/streams/vocab/gen_type_activitystreams_place_interface.go +++ b/streams/vocab/gen_type_activitystreams_place_interface.go @@ -129,15 +129,6 @@ type ActivityStreamsPlace interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -237,12 +228,6 @@ type ActivityStreamsPlace interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_profile_interface.go b/streams/vocab/gen_type_activitystreams_profile_interface.go index 27e84db..a147170 100644 --- a/streams/vocab/gen_type_activitystreams_profile_interface.go +++ b/streams/vocab/gen_type_activitystreams_profile_interface.go @@ -112,15 +112,6 @@ type ActivityStreamsProfile interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -213,12 +204,6 @@ type ActivityStreamsProfile interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_question_interface.go b/streams/vocab/gen_type_activitystreams_question_interface.go index a551b2a..1cb3847 100644 --- a/streams/vocab/gen_type_activitystreams_question_interface.go +++ b/streams/vocab/gen_type_activitystreams_question_interface.go @@ -146,15 +146,6 @@ type ActivityStreamsQuestion interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -262,12 +253,6 @@ type ActivityStreamsQuestion interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_read_interface.go b/streams/vocab/gen_type_activitystreams_read_interface.go index 2a6806b..5d28e80 100644 --- a/streams/vocab/gen_type_activitystreams_read_interface.go +++ b/streams/vocab/gen_type_activitystreams_read_interface.go @@ -123,15 +123,6 @@ type ActivityStreamsRead interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -231,12 +222,6 @@ type ActivityStreamsRead interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_reject_interface.go b/streams/vocab/gen_type_activitystreams_reject_interface.go index aa15967..552f8c8 100644 --- a/streams/vocab/gen_type_activitystreams_reject_interface.go +++ b/streams/vocab/gen_type_activitystreams_reject_interface.go @@ -131,15 +131,6 @@ type ActivityStreamsReject interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -239,12 +230,6 @@ type ActivityStreamsReject interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_relationship_interface.go b/streams/vocab/gen_type_activitystreams_relationship_interface.go index b0c161f..d375b8c 100644 --- a/streams/vocab/gen_type_activitystreams_relationship_interface.go +++ b/streams/vocab/gen_type_activitystreams_relationship_interface.go @@ -120,15 +120,6 @@ type ActivityStreamsRelationship interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -223,12 +214,6 @@ type ActivityStreamsRelationship interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_remove_interface.go b/streams/vocab/gen_type_activitystreams_remove_interface.go index 5ef981a..d36becf 100644 --- a/streams/vocab/gen_type_activitystreams_remove_interface.go +++ b/streams/vocab/gen_type_activitystreams_remove_interface.go @@ -146,15 +146,6 @@ type ActivityStreamsRemove interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -254,12 +245,6 @@ type ActivityStreamsRemove interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_service_interface.go b/streams/vocab/gen_type_activitystreams_service_interface.go index d62e421..9f4ac5a 100644 --- a/streams/vocab/gen_type_activitystreams_service_interface.go +++ b/streams/vocab/gen_type_activitystreams_service_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsService interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -254,12 +245,6 @@ type ActivityStreamsService interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go b/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go index 6a2feb2..14abb28 100644 --- a/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go +++ b/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go @@ -130,15 +130,6 @@ type ActivityStreamsTentativeAccept interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -239,12 +230,6 @@ type ActivityStreamsTentativeAccept interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_tentativereject_interface.go b/streams/vocab/gen_type_activitystreams_tentativereject_interface.go index 4f845c9..1ae710d 100644 --- a/streams/vocab/gen_type_activitystreams_tentativereject_interface.go +++ b/streams/vocab/gen_type_activitystreams_tentativereject_interface.go @@ -130,15 +130,6 @@ type ActivityStreamsTentativeReject interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -239,12 +230,6 @@ type ActivityStreamsTentativeReject interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_tombstone_interface.go b/streams/vocab/gen_type_activitystreams_tombstone_interface.go index 60ef273..27d572f 100644 --- a/streams/vocab/gen_type_activitystreams_tombstone_interface.go +++ b/streams/vocab/gen_type_activitystreams_tombstone_interface.go @@ -128,15 +128,6 @@ type ActivityStreamsTombstone interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -231,12 +222,6 @@ type ActivityStreamsTombstone interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_travel_interface.go b/streams/vocab/gen_type_activitystreams_travel_interface.go index c0913a8..6928c5a 100644 --- a/streams/vocab/gen_type_activitystreams_travel_interface.go +++ b/streams/vocab/gen_type_activitystreams_travel_interface.go @@ -129,15 +129,6 @@ type ActivityStreamsTravel interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -235,12 +226,6 @@ type ActivityStreamsTravel interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_undo_interface.go b/streams/vocab/gen_type_activitystreams_undo_interface.go index adc7795..62862bc 100644 --- a/streams/vocab/gen_type_activitystreams_undo_interface.go +++ b/streams/vocab/gen_type_activitystreams_undo_interface.go @@ -129,15 +129,6 @@ type ActivityStreamsUndo interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -237,12 +228,6 @@ type ActivityStreamsUndo interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_update_interface.go b/streams/vocab/gen_type_activitystreams_update_interface.go index 1e80395..9a4d105 100644 --- a/streams/vocab/gen_type_activitystreams_update_interface.go +++ b/streams/vocab/gen_type_activitystreams_update_interface.go @@ -126,15 +126,6 @@ type ActivityStreamsUpdate interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -234,12 +225,6 @@ type ActivityStreamsUpdate interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_video_interface.go b/streams/vocab/gen_type_activitystreams_video_interface.go index f34bc2b..7eff20f 100644 --- a/streams/vocab/gen_type_activitystreams_video_interface.go +++ b/streams/vocab/gen_type_activitystreams_video_interface.go @@ -105,15 +105,6 @@ type ActivityStreamsVideo interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -206,12 +197,6 @@ type ActivityStreamsVideo interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_activitystreams_view_interface.go b/streams/vocab/gen_type_activitystreams_view_interface.go index 0192185..92fa85e 100644 --- a/streams/vocab/gen_type_activitystreams_view_interface.go +++ b/streams/vocab/gen_type_activitystreams_view_interface.go @@ -126,15 +126,6 @@ type ActivityStreamsView interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -234,12 +225,6 @@ type ActivityStreamsView interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_toot_emoji_interface.go b/streams/vocab/gen_type_toot_emoji_interface.go index 0bd6694..7ebaf73 100644 --- a/streams/vocab/gen_type_toot_emoji_interface.go +++ b/streams/vocab/gen_type_toot_emoji_interface.go @@ -115,15 +115,6 @@ type TootEmoji interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -213,12 +204,6 @@ type TootEmoji interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property. diff --git a/streams/vocab/gen_type_toot_hashtag_interface.go b/streams/vocab/gen_type_toot_hashtag_interface.go new file mode 100644 index 0000000..438fa25 --- /dev/null +++ b/streams/vocab/gen_type_toot_hashtag_interface.go @@ -0,0 +1,209 @@ +// Code generated by astool. DO NOT EDIT. + +package vocab + +// +// +// { +// "content": "example", +// "id": "https://example.com/@alice/hello-world", +// "tag": [ +// { +// "href": "https://example.com/hashtag/example", +// "name": "#example", +// "type": "Hashtag" +// } +// ], +// "type": "Note" +// } +type TootHashtag 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 + // GetActivityStreamsShares returns the "shares" property if it exists, + // and nil otherwise. + GetActivityStreamsShares() ActivityStreamsSharesProperty + // GetActivityStreamsSource returns the "source" property if it exists, + // and nil otherwise. + GetActivityStreamsSource() ActivityStreamsSourceProperty + // GetActivityStreamsStartTime returns the "startTime" property if it + // exists, and nil otherwise. + GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsTag returns the "tag" property if it exists, and nil + // otherwise. + GetActivityStreamsTag() ActivityStreamsTagProperty + // GetActivityStreamsTo returns the "to" property if it exists, and nil + // otherwise. + GetActivityStreamsTo() ActivityStreamsToProperty + // GetActivityStreamsUpdated returns the "updated" property if it exists, + // and nil otherwise. + GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty + // GetActivityStreamsUrl returns the "url" property if it exists, and nil + // otherwise. + GetActivityStreamsUrl() ActivityStreamsUrlProperty + // GetJSONLDId returns the "id" property if it exists, and nil otherwise. + GetJSONLDId() JSONLDIdProperty + // GetJSONLDType returns the "type" property if it exists, and nil + // otherwise. + GetJSONLDType() JSONLDTypeProperty + // GetTypeName returns the name of this type. + GetTypeName() string + // GetUnknownProperties returns the unknown properties for the Hashtag + // 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 Hashtag 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 Hashtag is lesser, with an arbitrary but + // stable determination. + LessThan(o TootHashtag) 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) + // SetActivityStreamsShares sets the "shares" property. + SetActivityStreamsShares(i ActivityStreamsSharesProperty) + // SetActivityStreamsSource sets the "source" property. + SetActivityStreamsSource(i ActivityStreamsSourceProperty) + // SetActivityStreamsStartTime sets the "startTime" property. + SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsTag sets the "tag" property. + SetActivityStreamsTag(i ActivityStreamsTagProperty) + // SetActivityStreamsTo sets the "to" property. + SetActivityStreamsTo(i ActivityStreamsToProperty) + // SetActivityStreamsUpdated sets the "updated" property. + SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) + // SetActivityStreamsUrl sets the "url" property. + SetActivityStreamsUrl(i ActivityStreamsUrlProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/streams/vocab/gen_type_toot_identityproof_interface.go b/streams/vocab/gen_type_toot_identityproof_interface.go index 32a925e..9e87408 100644 --- a/streams/vocab/gen_type_toot_identityproof_interface.go +++ b/streams/vocab/gen_type_toot_identityproof_interface.go @@ -99,15 +99,6 @@ type TootIdentityProof interface { // GetActivityStreamsUrl returns the "url" property if it exists, and nil // otherwise. GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedTeam returns the "team" property if it exists, and nil - // otherwise. - GetForgeFedTeam() ForgeFedTeamProperty - // GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if - // it exists, and nil otherwise. - GetForgeFedTicketsTrackedBy() ForgeFedTicketsTrackedByProperty - // GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if - // it exists, and nil otherwise. - GetForgeFedTracksTicketsFor() ForgeFedTracksTicketsForProperty // GetJSONLDId returns the "id" property if it exists, and nil otherwise. GetJSONLDId() JSONLDIdProperty // GetJSONLDType returns the "type" property if it exists, and nil @@ -204,12 +195,6 @@ type TootIdentityProof interface { SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) // SetActivityStreamsUrl sets the "url" property. SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedTeam sets the "team" property. - SetForgeFedTeam(i ForgeFedTeamProperty) - // SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. - SetForgeFedTicketsTrackedBy(i ForgeFedTicketsTrackedByProperty) - // SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. - SetForgeFedTracksTicketsFor(i ForgeFedTracksTicketsForProperty) // SetJSONLDId sets the "id" property. SetJSONLDId(i JSONLDIdProperty) // SetJSONLDType sets the "type" property.