From cf4bd700fb9fd1c6915eefe12437a9e074d84c9b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 27 Jul 2023 20:54:30 +0200 Subject: [PATCH] [chore] Update activity dependency (#2031) --- go.mod | 2 +- go.sum | 4 +- .../activity/streams/gen_consts.go | 78 +- .../activity/streams/gen_init.go | 59 +- .../activity/streams/gen_json_resolver.go | 98 +- .../activity/streams/gen_manager.go | 340 +- .../streams/gen_pkg_forgefed_disjoint.go | 49 - .../streams/gen_pkg_forgefed_extendedby.go | 55 - .../streams/gen_pkg_forgefed_extends.go | 48 - .../streams/gen_pkg_forgefed_isorextends.go | 49 - .../gen_pkg_forgefed_property_constructors.go | 126 - .../gen_pkg_forgefed_type_constructors.go | 43 - .../activity/streams/gen_pkg_toot_disjoint.go | 7 + .../streams/gen_pkg_toot_extendedby.go | 8 + .../activity/streams/gen_pkg_toot_extends.go | 6 + .../streams/gen_pkg_toot_isorextends.go | 7 + .../streams/gen_pkg_toot_type_constructors.go | 6 + .../activity/streams/gen_resolver_utils.go | 21 +- .../streams/gen_type_predicated_resolver.go | 91 +- .../activity/streams/gen_type_resolver.go | 77 +- .../activitystreams/property_actor/gen_pkg.go | 26 +- .../gen_property_activitystreams_actor.go | 908 +-- .../activitystreams/property_anyof/gen_pkg.go | 26 +- .../gen_property_activitystreams_anyOf.go | 908 +-- .../property_attachment/gen_pkg.go | 26 +- ...gen_property_activitystreams_attachment.go | 910 +-- .../property_attributedto/gen_pkg.go | 26 +- ...n_property_activitystreams_attributedTo.go | 913 +-- .../property_audience/gen_pkg.go | 26 +- .../gen_property_activitystreams_audience.go | 909 +-- .../activitystreams/property_bcc/gen_pkg.go | 26 +- .../gen_property_activitystreams_bcc.go | 908 +-- .../activitystreams/property_bto/gen_pkg.go | 26 +- .../gen_property_activitystreams_bto.go | 908 +-- .../activitystreams/property_cc/gen_pkg.go | 26 +- .../gen_property_activitystreams_cc.go | 908 +-- .../property_closed/gen_pkg.go | 26 +- .../gen_property_activitystreams_closed.go | 908 +-- .../property_context/gen_pkg.go | 26 +- .../gen_property_activitystreams_context.go | 909 +-- .../property_current/gen_pkg.go | 3 + .../gen_property_activitystreams_current.go | 49 +- .../property_describes/gen_pkg.go | 23 - .../gen_property_activitystreams_describes.go | 362 +- .../activitystreams/property_first/gen_pkg.go | 3 + .../gen_property_activitystreams_first.go | 49 +- .../property_formertype/gen_pkg.go | 23 - ...gen_property_activitystreams_formerType.go | 806 +- .../property_generator/gen_pkg.go | 26 +- .../gen_property_activitystreams_generator.go | 910 +-- .../activitystreams/property_icon/gen_pkg.go | 3 + .../gen_property_activitystreams_icon.go | 106 +- .../activitystreams/property_image/gen_pkg.go | 3 + .../gen_property_activitystreams_image.go | 106 +- .../property_inreplyto/gen_pkg.go | 26 +- .../gen_property_activitystreams_inReplyTo.go | 910 +-- .../property_instrument/gen_pkg.go | 26 +- ...gen_property_activitystreams_instrument.go | 910 +-- .../activitystreams/property_items/gen_pkg.go | 26 +- .../gen_property_activitystreams_items.go | 908 +-- .../activitystreams/property_last/gen_pkg.go | 3 + .../gen_property_activitystreams_last.go | 49 +- .../property_location/gen_pkg.go | 26 +- .../gen_property_activitystreams_location.go | 909 +-- .../activitystreams/property_next/gen_pkg.go | 3 + .../gen_property_activitystreams_next.go | 49 +- .../property_object/gen_pkg.go | 26 +- .../gen_property_activitystreams_object.go | 908 +-- .../activitystreams/property_oneof/gen_pkg.go | 26 +- .../gen_property_activitystreams_oneOf.go | 908 +-- .../property_ordereditems/gen_pkg.go | 26 +- ...n_property_activitystreams_orderedItems.go | 913 +-- .../property_origin/gen_pkg.go | 26 +- .../gen_property_activitystreams_origin.go | 908 +-- .../property_partof/gen_pkg.go | 3 + .../gen_property_activitystreams_partOf.go | 51 +- .../activitystreams/property_prev/gen_pkg.go | 3 + .../gen_property_activitystreams_prev.go | 49 +- .../property_preview/gen_pkg.go | 26 +- .../gen_property_activitystreams_preview.go | 909 +-- .../property_relationship/gen_pkg.go | 23 - ...n_property_activitystreams_relationship.go | 809 +- .../property_result/gen_pkg.go | 26 +- .../gen_property_activitystreams_result.go | 908 +-- .../property_source/gen_pkg.go | 26 +- .../gen_property_activitystreams_source.go | 405 +- .../property_subject/gen_pkg.go | 26 +- .../gen_property_activitystreams_subject.go | 405 +- .../activitystreams/property_tag/gen_pkg.go | 26 +- .../gen_property_activitystreams_tag.go | 908 +-- .../property_target/gen_pkg.go | 26 +- .../gen_property_activitystreams_target.go | 908 +-- .../activitystreams/property_to/gen_pkg.go | 26 +- .../gen_property_activitystreams_to.go | 908 +-- .../activitystreams/property_url/gen_pkg.go | 3 + .../gen_property_activitystreams_url.go | 106 +- .../activitystreams/type_accept/gen_pkg.go | 12 - .../gen_type_activitystreams_accept.go | 127 +- .../activitystreams/type_activity/gen_pkg.go | 12 - .../gen_type_activitystreams_activity.go | 129 +- .../impl/activitystreams/type_add/gen_pkg.go | 12 - .../type_add/gen_type_activitystreams_add.go | 127 +- .../activitystreams/type_announce/gen_pkg.go | 12 - .../gen_type_activitystreams_announce.go | 127 +- .../type_application/gen_pkg.go | 12 - .../gen_type_activitystreams_application.go | 127 +- .../activitystreams/type_arrive/gen_pkg.go | 12 - .../gen_type_activitystreams_arrive.go | 127 +- .../activitystreams/type_article/gen_pkg.go | 12 - .../gen_type_activitystreams_article.go | 127 +- .../activitystreams/type_audio/gen_pkg.go | 12 - .../gen_type_activitystreams_audio.go | 127 +- .../activitystreams/type_block/gen_pkg.go | 12 - .../gen_type_activitystreams_block.go | 127 +- .../type_collection/gen_pkg.go | 12 - .../gen_type_activitystreams_collection.go | 127 +- .../type_collectionpage/gen_pkg.go | 12 - ...gen_type_activitystreams_collectionpage.go | 127 +- .../activitystreams/type_create/gen_pkg.go | 12 - .../gen_type_activitystreams_create.go | 127 +- .../activitystreams/type_delete/gen_pkg.go | 12 - .../gen_type_activitystreams_delete.go | 127 +- .../activitystreams/type_dislike/gen_pkg.go | 12 - .../gen_type_activitystreams_dislike.go | 127 +- .../activitystreams/type_document/gen_pkg.go | 12 - .../gen_type_activitystreams_document.go | 127 +- .../activitystreams/type_event/gen_pkg.go | 12 - .../gen_type_activitystreams_event.go | 127 +- .../impl/activitystreams/type_flag/gen_pkg.go | 12 - .../gen_type_activitystreams_flag.go | 127 +- .../activitystreams/type_follow/gen_pkg.go | 12 - .../gen_type_activitystreams_follow.go | 127 +- .../activitystreams/type_group/gen_pkg.go | 12 - .../gen_type_activitystreams_group.go | 127 +- .../activitystreams/type_ignore/gen_pkg.go | 12 - .../gen_type_activitystreams_ignore.go | 127 +- .../activitystreams/type_image/gen_pkg.go | 12 - .../gen_type_activitystreams_image.go | 127 +- .../type_intransitiveactivity/gen_pkg.go | 12 - ...pe_activitystreams_intransitiveactivity.go | 127 +- .../activitystreams/type_invite/gen_pkg.go | 12 - .../gen_type_activitystreams_invite.go | 127 +- .../impl/activitystreams/type_join/gen_pkg.go | 12 - .../gen_type_activitystreams_join.go | 127 +- .../activitystreams/type_leave/gen_pkg.go | 12 - .../gen_type_activitystreams_leave.go | 127 +- .../impl/activitystreams/type_like/gen_pkg.go | 12 - .../gen_type_activitystreams_like.go | 127 +- .../gen_type_activitystreams_link.go | 4 +- .../activitystreams/type_listen/gen_pkg.go | 12 - .../gen_type_activitystreams_listen.go | 127 +- .../gen_type_activitystreams_mention.go | 2 +- .../impl/activitystreams/type_move/gen_pkg.go | 12 - .../gen_type_activitystreams_move.go | 127 +- .../impl/activitystreams/type_note/gen_pkg.go | 12 - .../gen_type_activitystreams_note.go | 127 +- .../activitystreams/type_object/gen_pkg.go | 12 - .../gen_type_activitystreams_object.go | 129 +- .../activitystreams/type_offer/gen_pkg.go | 12 - .../gen_type_activitystreams_offer.go | 127 +- .../type_orderedcollection/gen_pkg.go | 16 - ..._type_activitystreams_orderedcollection.go | 169 +- .../type_orderedcollectionpage/gen_pkg.go | 16 - ...e_activitystreams_orderedcollectionpage.go | 169 +- .../type_organization/gen_pkg.go | 12 - .../gen_type_activitystreams_organization.go | 127 +- .../impl/activitystreams/type_page/gen_pkg.go | 12 - .../gen_type_activitystreams_page.go | 127 +- .../activitystreams/type_person/gen_pkg.go | 12 - .../gen_type_activitystreams_person.go | 127 +- .../activitystreams/type_place/gen_pkg.go | 12 - .../gen_type_activitystreams_place.go | 127 +- .../activitystreams/type_profile/gen_pkg.go | 12 - .../gen_type_activitystreams_profile.go | 127 +- .../activitystreams/type_question/gen_pkg.go | 12 - .../gen_type_activitystreams_question.go | 127 +- .../impl/activitystreams/type_read/gen_pkg.go | 12 - .../gen_type_activitystreams_read.go | 127 +- .../activitystreams/type_reject/gen_pkg.go | 12 - .../gen_type_activitystreams_reject.go | 127 +- .../type_relationship/gen_pkg.go | 12 - .../gen_type_activitystreams_relationship.go | 134 +- .../activitystreams/type_remove/gen_pkg.go | 12 - .../gen_type_activitystreams_remove.go | 127 +- .../activitystreams/type_service/gen_pkg.go | 12 - .../gen_type_activitystreams_service.go | 127 +- .../type_tentativeaccept/gen_pkg.go | 12 - ...en_type_activitystreams_tentativeaccept.go | 127 +- .../type_tentativereject/gen_pkg.go | 12 - ...en_type_activitystreams_tentativereject.go | 127 +- .../activitystreams/type_tombstone/gen_pkg.go | 12 - .../gen_type_activitystreams_tombstone.go | 127 +- .../activitystreams/type_travel/gen_pkg.go | 12 - .../gen_type_activitystreams_travel.go | 127 +- .../impl/activitystreams/type_undo/gen_pkg.go | 12 - .../gen_type_activitystreams_undo.go | 127 +- .../activitystreams/type_update/gen_pkg.go | 12 - .../gen_type_activitystreams_update.go | 127 +- .../activitystreams/type_video/gen_pkg.go | 12 - .../gen_type_activitystreams_video.go | 127 +- .../impl/activitystreams/type_view/gen_pkg.go | 12 - .../gen_type_activitystreams_view.go | 127 +- .../forgefed/property_assignedto/gen_doc.go | 17 - .../forgefed/property_assignedto/gen_pkg.go | 22 - .../gen_property_forgefed_assignedTo.go | 224 - .../forgefed/property_committed/gen_doc.go | 17 - .../forgefed/property_committed/gen_pkg.go | 15 - .../gen_property_forgefed_committed.go | 204 - .../forgefed/property_committedby/gen_doc.go | 17 - .../forgefed/property_committedby/gen_pkg.go | 261 - .../gen_property_forgefed_committedBy.go | 2979 ------- .../forgefed/property_dependants/gen_doc.go | 17 - .../forgefed/property_dependants/gen_pkg.go | 27 - .../gen_property_forgefed_dependants.go | 268 - .../forgefed/property_dependedby/gen_doc.go | 17 - .../forgefed/property_dependedby/gen_pkg.go | 22 - .../gen_property_forgefed_dependedBy.go | 622 -- .../forgefed/property_dependencies/gen_doc.go | 17 - .../forgefed/property_dependencies/gen_pkg.go | 27 - .../gen_property_forgefed_dependencies.go | 269 - .../forgefed/property_dependson/gen_doc.go | 17 - .../forgefed/property_dependson/gen_pkg.go | 22 - .../gen_property_forgefed_dependsOn.go | 619 -- .../forgefed/property_description/gen_doc.go | 17 - .../forgefed/property_description/gen_pkg.go | 261 - .../gen_property_forgefed_description.go | 2979 ------- .../forgefed/property_earlyitems/gen_doc.go | 17 - .../forgefed/property_earlyitems/gen_pkg.go | 269 - .../gen_property_forgefed_earlyItems.go | 7152 ----------------- .../forgefed/property_filesadded/gen_doc.go | 17 - .../forgefed/property_filesadded/gen_pkg.go | 15 - .../gen_property_forgefed_filesAdded.go | 531 -- .../property_filesmodified/gen_doc.go | 17 - .../property_filesmodified/gen_pkg.go | 15 - .../gen_property_forgefed_filesModified.go | 535 -- .../forgefed/property_filesremoved/gen_doc.go | 17 - .../forgefed/property_filesremoved/gen_pkg.go | 15 - .../gen_property_forgefed_filesRemoved.go | 535 -- .../impl/forgefed/property_forks/gen_doc.go | 17 - .../impl/forgefed/property_forks/gen_pkg.go | 27 - .../gen_property_forgefed_forks.go | 268 - .../impl/forgefed/property_hash/gen_doc.go | 17 - .../impl/forgefed/property_hash/gen_pkg.go | 15 - .../gen_property_forgefed_hash.go | 203 - .../forgefed/property_isresolved/gen_doc.go | 17 - .../forgefed/property_isresolved/gen_pkg.go | 15 - .../gen_property_forgefed_isResolved.go | 203 - .../impl/forgefed/property_ref/gen_pkg.go | 15 - .../property_ref/gen_property_forgefed_ref.go | 203 - .../impl/forgefed/property_team/gen_doc.go | 17 - .../impl/forgefed/property_team/gen_pkg.go | 35 - .../gen_property_forgefed_team.go | 360 - .../property_ticketstrackedby/gen_doc.go | 17 - .../property_ticketstrackedby/gen_pkg.go | 261 - .../gen_property_forgefed_ticketsTrackedBy.go | 2979 ------- .../property_tracksticketsfor/gen_doc.go | 17 - .../property_tracksticketsfor/gen_pkg.go | 261 - .../gen_property_forgefed_tracksTicketsFor.go | 6986 ---------------- .../impl/forgefed/type_branch/gen_doc.go | 17 - .../impl/forgefed/type_branch/gen_pkg.go | 195 - .../type_branch/gen_type_forgefed_branch.go | 1820 ----- .../impl/forgefed/type_commit/gen_doc.go | 17 - .../impl/forgefed/type_commit/gen_pkg.go | 219 - .../type_commit/gen_type_forgefed_commit.go | 2082 ----- .../impl/forgefed/type_push/gen_doc.go | 17 - .../impl/forgefed/type_push/gen_pkg.go | 211 - .../type_push/gen_type_forgefed_push.go | 2009 ----- .../impl/forgefed/type_repository/gen_doc.go | 17 - .../impl/forgefed/type_repository/gen_pkg.go | 195 - .../gen_type_forgefed_repository.go | 1828 ----- .../impl/forgefed/type_ticket/gen_doc.go | 17 - .../impl/forgefed/type_ticket/gen_pkg.go | 215 - .../type_ticket/gen_type_forgefed_ticket.go | 2040 ----- .../forgefed/type_ticketdependency/gen_doc.go | 17 - .../forgefed/type_ticketdependency/gen_pkg.go | 200 - .../gen_type_forgefed_ticketdependency.go | 1871 ----- .../impl/schema/type_propertyvalue/gen_pkg.go | 12 - .../gen_type_schema_propertyvalue.go | 127 +- .../streams/impl/toot/type_emoji/gen_pkg.go | 12 - .../toot/type_emoji/gen_type_toot_emoji.go | 127 +- .../type_hashtag}/gen_doc.go | 4 +- .../streams/impl/toot/type_hashtag/gen_pkg.go | 91 + .../type_hashtag/gen_type_toot_hashtag.go | 728 ++ .../impl/toot/type_identityproof/gen_pkg.go | 12 - .../gen_type_toot_identityproof.go | 127 +- ...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 +- ...perty_activitystreams_current_interface.go | 10 + ...rty_activitystreams_describes_interface.go | 66 - ...roperty_activitystreams_first_interface.go | 10 + ...ty_activitystreams_formerType_interface.go | 158 - ...rty_activitystreams_generator_interface.go | 183 +- ...property_activitystreams_icon_interface.go | 25 + ...roperty_activitystreams_image_interface.go | 25 + ...rty_activitystreams_inReplyTo_interface.go | 183 +- ...ty_activitystreams_instrument_interface.go | 183 +- ...roperty_activitystreams_items_interface.go | 182 +- ...property_activitystreams_last_interface.go | 10 + ...erty_activitystreams_location_interface.go | 183 +- ...property_activitystreams_next_interface.go | 10 + ...operty_activitystreams_object_interface.go | 182 +- ...roperty_activitystreams_oneOf_interface.go | 182 +- ..._activitystreams_orderedItems_interface.go | 183 +- ...operty_activitystreams_origin_interface.go | 182 +- ...operty_activitystreams_partOf_interface.go | 10 + ...property_activitystreams_prev_interface.go | 10 + ...perty_activitystreams_preview_interface.go | 182 +- ..._activitystreams_relationship_interface.go | 158 - ...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 +- ..._property_activitystreams_url_interface.go | 25 + ..._property_forgefed_assignedTo_interface.go | 60 - ...property_forgefed_committedBy_interface.go | 749 -- ...n_property_forgefed_committed_interface.go | 60 - ..._property_forgefed_dependants_interface.go | 82 - ..._property_forgefed_dependedBy_interface.go | 156 - ...roperty_forgefed_dependencies_interface.go | 82 - ...n_property_forgefed_dependsOn_interface.go | 156 - ...property_forgefed_description_interface.go | 763 -- ..._property_forgefed_earlyItems_interface.go | 1840 ----- ..._property_forgefed_filesAdded_interface.go | 132 - ...operty_forgefed_filesModified_interface.go | 132 - ...roperty_forgefed_filesRemoved_interface.go | 132 - .../gen_property_forgefed_forks_interface.go | 82 - .../gen_property_forgefed_hash_interface.go | 56 - ..._property_forgefed_isResolved_interface.go | 53 - .../gen_property_forgefed_ref_interface.go | 66 - .../gen_property_forgefed_team_interface.go | 142 - ...rty_forgefed_ticketsTrackedBy_interface.go | 756 -- ...rty_forgefed_tracksTicketsFor_interface.go | 1794 ----- ...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 - .../gen_type_forgefed_branch_interface.go | 234 - .../gen_type_forgefed_commit_interface.go | 274 - .../vocab/gen_type_forgefed_push_interface.go | 275 - .../gen_type_forgefed_repository_interface.go | 243 - .../gen_type_forgefed_ticket_interface.go | 268 - ...ype_forgefed_ticketdependency_interface.go | 247 - ...gen_type_schema_propertyvalue_interface.go | 15 - .../vocab/gen_type_toot_emoji_interface.go | 15 - .../vocab/gen_type_toot_hashtag_interface.go | 104 + .../gen_type_toot_identityproof_interface.go | 15 - vendor/modules.txt | 28 +- 405 files changed, 7566 insertions(+), 86024 deletions(-) delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_property_constructors.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_type_constructors.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_property_forgefed_assignedTo.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_property_forgefed_committed.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_property_forgefed_committedBy.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_property_forgefed_dependants.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_property_forgefed_dependedBy.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_property_forgefed_dependencies.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_property_forgefed_dependsOn.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_property_forgefed_description.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_property_forgefed_earlyItems.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_property_forgefed_filesAdded.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_property_forgefed_filesModified.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_property_forgefed_filesRemoved.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_property_forgefed_forks.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_property_forgefed_hash.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_property_forgefed_isResolved.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_property_forgefed_ref.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_property_forgefed_team.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_property_forgefed_ticketsTrackedBy.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_property_forgefed_tracksTicketsFor.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_type_forgefed_branch.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_type_forgefed_commit.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_type_forgefed_push.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_type_forgefed_repository.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_type_forgefed_ticket.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_doc.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_pkg.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_type_forgefed_ticketdependency.go rename vendor/github.com/superseriousbusiness/activity/streams/impl/{forgefed/property_ref => toot/type_hashtag}/gen_doc.go (89%) create mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go create mode 100644 vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_assignedTo_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committedBy_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committed_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependants_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependedBy_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependencies_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependsOn_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_description_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_earlyItems_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesAdded_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesModified_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesRemoved_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_forks_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_hash_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_isResolved_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ref_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_team_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ticketsTrackedBy_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_tracksTicketsFor_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_branch_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_commit_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_push_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_repository_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticket_interface.go delete mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go create mode 100644 vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go diff --git a/go.mod b/go.mod index b488564fe..ecdce0629 100644 --- a/go.mod +++ b/go.mod @@ -42,7 +42,7 @@ require ( github.com/spf13/cobra v1.7.0 github.com/spf13/viper v1.16.0 github.com/stretchr/testify v1.8.4 - github.com/superseriousbusiness/activity v1.3.0-gts + github.com/superseriousbusiness/activity v1.4.0-gts github.com/superseriousbusiness/exif-terminator v0.5.0 github.com/superseriousbusiness/oauth2/v4 v4.3.2-SSB.0.20230227143000-f4900831d6c8 github.com/tdewolff/minify/v2 v2.12.7 diff --git a/go.sum b/go.sum index 129648a0a..322551fc1 100644 --- a/go.sum +++ b/go.sum @@ -552,8 +552,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/sunfish-shogi/bufseekio v0.0.0-20210207115823-a4185644b365/go.mod h1:dEzdXgvImkQ3WLI+0KQpmEx8T/C/ma9KeS3AfmU899I= -github.com/superseriousbusiness/activity v1.3.0-gts h1:59H3gQIIUK5xefloMmBKCRbl/YUJFzWcy1Qx4zEZkS4= -github.com/superseriousbusiness/activity v1.3.0-gts/go.mod h1:AZw0Xb4Oju8rmaJCZ21gc5CPg47MmNgyac+Hx5jo8VM= +github.com/superseriousbusiness/activity v1.4.0-gts h1:9r95sYy80tuGWWpDDNlLwa/k6dKZdyP/k+rhVA+VjdQ= +github.com/superseriousbusiness/activity v1.4.0-gts/go.mod h1:AZw0Xb4Oju8rmaJCZ21gc5CPg47MmNgyac+Hx5jo8VM= github.com/superseriousbusiness/exif-terminator v0.5.0 h1:57SO/geyaOl2v/lJSQLVcQbdghpyFuK8ZTtaHL81fUQ= github.com/superseriousbusiness/exif-terminator v0.5.0/go.mod h1:d5IkskXco/3XRXzOrI73uGYn+wahJEqPlQSSqn6jxSw= github.com/superseriousbusiness/go-jpeg-image-structure/v2 v2.0.0-20220321154430-d89a106fdabe h1:ksl2oCx/Qo8sNDc3Grb8WGKBM9nkvhCm25uvlT86azE= diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go index de91e3f67..9dabc560f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_consts.go +++ b/vendor/github.com/superseriousbusiness/activity/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" @@ -71,6 +65,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" @@ -143,9 +140,6 @@ var SchemaPropertyValueName string = "PropertyValue" // 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" @@ -161,9 +155,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" @@ -173,12 +164,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" @@ -209,9 +194,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" @@ -236,12 +218,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" @@ -257,33 +233,15 @@ 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" @@ -293,15 +251,6 @@ var ActivityStreamsEndpointsPropertyName string = "endpoints" // 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" @@ -311,18 +260,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" @@ -347,9 +290,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" @@ -431,9 +371,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" @@ -488,21 +425,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/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go index 79e730e48..b13026a80 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_init.go @@ -133,31 +133,6 @@ import ( typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update" typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video" typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto" - propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed" - propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby" - propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants" - propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby" - propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies" - propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson" - propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description" - propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems" - propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded" - propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified" - propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved" - propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks" - propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash" - propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved" - propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref" - propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team" - propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby" - propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor" - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value" typepropertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue" propertyblurhash "github.com/superseriousbusiness/activity/streams/impl/toot/property_blurhash" @@ -167,6 +142,7 @@ import ( propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount" typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner" propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey" @@ -317,31 +293,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) propertyvalue.SetManager(mgr) typepropertyvalue.SetManager(mgr) propertyblurhash.SetManager(mgr) @@ -351,6 +302,7 @@ func init() { propertysignaturevalue.SetManager(mgr) propertyvoterscount.SetManager(mgr) typeemoji.SetManager(mgr) + typehashtag.SetManager(mgr) typeidentityproof.SetManager(mgr) propertyowner.SetManager(mgr) propertypublickey.SetManager(mgr) @@ -411,14 +363,9 @@ 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) typepropertyvalue.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeemoji.SetTypePropertyConstructor(NewJSONLDTypeProperty) + typehashtag.SetTypePropertyConstructor(NewJSONLDTypeProperty) typeidentityproof.SetTypePropertyConstructor(NewJSONLDTypeProperty) typepublickey.SetTypePropertyConstructor(NewJSONLDTypeProperty) } diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go index a2cb36d0e..3645f3e98 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_json_resolver.go +++ b/vendor/github.com/superseriousbusiness/activity/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: @@ -77,6 +73,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: @@ -125,8 +123,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: @@ -137,18 +133,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: @@ -240,13 +230,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"] @@ -368,17 +351,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 { @@ -401,17 +373,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 { @@ -522,6 +483,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 { @@ -786,17 +758,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 { @@ -852,17 +813,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 { @@ -896,28 +846,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/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go index b93a0069a..6455331d7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_manager.go @@ -133,31 +133,6 @@ import ( typeupdate "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update" typevideo "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video" typeview "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view" - propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto" - propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed" - propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby" - propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants" - propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby" - propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies" - propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson" - propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description" - propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems" - propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded" - propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified" - propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved" - propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks" - propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash" - propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved" - propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref" - propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team" - propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby" - propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor" - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" propertyid "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id" propertytype "github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type" propertyvalue "github.com/superseriousbusiness/activity/streams/impl/schema/property_value" @@ -169,6 +144,7 @@ import ( propertysignaturevalue "github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue" propertyvoterscount "github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount" typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" propertyowner "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner" propertypublickey "github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey" @@ -326,19 +302,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" @@ -429,18 +392,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" @@ -506,44 +457,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" @@ -622,58 +535,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" @@ -687,19 +548,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) { @@ -751,19 +599,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) { @@ -840,45 +675,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" @@ -944,18 +740,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" @@ -995,11 +779,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 } @@ -1187,19 +971,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" @@ -1759,18 +1530,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" @@ -1810,18 +1569,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" @@ -1900,18 +1647,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" @@ -2107,18 +1842,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" @@ -2145,44 +1868,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" @@ -2222,19 +1907,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/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go deleted file mode 100644 index b6546e6a8..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_disjoint.go +++ /dev/null @@ -1,49 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// ForgeFedBranchIsDisjointWith returns true if Branch is disjoint with the -// other's type. -func ForgeFedBranchIsDisjointWith(other vocab.Type) bool { - return typebranch.BranchIsDisjointWith(other) -} - -// ForgeFedCommitIsDisjointWith returns true if Commit is disjoint with the -// other's type. -func ForgeFedCommitIsDisjointWith(other vocab.Type) bool { - return typecommit.CommitIsDisjointWith(other) -} - -// ForgeFedPushIsDisjointWith returns true if Push is disjoint with the other's -// type. -func ForgeFedPushIsDisjointWith(other vocab.Type) bool { - return typepush.PushIsDisjointWith(other) -} - -// ForgeFedRepositoryIsDisjointWith returns true if Repository is disjoint with -// the other's type. -func ForgeFedRepositoryIsDisjointWith(other vocab.Type) bool { - return typerepository.RepositoryIsDisjointWith(other) -} - -// ForgeFedTicketIsDisjointWith returns true if Ticket is disjoint with the -// other's type. -func ForgeFedTicketIsDisjointWith(other vocab.Type) bool { - return typeticket.TicketIsDisjointWith(other) -} - -// ForgeFedTicketDependencyIsDisjointWith returns true if TicketDependency is -// disjoint with the other's type. -func ForgeFedTicketDependencyIsDisjointWith(other vocab.Type) bool { - return typeticketdependency.TicketDependencyIsDisjointWith(other) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go deleted file mode 100644 index ef26e8d2b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extendedby.go +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// ForgeFedBranchIsExtendedBy returns true if the other's type extends from -// Branch. Note that it returns false if the types are the same; see the -// "IsOrExtends" variant instead. -func ForgeFedBranchIsExtendedBy(other vocab.Type) bool { - return typebranch.BranchIsExtendedBy(other) -} - -// ForgeFedCommitIsExtendedBy returns true if the other's type extends from -// Commit. Note that it returns false if the types are the same; see the -// "IsOrExtends" variant instead. -func ForgeFedCommitIsExtendedBy(other vocab.Type) bool { - return typecommit.CommitIsExtendedBy(other) -} - -// ForgeFedPushIsExtendedBy returns true if the other's type extends from Push. -// Note that it returns false if the types are the same; see the "IsOrExtends" -// variant instead. -func ForgeFedPushIsExtendedBy(other vocab.Type) bool { - return typepush.PushIsExtendedBy(other) -} - -// ForgeFedRepositoryIsExtendedBy returns true if the other's type extends from -// Repository. Note that it returns false if the types are the same; see the -// "IsOrExtends" variant instead. -func ForgeFedRepositoryIsExtendedBy(other vocab.Type) bool { - return typerepository.RepositoryIsExtendedBy(other) -} - -// ForgeFedTicketIsExtendedBy returns true if the other's type extends from -// Ticket. Note that it returns false if the types are the same; see the -// "IsOrExtends" variant instead. -func ForgeFedTicketIsExtendedBy(other vocab.Type) bool { - return typeticket.TicketIsExtendedBy(other) -} - -// ForgeFedTicketDependencyIsExtendedBy returns true if the other's type extends -// from TicketDependency. Note that it returns false if the types are the -// same; see the "IsOrExtends" variant instead. -func ForgeFedTicketDependencyIsExtendedBy(other vocab.Type) bool { - return typeticketdependency.TicketDependencyIsExtendedBy(other) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go deleted file mode 100644 index 8d05aefad..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_extends.go +++ /dev/null @@ -1,48 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// ForgeFedForgeFedBranchExtends returns true if Branch extends from the other's -// type. -func ForgeFedForgeFedBranchExtends(other vocab.Type) bool { - return typebranch.ForgeFedBranchExtends(other) -} - -// ForgeFedForgeFedCommitExtends returns true if Commit extends from the other's -// type. -func ForgeFedForgeFedCommitExtends(other vocab.Type) bool { - return typecommit.ForgeFedCommitExtends(other) -} - -// ForgeFedForgeFedPushExtends returns true if Push extends from the other's type. -func ForgeFedForgeFedPushExtends(other vocab.Type) bool { - return typepush.ForgeFedPushExtends(other) -} - -// ForgeFedForgeFedRepositoryExtends returns true if Repository extends from the -// other's type. -func ForgeFedForgeFedRepositoryExtends(other vocab.Type) bool { - return typerepository.ForgeFedRepositoryExtends(other) -} - -// ForgeFedForgeFedTicketExtends returns true if Ticket extends from the other's -// type. -func ForgeFedForgeFedTicketExtends(other vocab.Type) bool { - return typeticket.ForgeFedTicketExtends(other) -} - -// ForgeFedForgeFedTicketDependencyExtends returns true if TicketDependency -// extends from the other's type. -func ForgeFedForgeFedTicketDependencyExtends(other vocab.Type) bool { - return typeticketdependency.ForgeFedTicketDependencyExtends(other) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go deleted file mode 100644 index 77331d06d..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_isorextends.go +++ /dev/null @@ -1,49 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// IsOrExtendsForgeFedBranch returns true if the other provided type is the Branch -// type or extends from the Branch type. -func IsOrExtendsForgeFedBranch(other vocab.Type) bool { - return typebranch.IsOrExtendsBranch(other) -} - -// IsOrExtendsForgeFedCommit returns true if the other provided type is the Commit -// type or extends from the Commit type. -func IsOrExtendsForgeFedCommit(other vocab.Type) bool { - return typecommit.IsOrExtendsCommit(other) -} - -// IsOrExtendsForgeFedPush returns true if the other provided type is the Push -// type or extends from the Push type. -func IsOrExtendsForgeFedPush(other vocab.Type) bool { - return typepush.IsOrExtendsPush(other) -} - -// IsOrExtendsForgeFedRepository returns true if the other provided type is the -// Repository type or extends from the Repository type. -func IsOrExtendsForgeFedRepository(other vocab.Type) bool { - return typerepository.IsOrExtendsRepository(other) -} - -// IsOrExtendsForgeFedTicket returns true if the other provided type is the Ticket -// type or extends from the Ticket type. -func IsOrExtendsForgeFedTicket(other vocab.Type) bool { - return typeticket.IsOrExtendsTicket(other) -} - -// IsOrExtendsForgeFedTicketDependency returns true if the other provided type is -// the TicketDependency type or extends from the TicketDependency type. -func IsOrExtendsForgeFedTicketDependency(other vocab.Type) bool { - return typeticketdependency.IsOrExtendsTicketDependency(other) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_property_constructors.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_property_constructors.go deleted file mode 100644 index 5a734fb59..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_property_constructors.go +++ /dev/null @@ -1,126 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - propertyassignedto "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto" - propertycommitted "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed" - propertycommittedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby" - propertydependants "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants" - propertydependedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby" - propertydependencies "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies" - propertydependson "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson" - propertydescription "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description" - propertyearlyitems "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems" - propertyfilesadded "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded" - propertyfilesmodified "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified" - propertyfilesremoved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved" - propertyforks "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks" - propertyhash "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash" - propertyisresolved "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved" - propertyref "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref" - propertyteam "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team" - propertyticketstrackedby "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby" - propertytracksticketsfor "github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// NewForgeFedForgeFedAssignedToProperty creates a new ForgeFedAssignedToProperty -func NewForgeFedAssignedToProperty() vocab.ForgeFedAssignedToProperty { - return propertyassignedto.NewForgeFedAssignedToProperty() -} - -// NewForgeFedForgeFedCommittedProperty creates a new ForgeFedCommittedProperty -func NewForgeFedCommittedProperty() vocab.ForgeFedCommittedProperty { - return propertycommitted.NewForgeFedCommittedProperty() -} - -// NewForgeFedForgeFedCommittedByProperty creates a new ForgeFedCommittedByProperty -func NewForgeFedCommittedByProperty() vocab.ForgeFedCommittedByProperty { - return propertycommittedby.NewForgeFedCommittedByProperty() -} - -// NewForgeFedForgeFedDependantsProperty creates a new ForgeFedDependantsProperty -func NewForgeFedDependantsProperty() vocab.ForgeFedDependantsProperty { - return propertydependants.NewForgeFedDependantsProperty() -} - -// NewForgeFedForgeFedDependedByProperty creates a new ForgeFedDependedByProperty -func NewForgeFedDependedByProperty() vocab.ForgeFedDependedByProperty { - return propertydependedby.NewForgeFedDependedByProperty() -} - -// NewForgeFedForgeFedDependenciesProperty creates a new -// ForgeFedDependenciesProperty -func NewForgeFedDependenciesProperty() vocab.ForgeFedDependenciesProperty { - return propertydependencies.NewForgeFedDependenciesProperty() -} - -// NewForgeFedForgeFedDependsOnProperty creates a new ForgeFedDependsOnProperty -func NewForgeFedDependsOnProperty() vocab.ForgeFedDependsOnProperty { - return propertydependson.NewForgeFedDependsOnProperty() -} - -// NewForgeFedForgeFedDescriptionProperty creates a new ForgeFedDescriptionProperty -func NewForgeFedDescriptionProperty() vocab.ForgeFedDescriptionProperty { - return propertydescription.NewForgeFedDescriptionProperty() -} - -// NewForgeFedForgeFedEarlyItemsProperty creates a new ForgeFedEarlyItemsProperty -func NewForgeFedEarlyItemsProperty() vocab.ForgeFedEarlyItemsProperty { - return propertyearlyitems.NewForgeFedEarlyItemsProperty() -} - -// NewForgeFedForgeFedFilesAddedProperty creates a new ForgeFedFilesAddedProperty -func NewForgeFedFilesAddedProperty() vocab.ForgeFedFilesAddedProperty { - return propertyfilesadded.NewForgeFedFilesAddedProperty() -} - -// NewForgeFedForgeFedFilesModifiedProperty creates a new -// ForgeFedFilesModifiedProperty -func NewForgeFedFilesModifiedProperty() vocab.ForgeFedFilesModifiedProperty { - return propertyfilesmodified.NewForgeFedFilesModifiedProperty() -} - -// NewForgeFedForgeFedFilesRemovedProperty creates a new -// ForgeFedFilesRemovedProperty -func NewForgeFedFilesRemovedProperty() vocab.ForgeFedFilesRemovedProperty { - return propertyfilesremoved.NewForgeFedFilesRemovedProperty() -} - -// NewForgeFedForgeFedForksProperty creates a new ForgeFedForksProperty -func NewForgeFedForksProperty() vocab.ForgeFedForksProperty { - return propertyforks.NewForgeFedForksProperty() -} - -// NewForgeFedForgeFedHashProperty creates a new ForgeFedHashProperty -func NewForgeFedHashProperty() vocab.ForgeFedHashProperty { - return propertyhash.NewForgeFedHashProperty() -} - -// NewForgeFedForgeFedIsResolvedProperty creates a new ForgeFedIsResolvedProperty -func NewForgeFedIsResolvedProperty() vocab.ForgeFedIsResolvedProperty { - return propertyisresolved.NewForgeFedIsResolvedProperty() -} - -// NewForgeFedForgeFedRefProperty creates a new ForgeFedRefProperty -func NewForgeFedRefProperty() vocab.ForgeFedRefProperty { - return propertyref.NewForgeFedRefProperty() -} - -// NewForgeFedForgeFedTeamProperty creates a new ForgeFedTeamProperty -func NewForgeFedTeamProperty() vocab.ForgeFedTeamProperty { - return propertyteam.NewForgeFedTeamProperty() -} - -// NewForgeFedForgeFedTicketsTrackedByProperty creates a new -// ForgeFedTicketsTrackedByProperty -func NewForgeFedTicketsTrackedByProperty() vocab.ForgeFedTicketsTrackedByProperty { - return propertyticketstrackedby.NewForgeFedTicketsTrackedByProperty() -} - -// NewForgeFedForgeFedTracksTicketsForProperty creates a new -// ForgeFedTracksTicketsForProperty -func NewForgeFedTracksTicketsForProperty() vocab.ForgeFedTracksTicketsForProperty { - return propertytracksticketsfor.NewForgeFedTracksTicketsForProperty() -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_type_constructors.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_type_constructors.go deleted file mode 100644 index b8705fa8c..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_forgefed_type_constructors.go +++ /dev/null @@ -1,43 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package streams - -import ( - typebranch "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch" - typecommit "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit" - typepush "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push" - typerepository "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository" - typeticket "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket" - typeticketdependency "github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency" - vocab "github.com/superseriousbusiness/activity/streams/vocab" -) - -// NewForgeFedBranch creates a new ForgeFedBranch -func NewForgeFedBranch() vocab.ForgeFedBranch { - return typebranch.NewForgeFedBranch() -} - -// NewForgeFedCommit creates a new ForgeFedCommit -func NewForgeFedCommit() vocab.ForgeFedCommit { - return typecommit.NewForgeFedCommit() -} - -// NewForgeFedPush creates a new ForgeFedPush -func NewForgeFedPush() vocab.ForgeFedPush { - return typepush.NewForgeFedPush() -} - -// NewForgeFedRepository creates a new ForgeFedRepository -func NewForgeFedRepository() vocab.ForgeFedRepository { - return typerepository.NewForgeFedRepository() -} - -// NewForgeFedTicket creates a new ForgeFedTicket -func NewForgeFedTicket() vocab.ForgeFedTicket { - return typeticket.NewForgeFedTicket() -} - -// NewForgeFedTicketDependency creates a new ForgeFedTicketDependency -func NewForgeFedTicketDependency() vocab.ForgeFedTicketDependency { - return typeticketdependency.NewForgeFedTicketDependency() -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go index 6ae7f9411..693980324 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_disjoint.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" vocab "github.com/superseriousbusiness/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/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go index 0388d199d..cdb3ecfa3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extendedby.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" vocab "github.com/superseriousbusiness/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/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go index 8227c998d..4ba7327ec 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_extends.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" vocab "github.com/superseriousbusiness/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/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go index df4ec5c2a..a9246b745 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_isorextends.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" vocab "github.com/superseriousbusiness/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/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go index 6e9f35d44..2e765866d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_toot_type_constructors.go @@ -4,6 +4,7 @@ package streams import ( typeemoji "github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji" + typehashtag "github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag" typeidentityproof "github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof" vocab "github.com/superseriousbusiness/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/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go index 0b9bfbb1e..8af20ab1a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go +++ b/vendor/github.com/superseriousbusiness/activity/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 @@ -115,6 +109,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 @@ -187,9 +184,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 @@ -205,9 +199,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 @@ -217,12 +208,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/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go index 95a33a855..02ebbb358 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_predicated_resolver.go @@ -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): @@ -75,6 +71,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): @@ -123,8 +121,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): @@ -135,18 +131,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): @@ -277,17 +267,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 { @@ -310,17 +289,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 { @@ -431,6 +399,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 { @@ -695,17 +674,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 { @@ -761,17 +729,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 { @@ -805,28 +762,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/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go index 1af01f9c1..d5efce3ec 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_type_resolver.go +++ b/vendor/github.com/superseriousbusiness/activity/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: @@ -74,6 +70,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: @@ -122,8 +120,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: @@ -134,18 +130,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: @@ -254,15 +244,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 { @@ -281,15 +262,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 { @@ -380,6 +352,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 { @@ -596,15 +577,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 { @@ -650,15 +622,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 { @@ -686,24 +649,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go index d5a862f2f..6e5d62e32 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go index aa8eee20a..a90953fc1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_actor/gen_property_activitystreams_actor.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsActorPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsActorPropertyIterator(i interface{}, aliasMap map schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsActorPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsActorPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsActorPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsActorPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsActorPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsActorPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsActorPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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{{ @@ -6219,6 +5747,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) { @@ -6987,83 +6529,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) { @@ -7101,6 +6566,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go index eec69e1e6..b9d35ab01 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go index b1541b3c1..2db157c2a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_anyof/gen_property_activitystreams_anyOf.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsAnyOfPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsAnyOfPropertyIterator(i interface{}, aliasMap map schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsAnyOfPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsAnyOfPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsAnyOfPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsAnyOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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{{ @@ -6219,6 +5747,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) { @@ -6987,83 +6529,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) { @@ -7101,6 +6566,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go index 5fe6b5df6..6d6692266 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go index 78943e5f7..ad907f08f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attachment/gen_property_activitystreams_attachment.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsAttachmentPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsAttachmentPropertyIterator(i interface{}, aliasMa schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsAttachmentPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsAttachmentPropertyIterator) SetType(t vocab.Type) err this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsAttachmentPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsAttachmentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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) { @@ -3851,6 +3556,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. @@ -4827,108 +4543,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. @@ -4980,6 +4594,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. @@ -5103,210 +4734,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6107,90 +5718,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) { @@ -6233,6 +5760,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) { @@ -7001,84 +6542,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) { @@ -7117,6 +6580,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go index e7ea074e1..0c287aa3c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go index 6d71eef82..90d6c37b4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_attributedto/gen_property_activitystreams_attributedTo.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsAttributedToPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsAttributedToPropertyIterator(i interface{}, alias schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsAttributedToPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsAttributedToPropertyIterator) SetType(t vocab.Type) e this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsAttributedToPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsAttributedToPropertyIterator) serialize() (interface{} return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3785,77 +3558,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) { @@ -3890,6 +3592,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. @@ -4867,108 +4580,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. @@ -5020,6 +4631,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. @@ -5143,210 +4771,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6148,90 +5756,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) { @@ -6274,6 +5798,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) { @@ -7042,84 +6580,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) { @@ -7158,6 +6618,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go index 0b8cdff2b..ea21de001 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go index a850ea836..5513ef5bc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_audience/gen_property_activitystreams_audience.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsAudiencePropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsAudiencePropertyIterator(i interface{}, aliasMap schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsAudiencePropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsAudiencePropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsAudiencePropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsAudiencePropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsAudiencePropertyIterator) SetType(t vocab.Type) error this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsAudiencePropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsAudiencePropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,83 +6540,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) { @@ -7113,6 +6577,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go index a2b73e358..53edf0919 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go index a7e12e32a..483cf8888 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bcc/gen_property_activitystreams_bcc.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsBccPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 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, @@ -193,12 +182,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, @@ -253,6 +236,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, @@ -379,12 +368,6 @@ func deserializeActivityStreamsBccPropertyIterator(i interface{}, aliasMap map[s schemaPropertyValueMember: v, } 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, @@ -415,12 +398,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, @@ -439,18 +416,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, @@ -874,44 +839,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 { @@ -931,6 +858,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. @@ -974,18 +907,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() } @@ -1013,6 +940,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() } @@ -1076,9 +1006,6 @@ func (this ActivityStreamsBccPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1094,9 +1021,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() } @@ -1106,12 +1030,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() } @@ -1147,10 +1065,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() || @@ -1160,6 +1076,7 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1181,18 +1098,14 @@ func (this ActivityStreamsBccPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1585,48 +1498,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 { @@ -1646,6 +1517,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. @@ -1681,14 +1559,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() { @@ -1707,6 +1581,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() { @@ -1749,8 +1625,6 @@ func (this ActivityStreamsBccPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1761,18 +1635,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() { @@ -1834,161 +1702,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2029,14 +1882,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() { @@ -2055,6 +1904,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() { @@ -2097,8 +1948,6 @@ func (this ActivityStreamsBccPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2109,18 +1958,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() { @@ -2544,48 +2387,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() @@ -2606,6 +2407,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) { @@ -2660,10 +2468,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 @@ -2672,10 +2476,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 @@ -2712,6 +2512,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 @@ -2796,10 +2600,6 @@ func (this *ActivityStreamsBccPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2820,10 +2620,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 @@ -2836,14 +2632,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 @@ -2886,10 +2674,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 @@ -2899,6 +2685,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 @@ -2920,18 +2707,14 @@ func (this *ActivityStreamsBccPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2969,14 +2752,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() { @@ -2995,6 +2774,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() { @@ -3037,8 +2818,6 @@ func (this ActivityStreamsBccPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3049,18 +2828,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() { @@ -3738,73 +3511,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{ @@ -3837,6 +3543,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) { @@ -4811,108 +4528,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. @@ -4964,6 +4579,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. @@ -5087,210 +4719,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6091,90 +5703,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{{ @@ -6216,6 +5744,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) { @@ -6984,83 +6526,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) { @@ -7098,6 +6563,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go index e3dfa4b1c..10335c308 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go index a8b321429..fe6655df0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_bto/gen_property_activitystreams_bto.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsBtoPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 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, @@ -193,12 +182,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, @@ -253,6 +236,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, @@ -379,12 +368,6 @@ func deserializeActivityStreamsBtoPropertyIterator(i interface{}, aliasMap map[s schemaPropertyValueMember: v, } 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, @@ -415,12 +398,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, @@ -439,18 +416,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, @@ -874,44 +839,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 { @@ -931,6 +858,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. @@ -974,18 +907,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() } @@ -1013,6 +940,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() } @@ -1076,9 +1006,6 @@ func (this ActivityStreamsBtoPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1094,9 +1021,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() } @@ -1106,12 +1030,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() } @@ -1147,10 +1065,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() || @@ -1160,6 +1076,7 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1181,18 +1098,14 @@ func (this ActivityStreamsBtoPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1585,48 +1498,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 { @@ -1646,6 +1517,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. @@ -1681,14 +1559,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() { @@ -1707,6 +1581,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() { @@ -1749,8 +1625,6 @@ func (this ActivityStreamsBtoPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1761,18 +1635,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() { @@ -1834,161 +1702,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2029,14 +1882,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() { @@ -2055,6 +1904,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() { @@ -2097,8 +1948,6 @@ func (this ActivityStreamsBtoPropertyIterator) LessThan(o vocab.ActivityStreamsB return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2109,18 +1958,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() { @@ -2544,48 +2387,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() @@ -2606,6 +2407,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) { @@ -2660,10 +2468,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 @@ -2672,10 +2476,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 @@ -2712,6 +2512,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 @@ -2796,10 +2600,6 @@ func (this *ActivityStreamsBtoPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2820,10 +2620,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 @@ -2836,14 +2632,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 @@ -2886,10 +2674,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 @@ -2899,6 +2685,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 @@ -2920,18 +2707,14 @@ func (this *ActivityStreamsBtoPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2969,14 +2752,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() { @@ -2995,6 +2774,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() { @@ -3037,8 +2818,6 @@ func (this ActivityStreamsBtoPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3049,18 +2828,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() { @@ -3738,73 +3511,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{ @@ -3837,6 +3543,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) { @@ -4811,108 +4528,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. @@ -4964,6 +4579,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. @@ -5087,210 +4719,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6091,90 +5703,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{{ @@ -6216,6 +5744,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) { @@ -6984,83 +6526,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) { @@ -7098,6 +6563,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go index 9df4925e2..d53422a00 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go index 2560ec0a3..0b1801139 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_cc/gen_property_activitystreams_cc.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsCcPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 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, @@ -193,12 +182,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, @@ -253,6 +236,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, @@ -379,12 +368,6 @@ func deserializeActivityStreamsCcPropertyIterator(i interface{}, aliasMap map[st schemaPropertyValueMember: v, } 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, @@ -415,12 +398,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, @@ -439,18 +416,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, @@ -874,44 +839,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 { @@ -931,6 +858,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. @@ -974,18 +907,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() } @@ -1013,6 +940,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() } @@ -1076,9 +1006,6 @@ func (this ActivityStreamsCcPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1094,9 +1021,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() } @@ -1106,12 +1030,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() } @@ -1147,10 +1065,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() || @@ -1160,6 +1076,7 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1181,18 +1098,14 @@ func (this ActivityStreamsCcPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1585,48 +1498,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 { @@ -1646,6 +1517,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. @@ -1681,14 +1559,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() { @@ -1707,6 +1581,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() { @@ -1749,8 +1625,6 @@ func (this ActivityStreamsCcPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1761,18 +1635,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() { @@ -1834,161 +1702,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2029,14 +1882,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() { @@ -2055,6 +1904,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() { @@ -2097,8 +1948,6 @@ func (this ActivityStreamsCcPropertyIterator) LessThan(o vocab.ActivityStreamsCc return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2109,18 +1958,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() { @@ -2544,48 +2387,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() @@ -2606,6 +2407,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) { @@ -2660,10 +2468,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 @@ -2672,10 +2476,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 @@ -2712,6 +2512,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 @@ -2796,10 +2600,6 @@ func (this *ActivityStreamsCcPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2820,10 +2620,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 @@ -2836,14 +2632,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 @@ -2886,10 +2674,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 @@ -2899,6 +2685,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 @@ -2920,18 +2707,14 @@ func (this *ActivityStreamsCcPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2969,14 +2752,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() { @@ -2995,6 +2774,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() { @@ -3037,8 +2818,6 @@ func (this ActivityStreamsCcPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3049,18 +2828,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() { @@ -3738,73 +3511,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{ @@ -3837,6 +3543,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) { @@ -4811,108 +4528,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. @@ -4964,6 +4579,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. @@ -5087,210 +4719,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6091,90 +5703,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{{ @@ -6216,6 +5744,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) { @@ -6984,83 +6526,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) { @@ -7098,6 +6563,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go index 808cbdf51..3bc070d5e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go index 76c758a41..b0d9c0bef 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_closed/gen_property_activitystreams_closed.go @@ -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 @@ -66,18 +65,14 @@ type ActivityStreamsClosedPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -183,12 +178,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, @@ -201,12 +190,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, @@ -261,6 +244,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, @@ -387,12 +376,6 @@ func deserializeActivityStreamsClosedPropertyIterator(i interface{}, aliasMap ma schemaPropertyValueMember: v, } 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, @@ -423,12 +406,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, @@ -447,18 +424,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, @@ -897,44 +862,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 { @@ -954,6 +881,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. @@ -997,18 +930,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() } @@ -1036,6 +963,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() } @@ -1099,9 +1029,6 @@ func (this ActivityStreamsClosedPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1117,9 +1044,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() } @@ -1129,12 +1053,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() } @@ -1185,10 +1103,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() || @@ -1198,6 +1114,7 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1219,18 +1136,14 @@ func (this ActivityStreamsClosedPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1623,48 +1536,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 { @@ -1684,6 +1555,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. @@ -1733,14 +1611,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() { @@ -1759,6 +1633,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() { @@ -1801,8 +1677,6 @@ func (this ActivityStreamsClosedPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1813,18 +1687,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() { @@ -1892,161 +1760,146 @@ 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.IsSchemaPropertyValue() { return 45 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 46 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 47 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 48 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 49 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 50 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 51 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 52 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 53 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 54 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 55 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 56 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 57 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 58 } - if this.IsActivityStreamsTombstone() { - return 59 - } - if this.IsActivityStreamsTravel() { - return 60 - } - if this.IsActivityStreamsUndo() { - return 61 - } - if this.IsActivityStreamsUpdate() { - return 62 - } - if this.IsActivityStreamsVideo() { - return 63 - } if this.IsActivityStreamsView() { - return 64 + return 59 } if this.IsIRI() { return -2 @@ -2091,14 +1944,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() { @@ -2117,6 +1966,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() { @@ -2159,8 +2010,6 @@ func (this ActivityStreamsClosedPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2171,18 +2020,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() { @@ -2606,48 +2449,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() @@ -2668,6 +2469,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) { @@ -2722,10 +2530,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 @@ -2734,10 +2538,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 @@ -2774,6 +2574,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 @@ -2858,10 +2662,6 @@ func (this *ActivityStreamsClosedPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2882,10 +2682,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 @@ -2898,14 +2694,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 @@ -2966,10 +2754,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 @@ -2979,6 +2765,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 @@ -3000,18 +2787,14 @@ func (this *ActivityStreamsClosedPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -3053,14 +2836,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() { @@ -3079,6 +2858,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() { @@ -3121,8 +2902,6 @@ func (this ActivityStreamsClosedPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3133,18 +2912,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() { @@ -3823,73 +3596,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{ @@ -3923,6 +3629,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) { @@ -4921,108 +4638,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. @@ -5074,6 +4689,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. @@ -5241,210 +4873,190 @@ 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 { + } else if idx1 == 45 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 47 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 53 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 55 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 57 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 58 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 63 { + } else if idx1 == 58 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 64 { + } else if idx1 == 59 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6245,90 +5857,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) { @@ -6371,6 +5899,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) { @@ -7169,83 +6711,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) { @@ -7283,6 +6748,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go index 61ed14191..485c1e69c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go index 6562267ca..10b1ca935 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_context/gen_property_activitystreams_context.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsContextPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsContextPropertyIterator(i interface{}, aliasMap m schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsContextPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsContextPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsContextPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsContextPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsContextPropertyIterator) SetType(t vocab.Type) error this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsContextPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsContextPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,83 +6540,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) { @@ -7113,6 +6577,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go index c05ce229c..2d9a984fc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_pkg.go @@ -13,6 +13,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go index b5fd6c5db..feae71f76 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_current/gen_property_activitystreams_current.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsCurrentProperty struct { activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage unknown interface{} @@ -63,6 +64,12 @@ func DeserializeCurrentProperty(m map[string]interface{}, aliasMap map[string]st alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsCurrentProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsCurrentProperty{ activitystreamsMentionMember: v, @@ -96,6 +103,7 @@ func NewActivityStreamsCurrentProperty() *ActivityStreamsCurrentProperty { func (this *ActivityStreamsCurrentProperty) Clear() { this.activitystreamsCollectionPageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionPageMember = nil this.unknown = nil @@ -136,6 +144,12 @@ func (this ActivityStreamsCurrentProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsCurrentProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsCurrentProperty) GetType() vocab.Type { @@ -145,6 +159,9 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -159,6 +176,7 @@ func (this ActivityStreamsCurrentProperty) GetType() vocab.Type { func (this ActivityStreamsCurrentProperty) HasAny() bool { return this.IsActivityStreamsCollectionPage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollectionPage() || this.iri != nil @@ -200,6 +218,13 @@ func (this ActivityStreamsCurrentProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsCurrentProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -210,6 +235,8 @@ func (this ActivityStreamsCurrentProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollectionPage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -236,12 +263,15 @@ func (this ActivityStreamsCurrentProperty) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMention() { return 3 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 4 + } if this.IsIRI() { return -2 } @@ -263,6 +293,8 @@ func (this ActivityStreamsCurrentProperty) LessThan(o vocab.ActivityStreamsCurre return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -291,6 +323,8 @@ func (this ActivityStreamsCurrentProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollectionPage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -335,6 +369,13 @@ func (this *ActivityStreamsCurrentProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsCurrentProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error { @@ -346,6 +387,10 @@ func (this *ActivityStreamsCurrentProperty) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go index 7a7da574e..bed40ca0e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_pkg.go @@ -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" @@ -181,9 +173,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -204,10 +193,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" @@ -220,14 +205,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go index 88ce28caf..3d6633cc3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_describes/gen_property_activitystreams_describes.go @@ -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 @@ -57,18 +55,14 @@ type ActivityStreamsDescribesProperty struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -168,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, @@ -186,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, @@ -366,12 +348,6 @@ func DeserializeDescribesProperty(m map[string]interface{}, aliasMap map[string] schemaPropertyValueMember: v, } 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, @@ -402,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, @@ -426,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, @@ -503,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 @@ -536,18 +492,14 @@ func (this *ActivityStreamsDescribesProperty) Clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -922,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 { @@ -1019,18 +933,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() } @@ -1118,9 +1026,6 @@ func (this ActivityStreamsDescribesProperty) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1136,9 +1041,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() } @@ -1148,12 +1050,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() } @@ -1188,10 +1084,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() || @@ -1221,18 +1115,14 @@ func (this ActivityStreamsDescribesProperty) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1611,48 +1501,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 { @@ -1705,14 +1553,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() { @@ -1771,8 +1615,6 @@ func (this ActivityStreamsDescribesProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1783,18 +1625,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() { @@ -1853,158 +1689,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.IsTootIdentityProof() { return 21 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsIgnore() { return 22 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsImage() { return 23 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsIntransitiveActivity() { return 24 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsInvite() { return 25 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsJoin() { return 26 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsLeave() { return 27 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLike() { return 28 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsListen() { return 29 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsMove() { return 30 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsNote() { return 31 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsOffer() { return 32 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOrderedCollection() { return 33 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollectionPage() { return 34 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrganization() { return 35 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsPage() { return 36 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPerson() { return 37 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPlace() { return 38 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsProfile() { return 39 } - if this.IsActivityStreamsPlace() { + if this.IsSchemaPropertyValue() { return 40 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 41 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsRead() { return 42 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsReject() { return 43 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsRelationship() { return 44 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRemove() { return 45 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsService() { return 46 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsTentativeAccept() { return 47 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeReject() { return 48 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTombstone() { return 49 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTravel() { return 50 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsUndo() { return 51 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUpdate() { return 52 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsVideo() { return 53 } - if this.IsForgeFedTicketDependency() { - 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 54 } if this.IsIRI() { return -2 @@ -2043,14 +1861,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() { @@ -2109,8 +1923,6 @@ func (this ActivityStreamsDescribesProperty) LessThan(o vocab.ActivityStreamsDes return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2121,18 +1933,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() { @@ -2185,14 +1991,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() { @@ -2251,8 +2053,6 @@ func (this ActivityStreamsDescribesProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2263,18 +2063,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() { @@ -2657,48 +2451,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() @@ -2769,10 +2521,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 @@ -2781,10 +2529,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 @@ -2901,10 +2645,6 @@ func (this *ActivityStreamsDescribesProperty) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2925,10 +2665,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 @@ -2941,14 +2677,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go index 9ab75cc0a..f0177bc66 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_pkg.go @@ -13,6 +13,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go index c757647f7..7ec5616a1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_first/gen_property_activitystreams_first.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsFirstProperty struct { activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage unknown interface{} @@ -63,6 +64,12 @@ func DeserializeFirstProperty(m map[string]interface{}, aliasMap map[string]stri alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsFirstProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsFirstProperty{ activitystreamsMentionMember: v, @@ -96,6 +103,7 @@ func NewActivityStreamsFirstProperty() *ActivityStreamsFirstProperty { func (this *ActivityStreamsFirstProperty) Clear() { this.activitystreamsCollectionPageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionPageMember = nil this.unknown = nil @@ -136,6 +144,12 @@ func (this ActivityStreamsFirstProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsFirstProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsFirstProperty) GetType() vocab.Type { @@ -145,6 +159,9 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -159,6 +176,7 @@ func (this ActivityStreamsFirstProperty) GetType() vocab.Type { func (this ActivityStreamsFirstProperty) HasAny() bool { return this.IsActivityStreamsCollectionPage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollectionPage() || this.iri != nil @@ -200,6 +218,13 @@ func (this ActivityStreamsFirstProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsFirstProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -210,6 +235,8 @@ func (this ActivityStreamsFirstProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollectionPage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -236,12 +263,15 @@ func (this ActivityStreamsFirstProperty) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMention() { return 3 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 4 + } if this.IsIRI() { return -2 } @@ -263,6 +293,8 @@ func (this ActivityStreamsFirstProperty) LessThan(o vocab.ActivityStreamsFirstPr return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -291,6 +323,8 @@ func (this ActivityStreamsFirstProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollectionPage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -335,6 +369,13 @@ func (this *ActivityStreamsFirstProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsFirstProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error { @@ -346,6 +387,10 @@ func (this *ActivityStreamsFirstProperty) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go index 4c0c3cb40..4850cc0aa 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_pkg.go @@ -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" @@ -181,9 +173,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -204,10 +193,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" @@ -220,14 +205,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go index bed08ca9c..dce204fc4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_formertype/gen_property_activitystreams_formerType.go @@ -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 @@ -60,18 +58,14 @@ type ActivityStreamsFormerTypePropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -171,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, @@ -189,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, @@ -369,12 +351,6 @@ func deserializeActivityStreamsFormerTypePropertyIterator(i interface{}, aliasMa schemaPropertyValueMember: v, } 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, @@ -405,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, @@ -429,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, @@ -858,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 { @@ -955,18 +875,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() } @@ -1054,9 +968,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1072,9 +983,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() } @@ -1084,12 +992,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() } @@ -1131,10 +1033,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() || @@ -1164,18 +1064,14 @@ func (this ActivityStreamsFormerTypePropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1554,48 +1450,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 { @@ -1655,14 +1509,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() { @@ -1721,8 +1571,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1733,18 +1581,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() { @@ -1806,158 +1648,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.IsTootIdentityProof() { return 22 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsIgnore() { return 23 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsImage() { return 24 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsIntransitiveActivity() { return 25 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsInvite() { return 26 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsJoin() { return 27 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsLeave() { return 28 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLike() { return 29 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsListen() { return 30 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsMove() { return 31 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsNote() { return 32 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsOffer() { return 33 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOrderedCollection() { return 34 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollectionPage() { return 35 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrganization() { return 36 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsPage() { return 37 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPerson() { return 38 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPlace() { return 39 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsProfile() { return 40 } - if this.IsActivityStreamsPlace() { + if this.IsSchemaPropertyValue() { return 41 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 42 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsRead() { return 43 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsReject() { return 44 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsRelationship() { return 45 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRemove() { return 46 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsService() { return 47 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsTentativeAccept() { return 48 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeReject() { return 49 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTombstone() { return 50 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTravel() { return 51 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsUndo() { return 52 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUpdate() { return 53 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsVideo() { return 54 } - if this.IsForgeFedTicketDependency() { - 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 55 } if this.IsIRI() { return -2 @@ -1998,14 +1822,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() { @@ -2064,8 +1884,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2076,18 +1894,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() { @@ -2497,48 +2309,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() @@ -2609,10 +2379,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 @@ -2621,10 +2387,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 @@ -2741,10 +2503,6 @@ func (this *ActivityStreamsFormerTypePropertyIterator) SetType(t vocab.Type) err this.SetSchemaPropertyValue(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 @@ -2765,10 +2523,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 @@ -2781,14 +2535,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 @@ -2839,10 +2585,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 @@ -2872,18 +2616,14 @@ func (this *ActivityStreamsFormerTypePropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2921,14 +2661,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() { @@ -2987,8 +2723,6 @@ func (this ActivityStreamsFormerTypePropertyIterator) serialize() (interface{}, return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2999,18 +2733,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() { @@ -3675,74 +3403,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) { @@ -4731,108 +4391,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. @@ -5025,206 +4583,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].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 40 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 43 { + } else if idx1 == 41 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() 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 == 42 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 46 { 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 == 47 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 49 { 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 == 50 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -5997,90 +5531,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) { @@ -6880,84 +6330,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) { diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go index a5fa2401d..b1751ca5f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go index 86de2932f..694914b3d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_generator/gen_property_activitystreams_generator.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsGeneratorPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsGeneratorPropertyIterator(i interface{}, aliasMap schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsGeneratorPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsGeneratorPropertyIterator) SetType(t vocab.Type) erro this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsGeneratorPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsGeneratorPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,84 +6540,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) { @@ -7115,6 +6578,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go index 4fef7455f..f779f2b0a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_pkg.go @@ -9,6 +9,9 @@ var mgr privateManager // privateManager abstracts the code-generated manager that provides access to // concrete implementations. type privateManager interface { + // 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) // DeserializeImageActivityStreams returns the deserialization method for // the "ActivityStreamsImage" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go index d154a54bc..3677f0ff9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_icon/gen_property_activitystreams_icon.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsIconPropertyIterator struct { activitystreamsImageMember vocab.ActivityStreamsImage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention unknown interface{} iri *url.URL @@ -62,6 +63,12 @@ func deserializeActivityStreamsIconPropertyIterator(i interface{}, aliasMap map[ alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsIconPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsIconPropertyIterator{ activitystreamsMentionMember: v, @@ -104,6 +111,12 @@ func (this ActivityStreamsIconPropertyIterator) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsIconPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type { @@ -113,6 +126,9 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -124,6 +140,7 @@ func (this ActivityStreamsIconPropertyIterator) GetType() vocab.Type { func (this ActivityStreamsIconPropertyIterator) HasAny() bool { return this.IsActivityStreamsImage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.iri != nil } @@ -155,6 +172,13 @@ func (this ActivityStreamsIconPropertyIterator) IsIRI() bool { return this.iri != 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 ActivityStreamsIconPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -165,6 +189,8 @@ func (this ActivityStreamsIconPropertyIterator) JSONLDContext() map[string]strin child = this.GetActivityStreamsImage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } @@ -189,9 +215,12 @@ func (this ActivityStreamsIconPropertyIterator) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } + if this.IsActivityStreamsMention() { + return 3 + } if this.IsIRI() { return -2 } @@ -213,6 +242,8 @@ func (this ActivityStreamsIconPropertyIterator) LessThan(o vocab.ActivityStreams return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsIRI() { @@ -275,6 +306,13 @@ func (this *ActivityStreamsIconPropertyIterator) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsIconPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error { @@ -286,6 +324,10 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil @@ -299,6 +341,7 @@ func (this *ActivityStreamsIconPropertyIterator) SetType(t vocab.Type) error { func (this *ActivityStreamsIconPropertyIterator) clear() { this.activitystreamsImageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.unknown = nil this.iri = nil @@ -313,6 +356,8 @@ func (this ActivityStreamsIconPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsImage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsIRI() { @@ -419,6 +464,17 @@ func (this *ActivityStreamsIconProperty) AppendIRI(v *url.URL) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "icon". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsIconProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsIconPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "icon". Invalidates iterators that are traversing using Prev. // Returns an error if the type is not a valid one to set for this property. @@ -532,6 +588,23 @@ func (this *ActivityStreamsIconProperty) InsertIRI(idx int, v *url.URL) { } } +// InsertTootHashtag inserts a Hashtag value at the specified index for a property +// "icon". Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsIconProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsIconPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "icon". Invalidates all iterators. Returns an error if the type is // not a valid one to set for this property. @@ -602,6 +675,10 @@ func (this ActivityStreamsIconProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsLink() return lhs.LessThan(rhs) } else if idx1 == 2 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 3 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) @@ -699,6 +776,20 @@ func (this *ActivityStreamsIconProperty) PrependIRI(v *url.URL) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "icon". Invalidates all iterators. +func (this *ActivityStreamsIconProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsIconPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "icon". Invalidates all iterators. Returns an error if the type is // not a valid one to set for this property. @@ -802,6 +893,19 @@ func (this *ActivityStreamsIconProperty) SetIRI(idx int, v *url.URL) { } } +// SetTootHashtag sets a Hashtag value to be at the specified index for the +// property "icon". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsIconProperty) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsIconPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetType sets an arbitrary type value to the specified index of the property // "icon". Invalidates all iterators. Returns an error if the type is not a // valid one to set for this property. Panics if the index is out of bounds. diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go index 09ab5b927..dfcdb92a2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_pkg.go @@ -9,6 +9,9 @@ var mgr privateManager // privateManager abstracts the code-generated manager that provides access to // concrete implementations. type privateManager interface { + // 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) // DeserializeImageActivityStreams returns the deserialization method for // the "ActivityStreamsImage" non-functional property in the // vocabulary "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go index c9e7ee626..4650a8dd9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_image/gen_property_activitystreams_image.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsImagePropertyIterator struct { activitystreamsImageMember vocab.ActivityStreamsImage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention unknown interface{} iri *url.URL @@ -62,6 +63,12 @@ func deserializeActivityStreamsImagePropertyIterator(i interface{}, aliasMap map alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsImagePropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsImagePropertyIterator{ activitystreamsMentionMember: v, @@ -104,6 +111,12 @@ func (this ActivityStreamsImagePropertyIterator) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsImagePropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type { @@ -113,6 +126,9 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -124,6 +140,7 @@ func (this ActivityStreamsImagePropertyIterator) GetType() vocab.Type { func (this ActivityStreamsImagePropertyIterator) HasAny() bool { return this.IsActivityStreamsImage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.iri != nil } @@ -155,6 +172,13 @@ func (this ActivityStreamsImagePropertyIterator) IsIRI() bool { return this.iri != 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 ActivityStreamsImagePropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -165,6 +189,8 @@ func (this ActivityStreamsImagePropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsImage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } @@ -189,9 +215,12 @@ func (this ActivityStreamsImagePropertyIterator) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } + if this.IsActivityStreamsMention() { + return 3 + } if this.IsIRI() { return -2 } @@ -213,6 +242,8 @@ func (this ActivityStreamsImagePropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsIRI() { @@ -275,6 +306,13 @@ func (this *ActivityStreamsImagePropertyIterator) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsImagePropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error { @@ -286,6 +324,10 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil @@ -299,6 +341,7 @@ func (this *ActivityStreamsImagePropertyIterator) SetType(t vocab.Type) error { func (this *ActivityStreamsImagePropertyIterator) clear() { this.activitystreamsImageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.unknown = nil this.iri = nil @@ -313,6 +356,8 @@ func (this ActivityStreamsImagePropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsImage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsIRI() { @@ -419,6 +464,17 @@ func (this *ActivityStreamsImageProperty) AppendIRI(v *url.URL) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "image". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsImageProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsImagePropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "image". Invalidates iterators that are traversing using Prev. // Returns an error if the type is not a valid one to set for this property. @@ -532,6 +588,23 @@ func (this *ActivityStreamsImageProperty) InsertIRI(idx int, v *url.URL) { } } +// InsertTootHashtag inserts a Hashtag value at the specified index for a property +// "image". Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsImageProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsImagePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "image". Invalidates all iterators. Returns an error if the type // is not a valid one to set for this property. @@ -602,6 +675,10 @@ func (this ActivityStreamsImageProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsLink() return lhs.LessThan(rhs) } else if idx1 == 2 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 3 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) @@ -699,6 +776,20 @@ func (this *ActivityStreamsImageProperty) PrependIRI(v *url.URL) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "image". Invalidates all iterators. +func (this *ActivityStreamsImageProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsImagePropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "image". Invalidates all iterators. Returns an error if the type // is not a valid one to set for this property. @@ -802,6 +893,19 @@ func (this *ActivityStreamsImageProperty) SetIRI(idx int, v *url.URL) { } } +// SetTootHashtag sets a Hashtag value to be at the specified index for the +// property "image". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsImageProperty) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsImagePropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetType sets an arbitrary type value to the specified index of the property // "image". Invalidates all iterators. Returns an error if the type is not a // valid one to set for this property. Panics if the index is out of bounds. diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go index 5d02a13c6..b5db6370c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go index e83177476..1c5990643 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_inreplyto/gen_property_activitystreams_inReplyTo.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsInReplyToPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsInReplyToPropertyIterator(i interface{}, aliasMap schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsInReplyToPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) JSONLDContext() map[string] child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) LessThan(o vocab.ActivitySt return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsInReplyToPropertyIterator) SetType(t vocab.Type) erro this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsInReplyToPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsInReplyToPropertyIterator) serialize() (interface{}, e return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,84 +6540,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) { @@ -7115,6 +6578,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go index 8437a4437..5a0c64d26 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go index b73e07395..d81fa8c80 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_instrument/gen_property_activitystreams_instrument.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsInstrumentPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsInstrumentPropertyIterator(i interface{}, aliasMa schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsInstrumentPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) JSONLDContext() map[string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) LessThan(o vocab.ActivityS return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsInstrumentPropertyIterator) SetType(t vocab.Type) err this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsInstrumentPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsInstrumentPropertyIterator) serialize() (interface{}, return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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) { @@ -3851,6 +3556,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. @@ -4827,108 +4543,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. @@ -4980,6 +4594,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. @@ -5103,210 +4734,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6107,90 +5718,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) { @@ -6233,6 +5760,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) { @@ -7001,84 +6542,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) { @@ -7117,6 +6580,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go index 3227d852d..770f94624 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go index c0dccff4f..5969389e0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_items/gen_property_activitystreams_items.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsItemsPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsItemsPropertyIterator(i interface{}, aliasMap map schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsItemsPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsItemsPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsItemsPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsItemsPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsItemsPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsItemsPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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{{ @@ -6219,6 +5747,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) { @@ -6987,83 +6529,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) { @@ -7101,6 +6566,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go index ec35fb846..9fd90d5c0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_pkg.go @@ -13,6 +13,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go index b11746bce..eac321661 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_last/gen_property_activitystreams_last.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsLastProperty struct { activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage unknown interface{} @@ -63,6 +64,12 @@ func DeserializeLastProperty(m map[string]interface{}, aliasMap map[string]strin alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsLastProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsLastProperty{ activitystreamsMentionMember: v, @@ -96,6 +103,7 @@ func NewActivityStreamsLastProperty() *ActivityStreamsLastProperty { func (this *ActivityStreamsLastProperty) Clear() { this.activitystreamsCollectionPageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionPageMember = nil this.unknown = nil @@ -136,6 +144,12 @@ func (this ActivityStreamsLastProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsLastProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsLastProperty) GetType() vocab.Type { @@ -145,6 +159,9 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -159,6 +176,7 @@ func (this ActivityStreamsLastProperty) GetType() vocab.Type { func (this ActivityStreamsLastProperty) HasAny() bool { return this.IsActivityStreamsCollectionPage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollectionPage() || this.iri != nil @@ -200,6 +218,13 @@ func (this ActivityStreamsLastProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsLastProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -210,6 +235,8 @@ func (this ActivityStreamsLastProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollectionPage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -236,12 +263,15 @@ func (this ActivityStreamsLastProperty) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMention() { return 3 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 4 + } if this.IsIRI() { return -2 } @@ -263,6 +293,8 @@ func (this ActivityStreamsLastProperty) LessThan(o vocab.ActivityStreamsLastProp return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -291,6 +323,8 @@ func (this ActivityStreamsLastProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollectionPage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -335,6 +369,13 @@ func (this *ActivityStreamsLastProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsLastProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error { @@ -346,6 +387,10 @@ func (this *ActivityStreamsLastProperty) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go index 2150f8472..b5bb8b3b9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go index cc21513b5..a56119ff5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_location/gen_property_activitystreams_location.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsLocationPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsLocationPropertyIterator(i interface{}, aliasMap schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsLocationPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsLocationPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsLocationPropertyIterator) JSONLDContext() map[string]s child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsLocationPropertyIterator) LessThan(o vocab.ActivityStr return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsLocationPropertyIterator) SetType(t vocab.Type) error this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsLocationPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsLocationPropertyIterator) serialize() (interface{}, er return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,83 +6540,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) { @@ -7113,6 +6577,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go index ba9278f5d..0ce6fcf06 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_pkg.go @@ -13,6 +13,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go index e78ad86b7..c1085c4a1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_next/gen_property_activitystreams_next.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsNextProperty struct { activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage unknown interface{} @@ -63,6 +64,12 @@ func DeserializeNextProperty(m map[string]interface{}, aliasMap map[string]strin alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsNextProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsNextProperty{ activitystreamsMentionMember: v, @@ -96,6 +103,7 @@ func NewActivityStreamsNextProperty() *ActivityStreamsNextProperty { func (this *ActivityStreamsNextProperty) Clear() { this.activitystreamsCollectionPageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionPageMember = nil this.unknown = nil @@ -136,6 +144,12 @@ func (this ActivityStreamsNextProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsNextProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsNextProperty) GetType() vocab.Type { @@ -145,6 +159,9 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -159,6 +176,7 @@ func (this ActivityStreamsNextProperty) GetType() vocab.Type { func (this ActivityStreamsNextProperty) HasAny() bool { return this.IsActivityStreamsCollectionPage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollectionPage() || this.iri != nil @@ -200,6 +218,13 @@ func (this ActivityStreamsNextProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsNextProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -210,6 +235,8 @@ func (this ActivityStreamsNextProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollectionPage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -236,12 +263,15 @@ func (this ActivityStreamsNextProperty) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMention() { return 3 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 4 + } if this.IsIRI() { return -2 } @@ -263,6 +293,8 @@ func (this ActivityStreamsNextProperty) LessThan(o vocab.ActivityStreamsNextProp return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -291,6 +323,8 @@ func (this ActivityStreamsNextProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollectionPage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -335,6 +369,13 @@ func (this *ActivityStreamsNextProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsNextProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error { @@ -346,6 +387,10 @@ func (this *ActivityStreamsNextProperty) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go index d5a67da47..24de805a8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go index 300c62a5f..03cb585ad 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_object/gen_property_activitystreams_object.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsObjectPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsObjectPropertyIterator(i interface{}, aliasMap ma schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsObjectPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsObjectPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsObjectPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsObjectPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsObjectPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsObjectPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsObjectPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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) { @@ -6220,6 +5748,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) { @@ -6988,83 +6530,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) { @@ -7102,6 +6567,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go index efff9b2a2..c1feafb7a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go index 911335734..438d2fc5b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_oneof/gen_property_activitystreams_oneOf.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsOneOfPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsOneOfPropertyIterator(i interface{}, aliasMap map schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsOneOfPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsOneOfPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsOneOfPropertyIterator) JSONLDContext() map[string]stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsOneOfPropertyIterator) LessThan(o vocab.ActivityStream return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsOneOfPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsOneOfPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsOneOfPropertyIterator) serialize() (interface{}, error return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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{{ @@ -6219,6 +5747,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) { @@ -6987,83 +6529,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) { @@ -7101,6 +6566,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go index 7ff688747..e6c16e922 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go index 7b02ca385..d15265516 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_ordereditems/gen_property_activitystreams_orderedItems.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsOrderedItemsPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsOrderedItemsPropertyIterator(i interface{}, alias schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) SetType(t vocab.Type) e this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsOrderedItemsPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsOrderedItemsPropertyIterator) serialize() (interface{} return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3785,77 +3558,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) { @@ -3890,6 +3592,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. @@ -4867,108 +4580,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. @@ -5020,6 +4631,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. @@ -5143,210 +4771,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6148,90 +5756,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) { @@ -6274,6 +5798,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) { @@ -7042,84 +6580,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) { @@ -7158,6 +6618,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go index 7430de0e4..70c65b77d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go index b74a2162d..ce2b20ca9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_origin/gen_property_activitystreams_origin.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsOriginPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsOriginPropertyIterator(i interface{}, aliasMap ma schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsOriginPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsOriginPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsOriginPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsOriginPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsOriginPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsOriginPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsOriginPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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) { @@ -6220,6 +5748,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) { @@ -6988,83 +6530,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) { @@ -7102,6 +6567,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go index d734ec47b..1970f5971 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_pkg.go @@ -17,6 +17,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go index a3a70ffa8..fb4e185f8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_partof/gen_property_activitystreams_partOf.go @@ -17,6 +17,7 @@ type ActivityStreamsPartOfProperty struct { activitystreamsLinkMember vocab.ActivityStreamsLink activitystreamsCollectionMember vocab.ActivityStreamsCollection activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage @@ -71,6 +72,12 @@ func DeserializePartOfProperty(m map[string]interface{}, aliasMap map[string]str alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsPartOfProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPartOfProperty{ activitystreamsMentionMember: v, @@ -111,6 +118,7 @@ func (this *ActivityStreamsPartOfProperty) Clear() { this.activitystreamsLinkMember = nil this.activitystreamsCollectionMember = nil this.activitystreamsCollectionPageMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionMember = nil this.activitystreamsOrderedCollectionPageMember = nil @@ -166,6 +174,12 @@ func (this ActivityStreamsPartOfProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsPartOfProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsPartOfProperty) GetType() vocab.Type { @@ -178,6 +192,9 @@ func (this ActivityStreamsPartOfProperty) GetType() vocab.Type { if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -196,6 +213,7 @@ func (this ActivityStreamsPartOfProperty) HasAny() bool { return this.IsActivityStreamsLink() || this.IsActivityStreamsCollection() || this.IsActivityStreamsCollectionPage() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollection() || this.IsActivityStreamsOrderedCollectionPage() || @@ -253,6 +271,13 @@ func (this ActivityStreamsPartOfProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsPartOfProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -265,6 +290,8 @@ func (this ActivityStreamsPartOfProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollection().JSONLDContext() } else if this.IsActivityStreamsCollectionPage() { child = this.GetActivityStreamsCollectionPage().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollection() { @@ -296,15 +323,18 @@ func (this ActivityStreamsPartOfProperty) KindIndex() int { if this.IsActivityStreamsCollectionPage() { return 2 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 3 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsMention() { return 4 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsOrderedCollection() { return 5 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 6 + } if this.IsIRI() { return -2 } @@ -328,6 +358,8 @@ func (this ActivityStreamsPartOfProperty) LessThan(o vocab.ActivityStreamsPartOf return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollection() { @@ -360,6 +392,8 @@ func (this ActivityStreamsPartOfProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollection().Serialize() } else if this.IsActivityStreamsCollectionPage() { return this.GetActivityStreamsCollectionPage().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollection() { @@ -420,6 +454,13 @@ func (this *ActivityStreamsPartOfProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsPartOfProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error { @@ -435,6 +476,10 @@ func (this *ActivityStreamsPartOfProperty) SetType(t vocab.Type) error { this.SetActivityStreamsCollectionPage(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go index cbc1bb850..57d210f9b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_pkg.go @@ -13,6 +13,9 @@ 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) + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go index d9bf488b5..d7058195a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_prev/gen_property_activitystreams_prev.go @@ -16,6 +16,7 @@ import ( type ActivityStreamsPrevProperty struct { activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage unknown interface{} @@ -63,6 +64,12 @@ func DeserializePrevProperty(m map[string]interface{}, aliasMap map[string]strin alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsPrevProperty{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsPrevProperty{ activitystreamsMentionMember: v, @@ -96,6 +103,7 @@ func NewActivityStreamsPrevProperty() *ActivityStreamsPrevProperty { func (this *ActivityStreamsPrevProperty) Clear() { this.activitystreamsCollectionPageMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.activitystreamsOrderedCollectionPageMember = nil this.unknown = nil @@ -136,6 +144,12 @@ func (this ActivityStreamsPrevProperty) GetIRI() *url.URL { return this.iri } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsPrevProperty) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsPrevProperty) GetType() vocab.Type { @@ -145,6 +159,9 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -159,6 +176,7 @@ func (this ActivityStreamsPrevProperty) GetType() vocab.Type { func (this ActivityStreamsPrevProperty) HasAny() bool { return this.IsActivityStreamsCollectionPage() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() || this.IsActivityStreamsOrderedCollectionPage() || this.iri != nil @@ -200,6 +218,13 @@ func (this ActivityStreamsPrevProperty) IsIRI() bool { return this.iri != 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 ActivityStreamsPrevProperty) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // JSONLDContext returns the JSONLD URIs required in the context string for this // property and the specific values that are set. The value in the map is the // alias used to import the property's value or values. @@ -210,6 +235,8 @@ func (this ActivityStreamsPrevProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsCollectionPage().JSONLDContext() } else if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -236,12 +263,15 @@ func (this ActivityStreamsPrevProperty) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsMention() { return 3 } + if this.IsActivityStreamsOrderedCollectionPage() { + return 4 + } if this.IsIRI() { return -2 } @@ -263,6 +293,8 @@ func (this ActivityStreamsPrevProperty) LessThan(o vocab.ActivityStreamsPrevProp return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -291,6 +323,8 @@ func (this ActivityStreamsPrevProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsCollectionPage().Serialize() } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } else if this.IsActivityStreamsOrderedCollectionPage() { @@ -335,6 +369,13 @@ func (this *ActivityStreamsPrevProperty) SetIRI(v *url.URL) { this.iri = v } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsPrevProperty) SetTootHashtag(v vocab.TootHashtag) { + this.Clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error { @@ -346,6 +387,10 @@ func (this *ActivityStreamsPrevProperty) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go index 1805ec7e1..2cb23bc64 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go index 9782ef25c..7093fa009 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_preview/gen_property_activitystreams_preview.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsPreviewPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsPreviewPropertyIterator(i interface{}, aliasMap m schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsPreviewPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsPreviewPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsPreviewPropertyIterator) JSONLDContext() map[string]st child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsPreviewPropertyIterator) LessThan(o vocab.ActivityStre return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsPreviewPropertyIterator) SetType(t vocab.Type) error this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsPreviewPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsPreviewPropertyIterator) serialize() (interface{}, err return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3749,74 +3522,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{ @@ -3850,6 +3555,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. @@ -4825,108 +4541,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. @@ -4978,6 +4592,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. @@ -5101,210 +4732,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6105,90 +5716,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) { @@ -6231,6 +5758,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) { @@ -6999,83 +6540,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) { @@ -7113,6 +6577,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go index d7c16c04c..c82ba4ab0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_pkg.go @@ -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" @@ -181,9 +173,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -204,10 +193,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" @@ -220,14 +205,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go index e1ddc6a29..6adecdbfa 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_relationship/gen_property_activitystreams_relationship.go @@ -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 @@ -57,18 +55,14 @@ type ActivityStreamsRelationshipPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -168,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, @@ -186,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, @@ -366,12 +348,6 @@ func deserializeActivityStreamsRelationshipPropertyIterator(i interface{}, alias schemaPropertyValueMember: v, } 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, @@ -402,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, @@ -426,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, @@ -847,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 { @@ -944,18 +864,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() } @@ -1043,9 +957,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1061,9 +972,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() } @@ -1073,12 +981,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() } @@ -1113,10 +1015,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() || @@ -1146,18 +1046,14 @@ func (this ActivityStreamsRelationshipPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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 +1432,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 { @@ -1630,14 +1484,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() { @@ -1696,8 +1546,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) JSONLDContext() map[stri child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1708,18 +1556,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() { @@ -1778,158 +1620,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.IsTootIdentityProof() { return 21 } - if this.IsActivityStreamsGroup() { + if this.IsActivityStreamsIgnore() { return 22 } - if this.IsTootIdentityProof() { + if this.IsActivityStreamsImage() { return 23 } - if this.IsActivityStreamsIgnore() { + if this.IsActivityStreamsIntransitiveActivity() { return 24 } - if this.IsActivityStreamsImage() { + if this.IsActivityStreamsInvite() { return 25 } - if this.IsActivityStreamsIntransitiveActivity() { + if this.IsActivityStreamsJoin() { return 26 } - if this.IsActivityStreamsInvite() { + if this.IsActivityStreamsLeave() { return 27 } - if this.IsActivityStreamsJoin() { + if this.IsActivityStreamsLike() { return 28 } - if this.IsActivityStreamsLeave() { + if this.IsActivityStreamsListen() { return 29 } - if this.IsActivityStreamsLike() { + if this.IsActivityStreamsMove() { return 30 } - if this.IsActivityStreamsListen() { + if this.IsActivityStreamsNote() { return 31 } - if this.IsActivityStreamsMove() { + if this.IsActivityStreamsOffer() { return 32 } - if this.IsActivityStreamsNote() { + if this.IsActivityStreamsOrderedCollection() { return 33 } - if this.IsActivityStreamsOffer() { + if this.IsActivityStreamsOrderedCollectionPage() { return 34 } - if this.IsActivityStreamsOrderedCollection() { + if this.IsActivityStreamsOrganization() { return 35 } - if this.IsActivityStreamsOrderedCollectionPage() { + if this.IsActivityStreamsPage() { return 36 } - if this.IsActivityStreamsOrganization() { + if this.IsActivityStreamsPerson() { return 37 } - if this.IsActivityStreamsPage() { + if this.IsActivityStreamsPlace() { return 38 } - if this.IsActivityStreamsPerson() { + if this.IsActivityStreamsProfile() { return 39 } - if this.IsActivityStreamsPlace() { + if this.IsSchemaPropertyValue() { return 40 } - if this.IsActivityStreamsProfile() { + if this.IsActivityStreamsQuestion() { return 41 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsRead() { return 42 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsReject() { return 43 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsRelationship() { return 44 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRemove() { return 45 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsService() { return 46 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsTentativeAccept() { return 47 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeReject() { return 48 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTombstone() { return 49 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTravel() { return 50 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsUndo() { return 51 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUpdate() { return 52 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsVideo() { return 53 } - if this.IsForgeFedTicketDependency() { - 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 54 } if this.IsIRI() { return -2 @@ -1968,14 +1792,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() { @@ -2034,8 +1854,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) LessThan(o vocab.Activit return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2046,18 +1864,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() { @@ -2467,48 +2279,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() @@ -2579,10 +2349,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 @@ -2591,10 +2357,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 @@ -2711,10 +2473,6 @@ func (this *ActivityStreamsRelationshipPropertyIterator) SetType(t vocab.Type) e this.SetSchemaPropertyValue(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 @@ -2735,10 +2493,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 @@ -2751,14 +2505,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 @@ -2800,10 +2546,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 @@ -2833,18 +2577,14 @@ func (this *ActivityStreamsRelationshipPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2880,14 +2620,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() { @@ -2946,8 +2682,6 @@ func (this ActivityStreamsRelationshipPropertyIterator) serialize() (interface{} return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2958,18 +2692,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() { @@ -3669,77 +3397,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) { @@ -4717,108 +4374,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. @@ -4989,206 +4544,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].GetTootIdentityProof() rhs := this.properties[j].GetTootIdentityProof() return lhs.LessThan(rhs) - } else if idx1 == 24 { + } else if idx1 == 22 { lhs := this.properties[i].GetActivityStreamsIgnore() rhs := this.properties[j].GetActivityStreamsIgnore() return lhs.LessThan(rhs) - } else if idx1 == 25 { + } else if idx1 == 23 { lhs := this.properties[i].GetActivityStreamsImage() rhs := this.properties[j].GetActivityStreamsImage() return lhs.LessThan(rhs) - } else if idx1 == 26 { + } else if idx1 == 24 { lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() return lhs.LessThan(rhs) - } else if idx1 == 27 { + } else if idx1 == 25 { lhs := this.properties[i].GetActivityStreamsInvite() rhs := this.properties[j].GetActivityStreamsInvite() return lhs.LessThan(rhs) - } else if idx1 == 28 { + } else if idx1 == 26 { lhs := this.properties[i].GetActivityStreamsJoin() rhs := this.properties[j].GetActivityStreamsJoin() return lhs.LessThan(rhs) - } else if idx1 == 29 { + } else if idx1 == 27 { lhs := this.properties[i].GetActivityStreamsLeave() rhs := this.properties[j].GetActivityStreamsLeave() return lhs.LessThan(rhs) - } else if idx1 == 30 { + } else if idx1 == 28 { lhs := this.properties[i].GetActivityStreamsLike() rhs := this.properties[j].GetActivityStreamsLike() return lhs.LessThan(rhs) - } else if idx1 == 31 { + } else if idx1 == 29 { lhs := this.properties[i].GetActivityStreamsListen() rhs := this.properties[j].GetActivityStreamsListen() return lhs.LessThan(rhs) - } else if idx1 == 32 { + } else if idx1 == 30 { lhs := this.properties[i].GetActivityStreamsMove() rhs := this.properties[j].GetActivityStreamsMove() return lhs.LessThan(rhs) - } else if idx1 == 33 { + } else if idx1 == 31 { lhs := this.properties[i].GetActivityStreamsNote() rhs := this.properties[j].GetActivityStreamsNote() return lhs.LessThan(rhs) - } else if idx1 == 34 { + } else if idx1 == 32 { lhs := this.properties[i].GetActivityStreamsOffer() rhs := this.properties[j].GetActivityStreamsOffer() return lhs.LessThan(rhs) - } else if idx1 == 35 { + } else if idx1 == 33 { lhs := this.properties[i].GetActivityStreamsOrderedCollection() rhs := this.properties[j].GetActivityStreamsOrderedCollection() return lhs.LessThan(rhs) - } else if idx1 == 36 { + } else if idx1 == 34 { lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() return lhs.LessThan(rhs) - } else if idx1 == 37 { + } else if idx1 == 35 { lhs := this.properties[i].GetActivityStreamsOrganization() rhs := this.properties[j].GetActivityStreamsOrganization() return lhs.LessThan(rhs) - } else if idx1 == 38 { + } else if idx1 == 36 { lhs := this.properties[i].GetActivityStreamsPage() rhs := this.properties[j].GetActivityStreamsPage() return lhs.LessThan(rhs) - } else if idx1 == 39 { + } else if idx1 == 37 { lhs := this.properties[i].GetActivityStreamsPerson() rhs := this.properties[j].GetActivityStreamsPerson() return lhs.LessThan(rhs) - } else if idx1 == 40 { + } else if idx1 == 38 { lhs := this.properties[i].GetActivityStreamsPlace() rhs := this.properties[j].GetActivityStreamsPlace() return lhs.LessThan(rhs) - } else if idx1 == 41 { + } else if idx1 == 39 { lhs := this.properties[i].GetActivityStreamsProfile() rhs := this.properties[j].GetActivityStreamsProfile() return lhs.LessThan(rhs) - } else if idx1 == 42 { + } else if idx1 == 40 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() 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 == 41 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 45 { + } else if idx1 == 42 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 43 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 45 { 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 == 46 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 51 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 48 { 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 == 49 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 56 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -5962,90 +5493,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) { @@ -6830,84 +6277,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) { diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go index b4da9eb2c..46a869513 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go index ac8a047a5..15b868d14 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_result/gen_property_activitystreams_result.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsResultPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsResultPropertyIterator(i interface{}, aliasMap ma schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsResultPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsResultPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsResultPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsResultPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsResultPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsResultPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsResultPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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) { @@ -6220,6 +5748,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) { @@ -6988,83 +6530,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) { @@ -7102,6 +6567,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go index f84d1a427..ea054037a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go index 5cc532d2e..9b972dc36 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_source/gen_property_activitystreams_source.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsSourceProperty struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func DeserializeSourceProperty(m map[string]interface{}, aliasMap map[string]str schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -518,10 +483,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 @@ -531,6 +494,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 @@ -552,18 +516,14 @@ func (this *ActivityStreamsSourceProperty) Clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -952,44 +912,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 { @@ -1009,6 +931,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. @@ -1052,18 +980,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() } @@ -1091,6 +1013,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() } @@ -1154,9 +1079,6 @@ func (this ActivityStreamsSourceProperty) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1172,9 +1094,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() } @@ -1184,12 +1103,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() } @@ -1225,10 +1138,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() || @@ -1238,6 +1149,7 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1259,18 +1171,14 @@ func (this ActivityStreamsSourceProperty) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1663,48 +1571,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 { @@ -1724,6 +1590,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. @@ -1759,14 +1632,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() { @@ -1785,6 +1654,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() { @@ -1827,8 +1698,6 @@ func (this ActivityStreamsSourceProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1839,18 +1708,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() { @@ -1912,161 +1775,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2107,14 +1955,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() { @@ -2133,6 +1977,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() { @@ -2175,8 +2021,6 @@ func (this ActivityStreamsSourceProperty) LessThan(o vocab.ActivityStreamsSource return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2187,18 +2031,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() { @@ -2253,14 +2091,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() { @@ -2279,6 +2113,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() { @@ -2321,8 +2157,6 @@ func (this ActivityStreamsSourceProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2333,18 +2167,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() { @@ -2741,48 +2569,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() @@ -2803,6 +2589,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) { @@ -2857,10 +2650,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 @@ -2869,10 +2658,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 @@ -2909,6 +2694,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 @@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSourceProperty) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -3017,10 +2802,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 @@ -3033,14 +2814,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go index 9708e08a1..1a5522d56 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go index 9904c54d0..300d95ed5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_subject/gen_property_activitystreams_subject.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsSubjectProperty struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func DeserializeSubjectProperty(m map[string]interface{}, aliasMap map[string]st schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -518,10 +483,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 @@ -531,6 +494,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 @@ -552,18 +516,14 @@ func (this *ActivityStreamsSubjectProperty) Clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -952,44 +912,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 { @@ -1009,6 +931,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. @@ -1052,18 +980,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() } @@ -1091,6 +1013,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() } @@ -1154,9 +1079,6 @@ func (this ActivityStreamsSubjectProperty) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1172,9 +1094,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() } @@ -1184,12 +1103,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() } @@ -1225,10 +1138,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() || @@ -1238,6 +1149,7 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1259,18 +1171,14 @@ func (this ActivityStreamsSubjectProperty) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1663,48 +1571,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 { @@ -1724,6 +1590,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. @@ -1759,14 +1632,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() { @@ -1785,6 +1654,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() { @@ -1827,8 +1698,6 @@ func (this ActivityStreamsSubjectProperty) JSONLDContext() map[string]string { child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1839,18 +1708,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() { @@ -1912,161 +1775,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2107,14 +1955,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() { @@ -2133,6 +1977,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() { @@ -2175,8 +2021,6 @@ func (this ActivityStreamsSubjectProperty) LessThan(o vocab.ActivityStreamsSubje return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2187,18 +2031,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() { @@ -2253,14 +2091,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() { @@ -2279,6 +2113,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() { @@ -2321,8 +2157,6 @@ func (this ActivityStreamsSubjectProperty) Serialize() (interface{}, error) { return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -2333,18 +2167,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() { @@ -2741,48 +2569,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() @@ -2803,6 +2589,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) { @@ -2857,10 +2650,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 @@ -2869,10 +2658,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 @@ -2909,6 +2694,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 @@ -2993,10 +2782,6 @@ func (this *ActivityStreamsSubjectProperty) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -3017,10 +2802,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 @@ -3033,14 +2814,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go index cde7aa8db..16eef045c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go index d72c3890b..2d5d7609d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_tag/gen_property_activitystreams_tag.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsTagPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 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, @@ -193,12 +182,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, @@ -253,6 +236,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, @@ -379,12 +368,6 @@ func deserializeActivityStreamsTagPropertyIterator(i interface{}, aliasMap map[s schemaPropertyValueMember: v, } 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, @@ -415,12 +398,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, @@ -439,18 +416,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, @@ -874,44 +839,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 { @@ -931,6 +858,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. @@ -974,18 +907,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() } @@ -1013,6 +940,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() } @@ -1076,9 +1006,6 @@ func (this ActivityStreamsTagPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1094,9 +1021,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() } @@ -1106,12 +1030,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() } @@ -1147,10 +1065,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() || @@ -1160,6 +1076,7 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1181,18 +1098,14 @@ func (this ActivityStreamsTagPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1585,48 +1498,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 { @@ -1646,6 +1517,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. @@ -1681,14 +1559,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() { @@ -1707,6 +1581,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() { @@ -1749,8 +1625,6 @@ func (this ActivityStreamsTagPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1761,18 +1635,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() { @@ -1834,161 +1702,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2029,14 +1882,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() { @@ -2055,6 +1904,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() { @@ -2097,8 +1948,6 @@ func (this ActivityStreamsTagPropertyIterator) LessThan(o vocab.ActivityStreamsT return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2109,18 +1958,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() { @@ -2544,48 +2387,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() @@ -2606,6 +2407,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) { @@ -2660,10 +2468,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 @@ -2672,10 +2476,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 @@ -2712,6 +2512,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 @@ -2796,10 +2600,6 @@ func (this *ActivityStreamsTagPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2820,10 +2620,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 @@ -2836,14 +2632,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 @@ -2886,10 +2674,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 @@ -2899,6 +2685,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 @@ -2920,18 +2707,14 @@ func (this *ActivityStreamsTagPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2969,14 +2752,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() { @@ -2995,6 +2774,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() { @@ -3037,8 +2818,6 @@ func (this ActivityStreamsTagPropertyIterator) serialize() (interface{}, error) return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3049,18 +2828,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() { @@ -3738,73 +3511,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{ @@ -3837,6 +3543,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) { @@ -4811,108 +4528,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. @@ -4964,6 +4579,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. @@ -5087,210 +4719,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6091,90 +5703,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{{ @@ -6216,6 +5744,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) { @@ -6984,83 +6526,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) { @@ -7098,6 +6563,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go index ce55d83fd..d2db7b8fd 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go index 02fda0c75..60b01cf53 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_target/gen_property_activitystreams_target.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsTargetPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 @@ -176,12 +171,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, @@ -194,12 +183,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, @@ -254,6 +237,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, @@ -380,12 +369,6 @@ func deserializeActivityStreamsTargetPropertyIterator(i interface{}, aliasMap ma schemaPropertyValueMember: v, } 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, @@ -416,12 +399,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, @@ -440,18 +417,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, @@ -875,44 +840,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 { @@ -932,6 +859,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. @@ -975,18 +908,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() } @@ -1014,6 +941,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() } @@ -1077,9 +1007,6 @@ func (this ActivityStreamsTargetPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1095,9 +1022,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() } @@ -1107,12 +1031,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() } @@ -1148,10 +1066,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() || @@ -1161,6 +1077,7 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1182,18 +1099,14 @@ func (this ActivityStreamsTargetPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1586,48 +1499,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 { @@ -1647,6 +1518,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. @@ -1682,14 +1560,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() { @@ -1708,6 +1582,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() { @@ -1750,8 +1626,6 @@ func (this ActivityStreamsTargetPropertyIterator) JSONLDContext() map[string]str child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1762,18 +1636,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() { @@ -1835,161 +1703,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2030,14 +1883,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() { @@ -2056,6 +1905,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() { @@ -2098,8 +1949,6 @@ func (this ActivityStreamsTargetPropertyIterator) LessThan(o vocab.ActivityStrea return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2110,18 +1959,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() { @@ -2545,48 +2388,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() @@ -2607,6 +2408,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) { @@ -2661,10 +2469,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 @@ -2673,10 +2477,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 @@ -2713,6 +2513,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 @@ -2797,10 +2601,6 @@ func (this *ActivityStreamsTargetPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2821,10 +2621,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 @@ -2837,14 +2633,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 @@ -2887,10 +2675,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 @@ -2900,6 +2686,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 @@ -2921,18 +2708,14 @@ func (this *ActivityStreamsTargetPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2970,14 +2753,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() { @@ -2996,6 +2775,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() { @@ -3038,8 +2819,6 @@ func (this ActivityStreamsTargetPropertyIterator) serialize() (interface{}, erro return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3050,18 +2829,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() { @@ -3740,73 +3513,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{ @@ -3840,6 +3546,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) { @@ -4814,108 +4531,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. @@ -4967,6 +4582,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. @@ -5090,210 +4722,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6094,90 +5706,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) { @@ -6220,6 +5748,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) { @@ -6988,83 +6530,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) { @@ -7102,6 +6567,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go index 02353e9b5..e602b1a7c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_pkg.go @@ -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) @@ -189,9 +184,6 @@ type privateManager interface { // the "SchemaPropertyValue" non-functional property in the vocabulary // "Schema" DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" @@ -212,10 +204,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" @@ -228,14 +216,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go index 706ead07d..c5bfa27e2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_to/gen_property_activitystreams_to.go @@ -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 @@ -59,18 +58,14 @@ type ActivityStreamsToPropertyIterator struct { activitystreamsPlaceMember vocab.ActivityStreamsPlace activitystreamsProfileMember vocab.ActivityStreamsProfile schemaPropertyValueMember vocab.SchemaPropertyValue - 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 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, @@ -193,12 +182,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, @@ -253,6 +236,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, @@ -379,12 +368,6 @@ func deserializeActivityStreamsToPropertyIterator(i interface{}, aliasMap map[st schemaPropertyValueMember: v, } 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, @@ -415,12 +398,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, @@ -439,18 +416,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, @@ -874,44 +839,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 { @@ -931,6 +858,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. @@ -974,18 +907,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() } @@ -1013,6 +940,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() } @@ -1076,9 +1006,6 @@ func (this ActivityStreamsToPropertyIterator) GetType() vocab.Type { if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue() } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion() } @@ -1094,9 +1021,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() } @@ -1106,12 +1030,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() } @@ -1147,10 +1065,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() || @@ -1160,6 +1076,7 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsFlag() || this.IsActivityStreamsFollow() || this.IsActivityStreamsGroup() || + this.IsTootHashtag() || this.IsTootIdentityProof() || this.IsActivityStreamsIgnore() || this.IsActivityStreamsImage() || @@ -1181,18 +1098,14 @@ func (this ActivityStreamsToPropertyIterator) HasAny() bool { this.IsActivityStreamsPlace() || this.IsActivityStreamsProfile() || this.IsSchemaPropertyValue() || - 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() || @@ -1585,48 +1498,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 { @@ -1646,6 +1517,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. @@ -1681,14 +1559,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() { @@ -1707,6 +1581,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() { @@ -1749,8 +1625,6 @@ func (this ActivityStreamsToPropertyIterator) JSONLDContext() map[string]string child = this.GetActivityStreamsProfile().JSONLDContext() } else if this.IsSchemaPropertyValue() { child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() } else if this.IsActivityStreamsQuestion() { child = this.GetActivityStreamsQuestion().JSONLDContext() } else if this.IsActivityStreamsRead() { @@ -1761,18 +1635,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() { @@ -1834,161 +1702,146 @@ 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.IsSchemaPropertyValue() { return 43 } - if this.IsSchemaPropertyValue() { + if this.IsActivityStreamsQuestion() { return 44 } - if this.IsForgeFedPush() { + if this.IsActivityStreamsRead() { return 45 } - if this.IsActivityStreamsQuestion() { + if this.IsActivityStreamsReject() { return 46 } - if this.IsActivityStreamsRead() { + if this.IsActivityStreamsRelationship() { return 47 } - if this.IsActivityStreamsReject() { + if this.IsActivityStreamsRemove() { return 48 } - if this.IsActivityStreamsRelationship() { + if this.IsActivityStreamsService() { return 49 } - if this.IsActivityStreamsRemove() { + if this.IsActivityStreamsTentativeAccept() { return 50 } - if this.IsForgeFedRepository() { + if this.IsActivityStreamsTentativeReject() { return 51 } - if this.IsActivityStreamsService() { + if this.IsActivityStreamsTombstone() { return 52 } - if this.IsActivityStreamsTentativeAccept() { + if this.IsActivityStreamsTravel() { return 53 } - if this.IsActivityStreamsTentativeReject() { + if this.IsActivityStreamsUndo() { return 54 } - if this.IsForgeFedTicket() { + if this.IsActivityStreamsUpdate() { return 55 } - if this.IsForgeFedTicketDependency() { + if this.IsActivityStreamsVideo() { return 56 } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } if this.IsActivityStreamsView() { - return 62 + return 57 } if this.IsIRI() { return -2 @@ -2029,14 +1882,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() { @@ -2055,6 +1904,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() { @@ -2097,8 +1948,6 @@ func (this ActivityStreamsToPropertyIterator) LessThan(o vocab.ActivityStreamsTo return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) } else if this.IsActivityStreamsRead() { @@ -2109,18 +1958,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() { @@ -2544,48 +2387,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() @@ -2606,6 +2407,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) { @@ -2660,10 +2468,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 @@ -2672,10 +2476,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 @@ -2712,6 +2512,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 @@ -2796,10 +2600,6 @@ func (this *ActivityStreamsToPropertyIterator) SetType(t vocab.Type) error { this.SetSchemaPropertyValue(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 @@ -2820,10 +2620,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 @@ -2836,14 +2632,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 @@ -2886,10 +2674,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 @@ -2899,6 +2685,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 @@ -2920,18 +2707,14 @@ func (this *ActivityStreamsToPropertyIterator) clear() { this.activitystreamsPlaceMember = nil this.activitystreamsProfileMember = nil this.schemaPropertyValueMember = 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 @@ -2969,14 +2752,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() { @@ -2995,6 +2774,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() { @@ -3037,8 +2818,6 @@ func (this ActivityStreamsToPropertyIterator) serialize() (interface{}, error) { return this.GetActivityStreamsProfile().Serialize() } else if this.IsSchemaPropertyValue() { return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() } else if this.IsActivityStreamsQuestion() { return this.GetActivityStreamsQuestion().Serialize() } else if this.IsActivityStreamsRead() { @@ -3049,18 +2828,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() { @@ -3738,73 +3511,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{ @@ -3837,6 +3543,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) { @@ -4811,108 +4528,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. @@ -4964,6 +4579,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. @@ -5087,210 +4719,190 @@ 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 { + } else if idx1 == 43 { lhs := this.properties[i].GetSchemaPropertyValue() rhs := this.properties[j].GetSchemaPropertyValue() return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { + } else if idx1 == 44 { lhs := this.properties[i].GetActivityStreamsQuestion() rhs := this.properties[j].GetActivityStreamsQuestion() return lhs.LessThan(rhs) - } else if idx1 == 47 { + } else if idx1 == 45 { lhs := this.properties[i].GetActivityStreamsRead() rhs := this.properties[j].GetActivityStreamsRead() return lhs.LessThan(rhs) - } else if idx1 == 48 { + } else if idx1 == 46 { lhs := this.properties[i].GetActivityStreamsReject() rhs := this.properties[j].GetActivityStreamsReject() return lhs.LessThan(rhs) - } else if idx1 == 49 { + } else if idx1 == 47 { lhs := this.properties[i].GetActivityStreamsRelationship() rhs := this.properties[j].GetActivityStreamsRelationship() return lhs.LessThan(rhs) - } else if idx1 == 50 { + } else if idx1 == 48 { lhs := this.properties[i].GetActivityStreamsRemove() rhs := this.properties[j].GetActivityStreamsRemove() return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { + } else if idx1 == 49 { lhs := this.properties[i].GetActivityStreamsService() rhs := this.properties[j].GetActivityStreamsService() return lhs.LessThan(rhs) - } else if idx1 == 53 { + } else if idx1 == 50 { lhs := this.properties[i].GetActivityStreamsTentativeAccept() rhs := this.properties[j].GetActivityStreamsTentativeAccept() return lhs.LessThan(rhs) - } else if idx1 == 54 { + } else if idx1 == 51 { lhs := this.properties[i].GetActivityStreamsTentativeReject() rhs := this.properties[j].GetActivityStreamsTentativeReject() return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { + } else if idx1 == 52 { lhs := this.properties[i].GetActivityStreamsTombstone() rhs := this.properties[j].GetActivityStreamsTombstone() return lhs.LessThan(rhs) - } else if idx1 == 58 { + } else if idx1 == 53 { lhs := this.properties[i].GetActivityStreamsTravel() rhs := this.properties[j].GetActivityStreamsTravel() return lhs.LessThan(rhs) - } else if idx1 == 59 { + } else if idx1 == 54 { lhs := this.properties[i].GetActivityStreamsUndo() rhs := this.properties[j].GetActivityStreamsUndo() return lhs.LessThan(rhs) - } else if idx1 == 60 { + } else if idx1 == 55 { lhs := this.properties[i].GetActivityStreamsUpdate() rhs := this.properties[j].GetActivityStreamsUpdate() return lhs.LessThan(rhs) - } else if idx1 == 61 { + } else if idx1 == 56 { lhs := this.properties[i].GetActivityStreamsVideo() rhs := this.properties[j].GetActivityStreamsVideo() return lhs.LessThan(rhs) - } else if idx1 == 62 { + } else if idx1 == 57 { lhs := this.properties[i].GetActivityStreamsView() rhs := this.properties[j].GetActivityStreamsView() return lhs.LessThan(rhs) @@ -6091,90 +5703,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{{ @@ -6216,6 +5744,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) { @@ -6984,83 +6526,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) { @@ -7098,6 +6563,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go index cad89cd63..9a636a774 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_pkg.go @@ -9,6 +9,9 @@ var mgr privateManager // privateManager abstracts the code-generated manager that provides access to // concrete implementations. type privateManager interface { + // 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) // DeserializeLinkActivityStreams returns the deserialization method for // the "ActivityStreamsLink" non-functional property in the vocabulary // "ActivityStreams" diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go index 79719e452..ac8cf84c6 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/property_url/gen_property_activitystreams_url.go @@ -17,6 +17,7 @@ import ( type ActivityStreamsUrlPropertyIterator struct { xmlschemaAnyURIMember *url.URL activitystreamsLinkMember vocab.ActivityStreamsLink + tootHashtagMember vocab.TootHashtag activitystreamsMentionMember vocab.ActivityStreamsMention unknown interface{} alias string @@ -43,6 +44,12 @@ func deserializeActivityStreamsUrlPropertyIterator(i interface{}, aliasMap map[s alias: alias, } return this, nil + } else if v, err := mgr.DeserializeHashtagToot()(m, aliasMap); err == nil { + this := &ActivityStreamsUrlPropertyIterator{ + alias: alias, + tootHashtagMember: v, + } + return this, nil } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { this := &ActivityStreamsUrlPropertyIterator{ activitystreamsMentionMember: v, @@ -85,12 +92,21 @@ func (this ActivityStreamsUrlPropertyIterator) GetIRI() *url.URL { return this.xmlschemaAnyURIMember } +// GetTootHashtag returns the value of this property. When IsTootHashtag returns +// false, GetTootHashtag will return an arbitrary value. +func (this ActivityStreamsUrlPropertyIterator) GetTootHashtag() vocab.TootHashtag { + return this.tootHashtagMember +} + // GetType returns the value in this property as a Type. Returns nil if the value // is not an ActivityStreams type, such as an IRI or another value. func (this ActivityStreamsUrlPropertyIterator) GetType() vocab.Type { if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink() } + if this.IsTootHashtag() { + return this.GetTootHashtag() + } if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention() } @@ -108,6 +124,7 @@ func (this ActivityStreamsUrlPropertyIterator) GetXMLSchemaAnyURI() *url.URL { func (this ActivityStreamsUrlPropertyIterator) HasAny() bool { return this.IsXMLSchemaAnyURI() || this.IsActivityStreamsLink() || + this.IsTootHashtag() || this.IsActivityStreamsMention() } @@ -131,6 +148,13 @@ func (this ActivityStreamsUrlPropertyIterator) IsIRI() bool { return this.xmlschemaAnyURIMember != 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 ActivityStreamsUrlPropertyIterator) IsTootHashtag() bool { + return this.tootHashtagMember != nil +} + // IsXMLSchemaAnyURI returns true if this property has a type of "anyURI". When // true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI methods to access // and set this property. @@ -146,6 +170,8 @@ func (this ActivityStreamsUrlPropertyIterator) JSONLDContext() map[string]string var child map[string]string if this.IsActivityStreamsLink() { child = this.GetActivityStreamsLink().JSONLDContext() + } else if this.IsTootHashtag() { + child = this.GetTootHashtag().JSONLDContext() } else if this.IsActivityStreamsMention() { child = this.GetActivityStreamsMention().JSONLDContext() } @@ -170,9 +196,12 @@ func (this ActivityStreamsUrlPropertyIterator) KindIndex() int { if this.IsActivityStreamsLink() { return 1 } - if this.IsActivityStreamsMention() { + if this.IsTootHashtag() { return 2 } + if this.IsActivityStreamsMention() { + return 3 + } if this.IsIRI() { return -2 } @@ -194,6 +223,8 @@ func (this ActivityStreamsUrlPropertyIterator) LessThan(o vocab.ActivityStreamsU return anyuri.LessAnyURI(this.GetXMLSchemaAnyURI(), o.GetXMLSchemaAnyURI()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) + } else if this.IsTootHashtag() { + return this.GetTootHashtag().LessThan(o.GetTootHashtag()) } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) } @@ -247,6 +278,13 @@ func (this *ActivityStreamsUrlPropertyIterator) SetIRI(v *url.URL) { this.SetXMLSchemaAnyURI(v) } +// SetTootHashtag sets the value of this property. Calling IsTootHashtag +// afterwards returns true. +func (this *ActivityStreamsUrlPropertyIterator) SetTootHashtag(v vocab.TootHashtag) { + this.clear() + this.tootHashtagMember = v +} + // SetType attempts to set the property for the arbitrary type. Returns an error // if it is not a valid type to set on this property. func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error { @@ -254,6 +292,10 @@ func (this *ActivityStreamsUrlPropertyIterator) SetType(t vocab.Type) error { this.SetActivityStreamsLink(v) return nil } + if v, ok := t.(vocab.TootHashtag); ok { + this.SetTootHashtag(v) + return nil + } if v, ok := t.(vocab.ActivityStreamsMention); ok { this.SetActivityStreamsMention(v) return nil @@ -274,6 +316,7 @@ func (this *ActivityStreamsUrlPropertyIterator) SetXMLSchemaAnyURI(v *url.URL) { func (this *ActivityStreamsUrlPropertyIterator) clear() { this.xmlschemaAnyURIMember = nil this.activitystreamsLinkMember = nil + this.tootHashtagMember = nil this.activitystreamsMentionMember = nil this.unknown = nil } @@ -287,6 +330,8 @@ func (this ActivityStreamsUrlPropertyIterator) serialize() (interface{}, error) return anyuri.SerializeAnyURI(this.GetXMLSchemaAnyURI()) } else if this.IsActivityStreamsLink() { return this.GetActivityStreamsLink().Serialize() + } else if this.IsTootHashtag() { + return this.GetTootHashtag().Serialize() } else if this.IsActivityStreamsMention() { return this.GetActivityStreamsMention().Serialize() } @@ -380,6 +425,17 @@ func (this *ActivityStreamsUrlProperty) AppendIRI(v *url.URL) { }) } +// AppendTootHashtag appends a Hashtag value to the back of a list of the property +// "url". Invalidates iterators that are traversing using Prev. +func (this *ActivityStreamsUrlProperty) AppendTootHashtag(v vocab.TootHashtag) { + this.properties = append(this.properties, &ActivityStreamsUrlPropertyIterator{ + alias: this.alias, + myIdx: this.Len(), + parent: this, + tootHashtagMember: v, + }) +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "url". Invalidates iterators that are traversing using Prev. // Returns an error if the type is not a valid one to set for this property. @@ -487,6 +543,23 @@ func (this *ActivityStreamsUrlProperty) InsertIRI(idx int, v *url.URL) { } } +// InsertTootHashtag inserts a Hashtag value at the specified index for a property +// "url". Existing elements at that index and higher are shifted back once. +// Invalidates all iterators. +func (this *ActivityStreamsUrlProperty) InsertTootHashtag(idx int, v vocab.TootHashtag) { + this.properties = append(this.properties, nil) + copy(this.properties[idx+1:], this.properties[idx:]) + this.properties[idx] = &ActivityStreamsUrlPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } + for i := idx; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "url". Invalidates all iterators. Returns an error if the type is // not a valid one to set for this property. @@ -574,6 +647,10 @@ func (this ActivityStreamsUrlProperty) Less(i, j int) bool { rhs := this.properties[j].GetActivityStreamsLink() return lhs.LessThan(rhs) } else if idx1 == 2 { + lhs := this.properties[i].GetTootHashtag() + rhs := this.properties[j].GetTootHashtag() + return lhs.LessThan(rhs) + } else if idx1 == 3 { lhs := this.properties[i].GetActivityStreamsMention() rhs := this.properties[j].GetActivityStreamsMention() return lhs.LessThan(rhs) @@ -657,6 +734,20 @@ func (this *ActivityStreamsUrlProperty) PrependIRI(v *url.URL) { } } +// PrependTootHashtag prepends a Hashtag value to the front of a list of the +// property "url". Invalidates all iterators. +func (this *ActivityStreamsUrlProperty) PrependTootHashtag(v vocab.TootHashtag) { + this.properties = append([]*ActivityStreamsUrlPropertyIterator{{ + alias: this.alias, + myIdx: 0, + parent: this, + tootHashtagMember: v, + }}, this.properties...) + for i := 1; i < this.Len(); i++ { + (this.properties)[i].myIdx = i + } +} + // PrependType prepends an arbitrary type value to the front of a list of the // property "url". Invalidates all iterators. Returns an error if the type is // not a valid one to set for this property. @@ -761,6 +852,19 @@ func (this *ActivityStreamsUrlProperty) SetIRI(idx int, v *url.URL) { } } +// SetTootHashtag sets a Hashtag value to be at the specified index for the +// property "url". Panics if the index is out of bounds. Invalidates all +// iterators. +func (this *ActivityStreamsUrlProperty) SetTootHashtag(idx int, v vocab.TootHashtag) { + (this.properties)[idx].parent = nil + (this.properties)[idx] = &ActivityStreamsUrlPropertyIterator{ + alias: this.alias, + myIdx: idx, + parent: this, + tootHashtagMember: v, + } +} + // SetType sets an arbitrary type value to the specified index of the property // "url". Invalidates all iterators. Returns an error if the type is not a // valid one to set for this property. Panics if the index is out of bounds. diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go index 6e25594be..18258d74f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go index 2e5b2a324..007d7fe83 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_accept/gen_type_activitystreams_accept.go @@ -83,10 +83,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 @@ -97,7 +94,7 @@ type ActivityStreamsAccept struct { // AcceptIsDisjointWith returns true if the other provided type is disjoint with // the Accept type. func AcceptIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -343,26 +340,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 { @@ -459,14 +441,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" { @@ -722,23 +698,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 @@ -809,10 +768,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) @@ -1314,34 +1270,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) { @@ -1356,20 +1284,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) { @@ -1715,22 +1629,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 { @@ -1739,14 +1637,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 { @@ -1970,21 +1860,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go index 8e050beed..926ad51c7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go index 4e4628358..225567983 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_activity/gen_type_activitystreams_activity.go @@ -63,10 +63,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 @@ -77,7 +74,7 @@ type ActivityStreamsActivity struct { // ActivityIsDisjointWith returns true if the other provided type is disjoint with // the Activity type. func ActivityIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -90,7 +87,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 @@ -323,26 +320,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 { @@ -439,14 +421,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" { @@ -702,23 +678,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 @@ -789,10 +748,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) @@ -1294,34 +1250,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) { @@ -1336,20 +1264,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) { @@ -1695,22 +1609,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 { @@ -1719,14 +1617,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 { @@ -1950,21 +1840,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go index 326f6a5a4..825e0c52a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go index adc3be875..8cc21ded3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_add/gen_type_activitystreams_add.go @@ -83,10 +83,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 @@ -109,7 +106,7 @@ func ActivityStreamsAddExtends(other vocab.Type) bool { // AddIsDisjointWith returns true if the other provided type is disjoint with the // Add type. func AddIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -338,26 +335,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 { @@ -454,14 +436,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" { @@ -717,23 +693,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 @@ -804,10 +763,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) @@ -1309,34 +1265,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) { @@ -1351,20 +1279,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) { @@ -1710,22 +1624,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 { @@ -1734,14 +1632,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 { @@ -1965,21 +1855,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go index af1af29d9..5302ba8fc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go index e8ee9a453..db4c523e7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_announce/gen_type_activitystreams_announce.go @@ -65,10 +65,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 @@ -91,7 +88,7 @@ func ActivityStreamsAnnounceExtends(other vocab.Type) bool { // AnnounceIsDisjointWith returns true if the other provided type is disjoint with // the Announce type. func AnnounceIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -320,26 +317,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 { @@ -436,14 +418,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" { @@ -699,23 +675,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 @@ -786,10 +745,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) @@ -1291,34 +1247,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) { @@ -1333,20 +1261,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) { @@ -1692,22 +1606,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 { @@ -1716,14 +1614,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 { @@ -1947,21 +1837,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go index 8be8e825a..035ad65f0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_pkg.go @@ -182,22 +182,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go index a9ccc244c..44756ee6b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_application/gen_type_activitystreams_application.go @@ -58,10 +58,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 @@ -84,7 +81,7 @@ func ActivityStreamsApplicationExtends(other vocab.Type) bool { // ApplicationIsDisjointWith returns true if the other provided type is disjoint // with the Application type. func ApplicationIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -348,26 +345,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 { @@ -480,14 +462,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" { @@ -767,23 +743,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 @@ -878,10 +837,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) @@ -1481,34 +1437,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) { @@ -1523,20 +1451,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) { @@ -1938,22 +1852,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 { @@ -1962,14 +1860,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 { @@ -2214,21 +2104,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go index 1ee179dd4..84f392539 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go index 20dcbec22..41034274b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_arrive/gen_type_activitystreams_arrive.go @@ -64,10 +64,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 @@ -90,7 +87,7 @@ func ActivityStreamsArriveExtends(other vocab.Type) bool { // ArriveIsDisjointWith returns true if the other provided type is disjoint with // the Arrive type. func ArriveIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -314,26 +311,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 { @@ -428,14 +410,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" { @@ -685,23 +661,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 @@ -771,10 +730,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) @@ -1262,34 +1218,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) { @@ -1304,20 +1232,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) { @@ -1655,22 +1569,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 { @@ -1679,14 +1577,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 { @@ -1905,21 +1795,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go index eafe0ec1f..ffd0619d8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go index 95e4c8c2c..63a8dda98 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_article/gen_type_activitystreams_article.go @@ -49,10 +49,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 @@ -75,7 +72,7 @@ func ActivityStreamsArticleExtends(other vocab.Type) bool { // ArticleIsDisjointWith returns true if the other provided type is disjoint with // the Article type. func ArticleIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -279,26 +276,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 { @@ -385,14 +367,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" { @@ -618,23 +594,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 @@ -700,10 +659,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) @@ -1135,34 +1091,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) { @@ -1177,20 +1105,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) { @@ -1496,22 +1410,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 { @@ -1520,14 +1418,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 { @@ -1726,21 +1616,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go index 45af5af65..88a4c990a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go index 1f23a82ef..d88a72fc7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_audio/gen_type_activitystreams_audio.go @@ -52,10 +52,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 @@ -78,7 +75,7 @@ func ActivityStreamsAudioExtends(other vocab.Type) bool { // AudioIsDisjointWith returns true if the other provided type is disjoint with // the Audio type. func AudioIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -287,26 +284,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 { @@ -395,14 +377,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" { @@ -628,23 +604,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 @@ -716,10 +675,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) @@ -1165,34 +1121,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) { @@ -1207,20 +1135,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) { @@ -1534,22 +1448,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 { @@ -1558,14 +1456,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 { @@ -1764,21 +1654,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go index f96cdce5c..f3c53b839 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go index c7e3212bd..7ebd80c23 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_block/gen_type_activitystreams_block.go @@ -56,10 +56,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 @@ -82,7 +79,7 @@ func ActivityStreamsBlockExtends(other vocab.Type) bool { // BlockIsDisjointWith returns true if the other provided type is disjoint with // the Block type. func BlockIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -311,26 +308,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 { @@ -427,14 +409,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" { @@ -690,23 +666,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 @@ -777,10 +736,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) @@ -1282,34 +1238,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) { @@ -1324,20 +1252,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) { @@ -1683,22 +1597,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 { @@ -1707,14 +1605,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 { @@ -1938,21 +1828,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go index 8d3067544..ed69fbcb9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_pkg.go @@ -148,14 +148,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" @@ -164,10 +156,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go index b00075b56..bd0aba42a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collection/gen_type_activitystreams_collection.go @@ -63,11 +63,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 @@ -90,7 +87,7 @@ func ActivityStreamsCollectionExtends(other vocab.Type) bool { // CollectionIsDisjointWith returns true if the other provided type is disjoint // with the Collection type. func CollectionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -319,16 +316,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 { @@ -339,11 +326,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 { @@ -438,16 +420,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" { @@ -703,23 +679,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 @@ -789,11 +748,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) @@ -1281,34 +1237,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) { @@ -1337,20 +1265,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) { @@ -1688,22 +1602,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 { @@ -1720,14 +1618,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 { @@ -1951,21 +1841,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go index a8564ef5e..ecfe4360a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_pkg.go @@ -160,14 +160,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" @@ -176,10 +168,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go index 47d9f79f1..b406bc30d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_collectionpage/gen_type_activitystreams_collectionpage.go @@ -67,11 +67,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 @@ -94,7 +91,7 @@ func ActivityStreamsCollectionPageExtends(other vocab.Type) bool { // CollectionPageIsDisjointWith returns true if the other provided type is // disjoint with the CollectionPage type. func CollectionPageIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -338,16 +335,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 { @@ -358,11 +345,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 { @@ -463,16 +445,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" { @@ -746,23 +722,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 @@ -835,11 +794,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) @@ -1369,34 +1325,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) { @@ -1425,20 +1353,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) { @@ -1800,22 +1714,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 { @@ -1832,14 +1730,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 { @@ -2078,21 +1968,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go index b582b43a9..52972d67b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go index 1dde08a5a..2ab6b350e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_create/gen_type_activitystreams_create.go @@ -60,10 +60,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 @@ -86,7 +83,7 @@ func ActivityStreamsCreateExtends(other vocab.Type) bool { // CreateIsDisjointWith returns true if the other provided type is disjoint with // the Create type. func CreateIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -315,26 +312,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 { @@ -431,14 +413,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" { @@ -694,23 +670,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 @@ -781,10 +740,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) @@ -1286,34 +1242,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) { @@ -1328,20 +1256,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) { @@ -1687,22 +1601,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 { @@ -1711,14 +1609,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 { @@ -1942,21 +1832,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go index b0908cbb0..9b246faa1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go index 43dedbac3..cc007c935 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete/gen_type_activitystreams_delete.go @@ -61,10 +61,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 @@ -87,7 +84,7 @@ func ActivityStreamsDeleteExtends(other vocab.Type) bool { // DeleteIsDisjointWith returns true if the other provided type is disjoint with // the Delete type. func DeleteIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -316,26 +313,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 { @@ -432,14 +414,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" { @@ -695,23 +671,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 @@ -782,10 +741,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) @@ -1287,34 +1243,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) { @@ -1329,20 +1257,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) { @@ -1688,22 +1602,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 { @@ -1712,14 +1610,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 { @@ -1943,21 +1833,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go index 876e5d113..e2f767abf 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go index e0dc27cd5..161fff86e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike/gen_type_activitystreams_dislike.go @@ -53,10 +53,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 @@ -288,26 +285,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 { @@ -404,14 +386,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" { @@ -430,7 +406,7 @@ func DeserializeDislike(m map[string]interface{}, aliasMap map[string]string) (* // DislikeIsDisjointWith returns true if the other provided type is disjoint with // the Dislike type. func DislikeIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -687,23 +663,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 @@ -774,10 +733,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) @@ -1279,34 +1235,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) { @@ -1321,20 +1249,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) { @@ -1680,22 +1594,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 { @@ -1704,14 +1602,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 { @@ -1935,21 +1825,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go index d4145b6f6..343a63d1b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go index 9663fae73..49c4e73e5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document/gen_type_activitystreams_document.go @@ -48,10 +48,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 @@ -263,26 +260,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 { @@ -371,14 +353,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" { @@ -397,7 +373,7 @@ func DeserializeDocument(m map[string]interface{}, aliasMap map[string]string) ( // DocumentIsDisjointWith returns true if the other provided type is disjoint with // the Document type. func DocumentIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -629,23 +605,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 @@ -717,10 +676,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) @@ -1166,34 +1122,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) { @@ -1208,20 +1136,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) { @@ -1535,22 +1449,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 { @@ -1559,14 +1457,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 { @@ -1765,21 +1655,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go index d18688f53..429cfdb35 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go index e9fb7cd0f..cfe235998 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event/gen_type_activitystreams_event.go @@ -48,10 +48,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 @@ -258,26 +255,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 { @@ -364,14 +346,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" { @@ -390,7 +366,7 @@ func DeserializeEvent(m map[string]interface{}, aliasMap map[string]string) (*Ac // EventIsDisjointWith returns true if the other provided type is disjoint with // the Event type. func EventIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -617,23 +593,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 @@ -699,10 +658,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) @@ -1134,34 +1090,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) { @@ -1176,20 +1104,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) { @@ -1495,22 +1409,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 { @@ -1519,14 +1417,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 { @@ -1725,21 +1615,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go index 094b751f4..d5aea7bb3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go index fe55a0f3f..c9925b3a3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag/gen_type_activitystreams_flag.go @@ -58,10 +58,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 @@ -293,26 +290,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 { @@ -409,14 +391,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" { @@ -435,7 +411,7 @@ func DeserializeFlag(m map[string]interface{}, aliasMap map[string]string) (*Act // FlagIsDisjointWith returns true if the other provided type is disjoint with the // Flag type. func FlagIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -692,23 +668,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 @@ -779,10 +738,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) @@ -1284,34 +1240,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) { @@ -1326,20 +1254,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) { @@ -1685,22 +1599,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 { @@ -1709,14 +1607,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 { @@ -1940,21 +1830,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go index c2aad58e8..851e82c28 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go index 3b454cbb9..a07578f41 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow/gen_type_activitystreams_follow.go @@ -62,10 +62,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 @@ -297,26 +294,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 { @@ -413,14 +395,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" { @@ -439,7 +415,7 @@ func DeserializeFollow(m map[string]interface{}, aliasMap map[string]string) (*A // FollowIsDisjointWith returns true if the other provided type is disjoint with // the Follow type. func FollowIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -696,23 +672,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 @@ -783,10 +742,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) @@ -1288,34 +1244,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) { @@ -1330,20 +1258,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) { @@ -1689,22 +1603,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 { @@ -1713,14 +1611,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 { @@ -1944,21 +1834,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go index c0d74dc75..f9faf1487 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_pkg.go @@ -182,22 +182,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go index 6d5e238e2..c7443c15c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_group/gen_type_activitystreams_group.go @@ -58,10 +58,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 @@ -328,26 +325,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 { @@ -460,14 +442,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" { @@ -486,7 +462,7 @@ func DeserializeGroup(m map[string]interface{}, aliasMap map[string]string) (*Ac // GroupIsDisjointWith returns true if the other provided type is disjoint with // the Group type. func GroupIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -767,23 +743,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 @@ -878,10 +837,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) @@ -1481,34 +1437,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) { @@ -1523,20 +1451,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) { @@ -1938,22 +1852,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 { @@ -1962,14 +1860,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 { @@ -2214,21 +2104,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go index f29a762a4..9a3b44efa 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go index fe2dcf8ca..5c356be8d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_ignore/gen_type_activitystreams_ignore.go @@ -57,10 +57,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 @@ -292,26 +289,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 { @@ -408,14 +390,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" { @@ -434,7 +410,7 @@ func DeserializeIgnore(m map[string]interface{}, aliasMap map[string]string) (*A // IgnoreIsDisjointWith returns true if the other provided type is disjoint with // the Ignore type. func IgnoreIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -696,23 +672,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 @@ -783,10 +742,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) @@ -1288,34 +1244,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) { @@ -1330,20 +1258,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) { @@ -1689,22 +1603,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 { @@ -1713,14 +1611,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 { @@ -1944,21 +1834,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go index 41290f925..cec5187db 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_pkg.go @@ -140,22 +140,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go index 23f288f2f..1e6681301 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_image/gen_type_activitystreams_image.go @@ -60,10 +60,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 @@ -281,26 +278,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 { @@ -396,14 +378,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" { @@ -424,7 +400,7 @@ func DeserializeImage(m map[string]interface{}, aliasMap map[string]string) (*Ac // ImageIsDisjointWith returns true if the other provided type is disjoint with // the Image type. func ImageIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -663,23 +639,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 @@ -752,10 +711,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) @@ -1216,34 +1172,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) { @@ -1258,20 +1186,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) { @@ -1607,22 +1521,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 { @@ -1631,14 +1529,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 { @@ -1855,21 +1745,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go index ef5399316..1598c31ec 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go index 295d0b154..705d26ca0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_intransitiveactivity/gen_type_activitystreams_intransitiveactivity.go @@ -60,10 +60,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 @@ -290,26 +287,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 { @@ -404,14 +386,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" { @@ -430,7 +406,7 @@ func DeserializeIntransitiveActivity(m map[string]interface{}, aliasMap map[stri // IntransitiveActivityIsDisjointWith returns true if the other provided type is // disjoint with the IntransitiveActivity type. func IntransitiveActivityIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -687,23 +663,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 @@ -775,10 +734,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) @@ -1266,34 +1222,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) { @@ -1308,20 +1236,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) { @@ -1659,22 +1573,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 { @@ -1683,14 +1581,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 { @@ -1909,21 +1799,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go index 4a2112007..e45c9b162 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go index 44ec6d8cb..9d34e8612 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_invite/gen_type_activitystreams_invite.go @@ -70,10 +70,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 @@ -305,26 +302,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 { @@ -421,14 +403,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" { @@ -447,7 +423,7 @@ func DeserializeInvite(m map[string]interface{}, aliasMap map[string]string) (*A // InviteIsDisjointWith returns true if the other provided type is disjoint with // the Invite type. func InviteIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -704,23 +680,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 @@ -791,10 +750,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) @@ -1296,34 +1252,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) { @@ -1338,20 +1266,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) { @@ -1697,22 +1611,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 { @@ -1721,14 +1619,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 { @@ -1952,21 +1842,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go index 1c0160c5e..3fccc3cf4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go index a18abeb84..4e4be1617 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_join/gen_type_activitystreams_join.go @@ -60,10 +60,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 @@ -295,26 +292,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 { @@ -411,14 +393,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" { @@ -446,7 +422,7 @@ func IsOrExtendsJoin(other vocab.Type) bool { // JoinIsDisjointWith returns true if the other provided type is disjoint with the // Join type. func JoinIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -694,23 +670,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 @@ -781,10 +740,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) @@ -1286,34 +1242,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) { @@ -1328,20 +1256,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) { @@ -1687,22 +1601,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 { @@ -1711,14 +1609,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 { @@ -1942,21 +1832,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go index 59e6cf13e..258a3d68c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go index 70f2c4853..4e69e3a3d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_leave/gen_type_activitystreams_leave.go @@ -74,10 +74,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 @@ -309,26 +306,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 { @@ -425,14 +407,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" { @@ -460,7 +436,7 @@ func IsOrExtendsLeave(other vocab.Type) bool { // LeaveIsDisjointWith returns true if the other provided type is disjoint with // the Leave type. func LeaveIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -708,23 +684,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 @@ -795,10 +754,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) @@ -1300,34 +1256,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) { @@ -1342,20 +1270,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) { @@ -1701,22 +1615,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 { @@ -1725,14 +1623,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 { @@ -1956,21 +1846,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go index f91c9f206..2a49164f2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go index 20fdca95b..9d7be09cc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_like/gen_type_activitystreams_like.go @@ -57,10 +57,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 @@ -292,26 +289,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 { @@ -408,14 +390,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" { @@ -443,7 +419,7 @@ func IsOrExtendsLike(other vocab.Type) bool { // LikeIsDisjointWith returns true if the other provided type is disjoint with the // Like type. func LikeIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -691,23 +667,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 @@ -778,10 +737,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) @@ -1283,34 +1239,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) { @@ -1325,20 +1253,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) { @@ -1684,22 +1598,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 { @@ -1708,14 +1606,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 { @@ -1939,21 +1829,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go index a72bf4fe3..103c9b66d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_link/gen_type_activitystreams_link.go @@ -199,7 +199,7 @@ func IsOrExtendsLink(other vocab.Type) bool { // LinkIsDisjointWith returns true if the other provided type is disjoint with the // Link type. func LinkIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "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", "PropertyValue", "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", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -212,7 +212,7 @@ func LinkIsDisjointWith(other vocab.Type) bool { // type. Note that it returns false if the types are the same; see the // "IsOrExtendsLink" variant instead. func LinkIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Mention"} + extensions := []string{"Hashtag", "Mention"} for _, ext := range extensions { if ext == other.GetTypeName() { return true diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go index 5b4c0c591..3a7e6bb19 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go index bc5deaea0..83433d008 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_listen/gen_type_activitystreams_listen.go @@ -56,10 +56,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 @@ -291,26 +288,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 { @@ -407,14 +389,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" { @@ -442,7 +418,7 @@ func IsOrExtendsListen(other vocab.Type) bool { // ListenIsDisjointWith returns true if the other provided type is disjoint with // the Listen type. func ListenIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -690,23 +666,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 @@ -777,10 +736,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) @@ -1282,34 +1238,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) { @@ -1324,20 +1252,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) { @@ -1683,22 +1597,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 { @@ -1707,14 +1605,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 { @@ -1938,21 +1828,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go index 40b8b2bed..351d8511b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_mention/gen_type_activitystreams_mention.go @@ -197,7 +197,7 @@ func IsOrExtendsMention(other vocab.Type) bool { // MentionIsDisjointWith returns true if the other provided type is disjoint with // the Mention type. func MentionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "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", "PropertyValue", "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", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go index 23e6af928..3033ac83c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go index b4eabcd61..690bba591 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_move/gen_type_activitystreams_move.go @@ -65,10 +65,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 @@ -300,26 +297,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 { @@ -416,14 +398,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" { @@ -451,7 +427,7 @@ func IsOrExtendsMove(other vocab.Type) bool { // MoveIsDisjointWith returns true if the other provided type is disjoint with the // Move type. func MoveIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -699,23 +675,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 @@ -786,10 +745,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) @@ -1291,34 +1247,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) { @@ -1333,20 +1261,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) { @@ -1692,22 +1606,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 { @@ -1716,14 +1614,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 { @@ -1947,21 +1837,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go index 111302ed4..d3088c3c5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go index 36a0807b9..6ac8034de 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_note/gen_type_activitystreams_note.go @@ -48,10 +48,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 @@ -258,26 +255,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 { @@ -364,14 +346,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" { @@ -410,7 +386,7 @@ func NewActivityStreamsNote() *ActivityStreamsNote { // NoteIsDisjointWith returns true if the other provided type is disjoint with the // Note type. func NoteIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -617,23 +593,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 @@ -699,10 +658,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) @@ -1134,34 +1090,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) { @@ -1176,20 +1104,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) { @@ -1495,22 +1409,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 { @@ -1519,14 +1417,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 { @@ -1725,21 +1615,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go index 0f1aeccf1..f7826b4c5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go index 84b753d29..b03c6a3b3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_object/gen_type_activitystreams_object.go @@ -50,10 +50,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 @@ -255,26 +252,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 { @@ -361,14 +343,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" { @@ -407,7 +383,7 @@ func NewActivityStreamsObject() *ActivityStreamsObject { // ObjectIsDisjointWith returns true if the other provided type is disjoint with // the Object type. func ObjectIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -420,7 +396,7 @@ func ObjectIsDisjointWith(other vocab.Type) bool { // Object type. Note that it returns false if the types are the same; see the // "IsOrExtendsObject" variant instead. func ObjectIsExtendedBy(other vocab.Type) bool { - extensions := []string{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "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", "PropertyValue", "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", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} for _, ext := range extensions { if ext == other.GetTypeName() { return true @@ -619,23 +595,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 @@ -701,10 +660,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) @@ -1136,34 +1092,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) { @@ -1178,20 +1106,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) { @@ -1497,22 +1411,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 { @@ -1521,14 +1419,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 { @@ -1727,21 +1617,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go index 7017c8fd9..f45bbe74e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go index d4b0d7934..a3d4aa087 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_offer/gen_type_activitystreams_offer.go @@ -64,10 +64,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 @@ -299,26 +296,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 { @@ -415,14 +397,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" { @@ -461,7 +437,7 @@ func NewActivityStreamsOffer() *ActivityStreamsOffer { // OfferIsDisjointWith returns true if the other provided type is disjoint with // the Offer type. func OfferIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -703,23 +679,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 @@ -790,10 +749,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) @@ -1295,34 +1251,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) { @@ -1337,20 +1265,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) { @@ -1696,22 +1610,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 { @@ -1720,14 +1618,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 { @@ -1951,21 +1841,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go index 4bee15b78..9c85c4b79 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/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" @@ -153,14 +149,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" @@ -169,10 +157,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go index 5faa77f17..b362a050a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollection/gen_type_activitystreams_orderedcollection.go +++ b/vendor/github.com/superseriousbusiness/activity/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 @@ -63,11 +62,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 @@ -179,11 +175,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 { @@ -299,16 +290,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 { @@ -319,11 +300,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 { @@ -368,8 +344,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" { @@ -420,16 +394,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" { @@ -468,7 +436,7 @@ func NewActivityStreamsOrderedCollection() *ActivityStreamsOrderedCollection { // OrderedCollectionIsDisjointWith returns true if the other provided type is // disjoint with the OrderedCollection type. func OrderedCollectionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -710,29 +678,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 @@ -780,7 +725,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) @@ -804,11 +748,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) @@ -974,20 +915,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) { @@ -1310,34 +1237,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) { @@ -1366,20 +1265,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) { @@ -1533,14 +1418,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 { @@ -1725,22 +1602,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 { @@ -1757,14 +1618,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 { @@ -1988,26 +1841,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go index 1b8c7a88e..a2c4bf4fd 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/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" @@ -169,14 +165,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" @@ -185,10 +173,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go index 284c0da94..81fef4f75 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_orderedcollectionpage/gen_type_activitystreams_orderedcollectionpage.go +++ b/vendor/github.com/superseriousbusiness/activity/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 @@ -69,11 +68,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 @@ -185,11 +181,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 { @@ -325,16 +316,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 { @@ -345,11 +326,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 { @@ -394,8 +370,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" { @@ -454,16 +428,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" { @@ -502,7 +470,7 @@ func NewActivityStreamsOrderedCollectionPage() *ActivityStreamsOrderedCollection // OrderedCollectionPageIsDisjointWith returns true if the other provided type is // disjoint with the OrderedCollectionPage type. func OrderedCollectionPageIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -764,29 +732,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 @@ -835,7 +780,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) @@ -863,11 +807,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) @@ -1033,20 +974,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) { @@ -1425,34 +1352,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) { @@ -1481,20 +1380,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) { @@ -1648,14 +1533,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 { @@ -1872,22 +1749,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 { @@ -1904,14 +1765,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 { @@ -2155,26 +2008,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go index d0ec9f555..18c100aac 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_pkg.go @@ -182,22 +182,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go index f2e05c0af..e7687b4d0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_organization/gen_type_activitystreams_organization.go @@ -58,10 +58,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 @@ -328,26 +325,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 { @@ -460,14 +442,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" { @@ -506,7 +482,7 @@ func NewActivityStreamsOrganization() *ActivityStreamsOrganization { // OrganizationIsDisjointWith returns true if the other provided type is disjoint // with the Organization type. func OrganizationIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -767,23 +743,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 @@ -878,10 +837,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) @@ -1481,34 +1437,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) { @@ -1523,20 +1451,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) { @@ -1938,22 +1852,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 { @@ -1962,14 +1860,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 { @@ -2214,21 +2104,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go index 095c5a94a..eadfad1e5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go index 51f124620..cd01b3c2b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_page/gen_type_activitystreams_page.go @@ -48,10 +48,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 @@ -263,26 +260,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 { @@ -371,14 +353,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" { @@ -417,7 +393,7 @@ func NewActivityStreamsPage() *ActivityStreamsPage { // PageIsDisjointWith returns true if the other provided type is disjoint with the // Page type. func PageIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -624,23 +600,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 @@ -712,10 +671,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) @@ -1161,34 +1117,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) { @@ -1203,20 +1131,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) { @@ -1530,22 +1444,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 { @@ -1554,14 +1452,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 { @@ -1760,21 +1650,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go index 4959d08be..3d727c3b9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_pkg.go @@ -182,22 +182,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go index 1f7e53125..f95ad0778 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_person/gen_type_activitystreams_person.go @@ -58,10 +58,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 @@ -328,26 +325,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 { @@ -460,14 +442,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" { @@ -506,7 +482,7 @@ func NewActivityStreamsPerson() *ActivityStreamsPerson { // PersonIsDisjointWith returns true if the other provided type is disjoint with // the Person type. func PersonIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -767,23 +743,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 @@ -878,10 +837,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) @@ -1481,34 +1437,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) { @@ -1523,20 +1451,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) { @@ -1938,22 +1852,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 { @@ -1962,14 +1860,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 { @@ -2214,21 +2104,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go index 2947138fe..aa9a42b0d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_pkg.go @@ -148,22 +148,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go index 2d20c163d..90af537c8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_place/gen_type_activitystreams_place.go @@ -61,10 +61,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 @@ -292,26 +289,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 { @@ -411,14 +393,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" { @@ -459,7 +435,7 @@ func NewActivityStreamsPlace() *ActivityStreamsPlace { // PlaceIsDisjointWith returns true if the other provided type is disjoint with // the Place type. func PlaceIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -696,23 +672,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 @@ -782,10 +741,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) @@ -1274,34 +1230,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) { @@ -1316,20 +1244,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) { @@ -1681,22 +1595,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 { @@ -1705,14 +1603,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 { @@ -1944,21 +1834,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go index d7c33f19f..4f9919840 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go index 81b32d9e2..fb216273b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_profile/gen_type_activitystreams_profile.go @@ -53,10 +53,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 @@ -268,26 +265,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 { @@ -376,14 +358,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" { @@ -422,7 +398,7 @@ func NewActivityStreamsProfile() *ActivityStreamsProfile { // ProfileIsDisjointWith returns true if the other provided type is disjoint with // the Profile type. func ProfileIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -635,23 +611,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 @@ -718,10 +677,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) @@ -1167,34 +1123,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) { @@ -1209,20 +1137,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) { @@ -1536,22 +1450,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 { @@ -1560,14 +1458,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 { @@ -1771,21 +1661,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go index d72ee715e..032f7c697 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_pkg.go @@ -160,22 +160,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go index f956c69a4..8c5d6dab3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_question/gen_type_activitystreams_question.go @@ -75,10 +75,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 @@ -321,26 +318,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 { @@ -446,14 +428,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" { @@ -494,7 +470,7 @@ func NewActivityStreamsQuestion() *ActivityStreamsQuestion { // QuestionIsDisjointWith returns true if the other provided type is disjoint with // the Question type. func QuestionIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -743,23 +719,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 @@ -838,10 +797,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) @@ -1372,34 +1328,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) { @@ -1414,20 +1342,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) { @@ -1803,22 +1717,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 { @@ -1827,14 +1725,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 { @@ -2076,21 +1966,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go index 69454ec01..e31f559cd 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go index bbe17b6de..9a89ca86b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_read/gen_type_activitystreams_read.go @@ -56,10 +56,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 @@ -291,26 +288,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 { @@ -407,14 +389,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" { @@ -453,7 +429,7 @@ func NewActivityStreamsRead() *ActivityStreamsRead { // ReadIsDisjointWith returns true if the other provided type is disjoint with the // Read type. func ReadIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -690,23 +666,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 @@ -777,10 +736,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) @@ -1282,34 +1238,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) { @@ -1324,20 +1252,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) { @@ -1683,22 +1597,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 { @@ -1707,14 +1605,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 { @@ -1938,21 +1828,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go index 5b84ebac8..39b41f8f0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go index 7f7d0d287..3371c225e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_reject/gen_type_activitystreams_reject.go @@ -64,10 +64,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 @@ -299,26 +296,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 { @@ -415,14 +397,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" { @@ -461,7 +437,7 @@ func NewActivityStreamsReject() *ActivityStreamsReject { // RejectIsDisjointWith returns true if the other provided type is disjoint with // the Reject type. func RejectIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -703,23 +679,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 @@ -790,10 +749,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) @@ -1295,34 +1251,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) { @@ -1337,20 +1265,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) { @@ -1696,22 +1610,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 { @@ -1720,14 +1618,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 { @@ -1951,21 +1841,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go index 8fe76c6b4..1084b64ac 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_pkg.go @@ -141,22 +141,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go index f1675f19e..07c30a3f9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_relationship/gen_type_activitystreams_relationship.go @@ -59,10 +59,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 @@ -279,26 +276,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 { @@ -389,14 +371,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" { @@ -435,7 +411,7 @@ func NewActivityStreamsRelationship() *ActivityStreamsRelationship { // RelationshipIsDisjointWith returns true if the other provided type is disjoint // with the Relationship type. func RelationshipIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -448,12 +424,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 } @@ -659,23 +630,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 @@ -743,10 +697,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) @@ -1206,34 +1157,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) { @@ -1248,20 +1171,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) { @@ -1583,22 +1492,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 { @@ -1607,14 +1500,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 { @@ -1823,21 +1708,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go index 25bf641a6..ae5a9b67a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go index 33d194ff4..ff1da24c4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_remove/gen_type_activitystreams_remove.go @@ -79,10 +79,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 @@ -314,26 +311,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 { @@ -430,14 +412,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" { @@ -476,7 +452,7 @@ func NewActivityStreamsRemove() *ActivityStreamsRemove { // RemoveIsDisjointWith returns true if the other provided type is disjoint with // the Remove type. func RemoveIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -713,23 +689,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 @@ -800,10 +759,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) @@ -1305,34 +1261,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) { @@ -1347,20 +1275,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) { @@ -1706,22 +1620,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 { @@ -1730,14 +1628,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 { @@ -1961,21 +1851,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go index d8cf32260..65271e80f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_pkg.go @@ -182,22 +182,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go index 6d7f0a3ca..b1a10f09c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_service/gen_type_activitystreams_service.go @@ -58,10 +58,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 @@ -328,26 +325,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 { @@ -460,14 +442,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" { @@ -506,7 +482,7 @@ func NewActivityStreamsService() *ActivityStreamsService { // ServiceIsDisjointWith returns true if the other provided type is disjoint with // the Service type. func ServiceIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -767,23 +743,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 @@ -878,10 +837,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) @@ -1481,34 +1437,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) { @@ -1523,20 +1451,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) { @@ -1938,22 +1852,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 { @@ -1962,14 +1860,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 { @@ -2214,21 +2104,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go index 6dde30a04..a50a1aecc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go index b216f383e..b415994b1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativeaccept/gen_type_activitystreams_tentativeaccept.go @@ -63,10 +63,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 @@ -298,26 +295,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 { @@ -414,14 +396,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" { @@ -460,7 +436,7 @@ func NewActivityStreamsTentativeAccept() *ActivityStreamsTentativeAccept { // TentativeAcceptIsDisjointWith returns true if the other provided type is // disjoint with the TentativeAccept type. func TentativeAcceptIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -697,23 +673,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 @@ -785,10 +744,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) @@ -1290,34 +1246,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) { @@ -1332,20 +1260,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) { @@ -1691,22 +1605,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 { @@ -1715,14 +1613,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 { @@ -1946,21 +1836,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go index 4839007bd..c89a35d53 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go index cb3d1646b..676ec32d5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tentativereject/gen_type_activitystreams_tentativereject.go @@ -63,10 +63,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 @@ -298,26 +295,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 { @@ -414,14 +396,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" { @@ -460,7 +436,7 @@ func NewActivityStreamsTentativeReject() *ActivityStreamsTentativeReject { // TentativeRejectIsDisjointWith returns true if the other provided type is // disjoint with the TentativeReject type. func TentativeRejectIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -697,23 +673,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 @@ -785,10 +744,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) @@ -1290,34 +1246,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) { @@ -1332,20 +1260,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) { @@ -1691,22 +1605,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 { @@ -1715,14 +1613,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 { @@ -1946,21 +1836,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go index 21d9da6f3..4fac9fb77 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_pkg.go @@ -140,22 +140,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go index 8354d5470..d1af93ab1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_tombstone/gen_type_activitystreams_tombstone.go @@ -67,10 +67,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 @@ -287,26 +284,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 { @@ -397,14 +379,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" { @@ -443,7 +419,7 @@ func NewActivityStreamsTombstone() *ActivityStreamsTombstone { // TombstoneIsDisjointWith returns true if the other provided type is disjoint // with the Tombstone type. func TombstoneIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -662,23 +638,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 @@ -746,10 +705,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) @@ -1209,34 +1165,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) { @@ -1251,20 +1179,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) { @@ -1586,22 +1500,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 { @@ -1610,14 +1508,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 { @@ -1826,21 +1716,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go index 12ad27a8f..bf2b13b20 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go index c6adf3b09..03d5f20ab 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_travel/gen_type_activitystreams_travel.go @@ -64,10 +64,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 @@ -294,26 +291,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 { @@ -408,14 +390,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" { @@ -454,7 +430,7 @@ func NewActivityStreamsTravel() *ActivityStreamsTravel { // TravelIsDisjointWith returns true if the other provided type is disjoint with // the Travel type. func TravelIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -685,23 +661,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 @@ -771,10 +730,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) @@ -1262,34 +1218,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) { @@ -1304,20 +1232,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) { @@ -1655,22 +1569,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 { @@ -1679,14 +1577,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 { @@ -1905,21 +1795,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go index 710e3eaf6..b6e2499d2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go index 323470148..722b5de0a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo/gen_type_activitystreams_undo.go @@ -62,10 +62,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 @@ -297,26 +294,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 { @@ -413,14 +395,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" { @@ -459,7 +435,7 @@ func NewActivityStreamsUndo() *ActivityStreamsUndo { // UndoIsDisjointWith returns true if the other provided type is disjoint with the // Undo type. func UndoIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -696,23 +672,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 @@ -783,10 +742,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) @@ -1288,34 +1244,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) { @@ -1330,20 +1258,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) { @@ -1689,22 +1603,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 { @@ -1713,14 +1611,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 { @@ -1944,21 +1834,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go index 799036769..1609bb588 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go index 1b0e3d715..46b469af3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update/gen_type_activitystreams_update.go @@ -59,10 +59,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 @@ -294,26 +291,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 { @@ -410,14 +392,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" { @@ -456,7 +432,7 @@ func NewActivityStreamsUpdate() *ActivityStreamsUpdate { // UpdateIsDisjointWith returns true if the other provided type is disjoint with // the Update type. func UpdateIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -693,23 +669,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 @@ -780,10 +739,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) @@ -1285,34 +1241,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) { @@ -1327,20 +1255,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) { @@ -1686,22 +1600,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 { @@ -1710,14 +1608,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 { @@ -1941,21 +1831,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go index 8bd9d0539..e7fcae287 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go index 346a8ef8b..75a1baeae 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video/gen_type_activitystreams_video.go @@ -49,10 +49,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 @@ -264,26 +261,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 { @@ -372,14 +354,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" { @@ -418,7 +394,7 @@ func NewActivityStreamsVideo() *ActivityStreamsVideo { // VideoIsDisjointWith returns true if the other provided type is disjoint with // the Video type. func VideoIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -625,23 +601,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 @@ -713,10 +672,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) @@ -1162,34 +1118,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) { @@ -1204,20 +1132,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) { @@ -1531,22 +1445,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 { @@ -1555,14 +1453,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 { @@ -1761,21 +1651,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go index 4164fb615..609c85e23 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_pkg.go @@ -152,22 +152,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/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go index 835c4eaac..956140f5d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view/gen_type_activitystreams_view.go @@ -59,10 +59,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 @@ -294,26 +291,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 { @@ -410,14 +392,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" { @@ -456,7 +432,7 @@ func NewActivityStreamsView() *ActivityStreamsView { // ViewIsDisjointWith returns true if the other provided type is disjoint with the // View type. func ViewIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -693,23 +669,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 @@ -780,10 +739,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) @@ -1285,34 +1241,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) { @@ -1327,20 +1255,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) { @@ -1686,22 +1600,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 { @@ -1710,14 +1608,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 { @@ -1941,21 +1831,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/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_doc.go deleted file mode 100644 index a7d3d3693..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyassignedto contains the implementation for the assignedTo -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyassignedto diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_pkg.go deleted file mode 100644 index 2ef332afd..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_pkg.go +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyassignedto - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_property_forgefed_assignedTo.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_property_forgefed_assignedTo.go deleted file mode 100644 index e92595947..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto/gen_property_forgefed_assignedTo.go +++ /dev/null @@ -1,224 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyassignedto - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedAssignedToProperty is the functional property "assignedTo". It is -// permitted to be a single nilable value type. -type ForgeFedAssignedToProperty struct { - activitystreamsPersonMember vocab.ActivityStreamsPerson - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeAssignedToProperty creates a "assignedTo" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeAssignedToProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedAssignedToProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "assignedTo" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "assignedTo") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedAssignedToProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedAssignedToProperty{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedAssignedToProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedAssignedToProperty creates a new assignedTo property. -func NewForgeFedAssignedToProperty() *ForgeFedAssignedToProperty { - return &ForgeFedAssignedToProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling IsActivityStreamsPerson -// afterwards will return false. -func (this *ForgeFedAssignedToProperty) Clear() { - this.unknown = nil - this.iri = nil - this.activitystreamsPersonMember = nil -} - -// Get returns the value of this property. When IsActivityStreamsPerson returns -// false, Get will return any arbitrary value. -func (this ForgeFedAssignedToProperty) Get() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedAssignedToProperty) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedAssignedToProperty) GetType() vocab.Type { - if this.IsActivityStreamsPerson() { - return this.Get() - } - - return nil -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedAssignedToProperty) HasAny() bool { - return this.IsActivityStreamsPerson() || this.iri != nil -} - -// IsActivityStreamsPerson returns true if this property is set and not an IRI. -func (this ForgeFedAssignedToProperty) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedAssignedToProperty) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedAssignedToProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsPerson() { - child = this.Get().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedAssignedToProperty) KindIndex() int { - if this.IsActivityStreamsPerson() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedAssignedToProperty) LessThan(o vocab.ForgeFedAssignedToProperty) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsActivityStreamsPerson() && !o.IsActivityStreamsPerson() { - // Both are unknowns. - return false - } else if this.IsActivityStreamsPerson() && !o.IsActivityStreamsPerson() { - // Values are always greater than unknown values. - return false - } else if !this.IsActivityStreamsPerson() && o.IsActivityStreamsPerson() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return this.Get().LessThan(o.Get()) - } -} - -// Name returns the name of this property: "assignedTo". -func (this ForgeFedAssignedToProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "assignedTo" - } else { - return "assignedTo" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedAssignedToProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsPerson() { - return this.Get().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// Set sets the value of this property. Calling IsActivityStreamsPerson afterwards -// will return true. -func (this *ForgeFedAssignedToProperty) Set(v vocab.ActivityStreamsPerson) { - this.Clear() - this.activitystreamsPersonMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedAssignedToProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedAssignedToProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.Set(v) - return nil - } - - return fmt.Errorf("illegal type to set on assignedTo property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_doc.go deleted file mode 100644 index 316ae31b9..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertycommitted contains the implementation for the committed -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertycommitted diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_pkg.go deleted file mode 100644 index 9aeea0f44..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertycommitted - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_property_forgefed_committed.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_property_forgefed_committed.go deleted file mode 100644 index c0400f409..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed/gen_property_forgefed_committed.go +++ /dev/null @@ -1,204 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertycommitted - -import ( - "fmt" - datetime "github.com/superseriousbusiness/activity/streams/values/dateTime" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" - "time" -) - -// ForgeFedCommittedProperty is the functional property "committed". It is -// permitted to be a single default-valued value type. -type ForgeFedCommittedProperty struct { - xmlschemaDateTimeMember time.Time - hasDateTimeMember bool - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeCommittedProperty creates a "committed" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeCommittedProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedCommittedProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "committed" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "committed") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedCommittedProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := datetime.DeserializeDateTime(i); err == nil { - this := &ForgeFedCommittedProperty{ - alias: alias, - hasDateTimeMember: true, - xmlschemaDateTimeMember: v, - } - return this, nil - } - this := &ForgeFedCommittedProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedCommittedProperty creates a new committed property. -func NewForgeFedCommittedProperty() *ForgeFedCommittedProperty { - return &ForgeFedCommittedProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling IsXMLSchemaDateTime -// afterwards will return false. -func (this *ForgeFedCommittedProperty) Clear() { - this.unknown = nil - this.iri = nil - this.hasDateTimeMember = false -} - -// Get returns the value of this property. When IsXMLSchemaDateTime returns false, -// Get will return any arbitrary value. -func (this ForgeFedCommittedProperty) Get() time.Time { - return this.xmlschemaDateTimeMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedCommittedProperty) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedCommittedProperty) HasAny() bool { - return this.IsXMLSchemaDateTime() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedCommittedProperty) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaDateTime returns true if this property is set and not an IRI. -func (this ForgeFedCommittedProperty) IsXMLSchemaDateTime() bool { - return this.hasDateTimeMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedCommittedProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedCommittedProperty) KindIndex() int { - if this.IsXMLSchemaDateTime() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedCommittedProperty) LessThan(o vocab.ForgeFedCommittedProperty) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaDateTime() && !o.IsXMLSchemaDateTime() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaDateTime() && !o.IsXMLSchemaDateTime() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaDateTime() && o.IsXMLSchemaDateTime() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return datetime.LessDateTime(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "committed". -func (this ForgeFedCommittedProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "committed" - } else { - return "committed" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedCommittedProperty) Serialize() (interface{}, error) { - if this.IsXMLSchemaDateTime() { - return datetime.SerializeDateTime(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// Set sets the value of this property. Calling IsXMLSchemaDateTime afterwards -// will return true. -func (this *ForgeFedCommittedProperty) Set(v time.Time) { - this.Clear() - this.xmlschemaDateTimeMember = v - this.hasDateTimeMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedCommittedProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_doc.go deleted file mode 100644 index efbaf083a..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertycommittedby contains the implementation for the committedBy -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertycommittedby diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_pkg.go deleted file mode 100644 index 191dbbadc..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_pkg.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertycommittedby - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAcceptActivityStreams returns the deserialization method for - // the "ActivityStreamsAccept" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) - // DeserializeActivityActivityStreams returns the deserialization method - // for the "ActivityStreamsActivity" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) - // DeserializeAddActivityStreams returns the deserialization method for - // the "ActivityStreamsAdd" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) - // DeserializeAnnounceActivityStreams returns the deserialization method - // for the "ActivityStreamsAnnounce" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) - // DeserializeApplicationActivityStreams returns the deserialization - // method for the "ActivityStreamsApplication" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) - // DeserializeArriveActivityStreams returns the deserialization method for - // the "ActivityStreamsArrive" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) - // DeserializeArticleActivityStreams returns the deserialization method - // for the "ActivityStreamsArticle" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) - // DeserializeAudioActivityStreams returns the deserialization method for - // the "ActivityStreamsAudio" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) - // DeserializeBlockActivityStreams returns the deserialization method for - // 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" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // 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" - DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) - // DeserializeDeleteActivityStreams returns the deserialization method for - // the "ActivityStreamsDelete" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) - // DeserializeDislikeActivityStreams returns the deserialization method - // for the "ActivityStreamsDislike" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) - // DeserializeDocumentActivityStreams returns the deserialization method - // for the "ActivityStreamsDocument" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) - // DeserializeEmojiToot returns the deserialization method for the - // "TootEmoji" non-functional property in the vocabulary "Toot" - DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) - // DeserializeEventActivityStreams returns the deserialization method for - // the "ActivityStreamsEvent" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) - // DeserializeFlagActivityStreams returns the deserialization method for - // the "ActivityStreamsFlag" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) - // DeserializeFollowActivityStreams returns the deserialization method for - // the "ActivityStreamsFollow" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) - // DeserializeGroupActivityStreams returns the deserialization method for - // the "ActivityStreamsGroup" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, 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) - // DeserializeIgnoreActivityStreams returns the deserialization method for - // the "ActivityStreamsIgnore" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) - // DeserializeImageActivityStreams returns the deserialization method for - // the "ActivityStreamsImage" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) - // DeserializeIntransitiveActivityActivityStreams returns the - // deserialization method for the - // "ActivityStreamsIntransitiveActivity" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) - // DeserializeInviteActivityStreams returns the deserialization method for - // the "ActivityStreamsInvite" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) - // DeserializeJoinActivityStreams returns the deserialization method for - // the "ActivityStreamsJoin" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) - // DeserializeLeaveActivityStreams returns the deserialization method for - // the "ActivityStreamsLeave" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) - // DeserializeLikeActivityStreams returns the deserialization method for - // the "ActivityStreamsLike" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) - // DeserializeListenActivityStreams returns the deserialization method for - // the "ActivityStreamsListen" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) - // DeserializeMoveActivityStreams returns the deserialization method for - // the "ActivityStreamsMove" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) - // DeserializeNoteActivityStreams returns the deserialization method for - // the "ActivityStreamsNote" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) - // DeserializeObjectActivityStreams returns the deserialization method for - // the "ActivityStreamsObject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) - // DeserializeOfferActivityStreams returns the deserialization method for - // the "ActivityStreamsOffer" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) - // DeserializeOrganizationActivityStreams returns the deserialization - // method for the "ActivityStreamsOrganization" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) - // DeserializePageActivityStreams returns the deserialization method for - // the "ActivityStreamsPage" non-functional property in the vocabulary - // "ActivityStreams" - DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) - // DeserializePlaceActivityStreams returns the deserialization method for - // the "ActivityStreamsPlace" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) - // DeserializeProfileActivityStreams returns the deserialization method - // for the "ActivityStreamsProfile" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePropertyValueSchema returns the deserialization method for - // the "SchemaPropertyValue" non-functional property in the vocabulary - // "Schema" - DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" - DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) - // DeserializeReadActivityStreams returns the deserialization method for - // the "ActivityStreamsRead" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) - // DeserializeRejectActivityStreams returns the deserialization method for - // the "ActivityStreamsReject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) - // DeserializeRelationshipActivityStreams returns the deserialization - // method for the "ActivityStreamsRelationship" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) - // DeserializeRemoveActivityStreams returns the deserialization method for - // 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" - DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) - // DeserializeTentativeAcceptActivityStreams returns the deserialization - // method for the "ActivityStreamsTentativeAccept" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) - // DeserializeTentativeRejectActivityStreams returns the deserialization - // 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" - DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) - // DeserializeTravelActivityStreams returns the deserialization method for - // the "ActivityStreamsTravel" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) - // DeserializeUndoActivityStreams returns the deserialization method for - // the "ActivityStreamsUndo" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) - // DeserializeUpdateActivityStreams returns the deserialization method for - // the "ActivityStreamsUpdate" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) - // DeserializeVideoActivityStreams returns the deserialization method for - // the "ActivityStreamsVideo" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) - // DeserializeViewActivityStreams returns the deserialization method for - // the "ActivityStreamsView" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_property_forgefed_committedBy.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_property_forgefed_committedBy.go deleted file mode 100644 index b97f87bd3..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby/gen_property_forgefed_committedBy.go +++ /dev/null @@ -1,2979 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertycommittedby - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedCommittedByProperty is the functional property "committedBy". It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedCommittedByProperty struct { - activitystreamsObjectMember vocab.ActivityStreamsObject - activitystreamsAcceptMember vocab.ActivityStreamsAccept - activitystreamsActivityMember vocab.ActivityStreamsActivity - activitystreamsAddMember vocab.ActivityStreamsAdd - activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce - activitystreamsApplicationMember vocab.ActivityStreamsApplication - activitystreamsArriveMember vocab.ActivityStreamsArrive - 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 - activitystreamsDocumentMember vocab.ActivityStreamsDocument - tootEmojiMember vocab.TootEmoji - activitystreamsEventMember vocab.ActivityStreamsEvent - activitystreamsFlagMember vocab.ActivityStreamsFlag - activitystreamsFollowMember vocab.ActivityStreamsFollow - activitystreamsGroupMember vocab.ActivityStreamsGroup - tootIdentityProofMember vocab.TootIdentityProof - activitystreamsIgnoreMember vocab.ActivityStreamsIgnore - activitystreamsImageMember vocab.ActivityStreamsImage - activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity - activitystreamsInviteMember vocab.ActivityStreamsInvite - activitystreamsJoinMember vocab.ActivityStreamsJoin - activitystreamsLeaveMember vocab.ActivityStreamsLeave - activitystreamsLikeMember vocab.ActivityStreamsLike - activitystreamsListenMember vocab.ActivityStreamsListen - activitystreamsMoveMember vocab.ActivityStreamsMove - activitystreamsNoteMember vocab.ActivityStreamsNote - activitystreamsOfferMember vocab.ActivityStreamsOffer - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - activitystreamsOrganizationMember vocab.ActivityStreamsOrganization - activitystreamsPageMember vocab.ActivityStreamsPage - activitystreamsPersonMember vocab.ActivityStreamsPerson - activitystreamsPlaceMember vocab.ActivityStreamsPlace - activitystreamsProfileMember vocab.ActivityStreamsProfile - schemaPropertyValueMember vocab.SchemaPropertyValue - 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 - activitystreamsUpdateMember vocab.ActivityStreamsUpdate - activitystreamsVideoMember vocab.ActivityStreamsVideo - activitystreamsViewMember vocab.ActivityStreamsView - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeCommittedByProperty creates a "committedBy" property from an -// interface representation that has been unmarshalled from a text or binary -// format. -func DeserializeCommittedByProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedCommittedByProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "committedBy" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "committedBy") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedCommittedByProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsObjectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsAddMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsAnnounceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsApplicationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsArriveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsArticleMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsAudioMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsBlockMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsCreateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsDeleteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsDislikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsDocumentMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - tootEmojiMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsEventMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsFlagMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsFollowMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsGroupMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - tootIdentityProofMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsIgnoreMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsImageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsIntransitiveActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsInviteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsJoinMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsLeaveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsLikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsListenMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsMoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsNoteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsOfferMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsOrganizationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsPlaceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsProfileMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePropertyValueSchema()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - schemaPropertyValueMember: v, - } - return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsQuestionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsReadMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsRelationshipMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsRemoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsServiceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsTentativeAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsTentativeRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsTombstoneMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsTravelMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsUndoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsUpdateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsVideoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedCommittedByProperty{ - activitystreamsViewMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedCommittedByProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedCommittedByProperty creates a new committedBy property. -func NewForgeFedCommittedByProperty() *ForgeFedCommittedByProperty { - return &ForgeFedCommittedByProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedCommittedByProperty) Clear() { - this.activitystreamsObjectMember = nil - this.activitystreamsAcceptMember = nil - this.activitystreamsActivityMember = nil - this.activitystreamsAddMember = nil - this.activitystreamsAnnounceMember = nil - this.activitystreamsApplicationMember = nil - this.activitystreamsArriveMember = nil - 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 - this.activitystreamsDocumentMember = nil - this.tootEmojiMember = nil - this.activitystreamsEventMember = nil - this.activitystreamsFlagMember = nil - this.activitystreamsFollowMember = nil - this.activitystreamsGroupMember = nil - this.tootIdentityProofMember = nil - this.activitystreamsIgnoreMember = nil - this.activitystreamsImageMember = nil - this.activitystreamsIntransitiveActivityMember = nil - this.activitystreamsInviteMember = nil - this.activitystreamsJoinMember = nil - this.activitystreamsLeaveMember = nil - this.activitystreamsLikeMember = nil - this.activitystreamsListenMember = nil - this.activitystreamsMoveMember = nil - this.activitystreamsNoteMember = nil - this.activitystreamsOfferMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.activitystreamsOrganizationMember = nil - this.activitystreamsPageMember = nil - this.activitystreamsPersonMember = nil - this.activitystreamsPlaceMember = nil - this.activitystreamsProfileMember = nil - this.schemaPropertyValueMember = 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 - this.activitystreamsUpdateMember = nil - this.activitystreamsVideoMember = nil - this.activitystreamsViewMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsAccept returns the value of this property. When -// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsAccept() vocab.ActivityStreamsAccept { - return this.activitystreamsAcceptMember -} - -// GetActivityStreamsActivity returns the value of this property. When -// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsActivity() vocab.ActivityStreamsActivity { - return this.activitystreamsActivityMember -} - -// GetActivityStreamsAdd returns the value of this property. When -// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsAdd() vocab.ActivityStreamsAdd { - return this.activitystreamsAddMember -} - -// GetActivityStreamsAnnounce returns the value of this property. When -// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce { - return this.activitystreamsAnnounceMember -} - -// GetActivityStreamsApplication returns the value of this property. When -// IsActivityStreamsApplication returns false, GetActivityStreamsApplication -// will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsApplication() vocab.ActivityStreamsApplication { - return this.activitystreamsApplicationMember -} - -// GetActivityStreamsArrive returns the value of this property. When -// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsArrive() vocab.ActivityStreamsArrive { - return this.activitystreamsArriveMember -} - -// GetActivityStreamsArticle returns the value of this property. When -// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsArticle() vocab.ActivityStreamsArticle { - return this.activitystreamsArticleMember -} - -// GetActivityStreamsAudio returns the value of this property. When -// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsAudio() vocab.ActivityStreamsAudio { - return this.activitystreamsAudioMember -} - -// GetActivityStreamsBlock returns the value of this property. When -// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsBlock() vocab.ActivityStreamsBlock { - return this.activitystreamsBlockMember -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsCreate returns the value of this property. When -// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsCreate() vocab.ActivityStreamsCreate { - return this.activitystreamsCreateMember -} - -// GetActivityStreamsDelete returns the value of this property. When -// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsDelete() vocab.ActivityStreamsDelete { - return this.activitystreamsDeleteMember -} - -// GetActivityStreamsDislike returns the value of this property. When -// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsDislike() vocab.ActivityStreamsDislike { - return this.activitystreamsDislikeMember -} - -// GetActivityStreamsDocument returns the value of this property. When -// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsDocument() vocab.ActivityStreamsDocument { - return this.activitystreamsDocumentMember -} - -// GetActivityStreamsEvent returns the value of this property. When -// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsEvent() vocab.ActivityStreamsEvent { - return this.activitystreamsEventMember -} - -// GetActivityStreamsFlag returns the value of this property. When -// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsFlag() vocab.ActivityStreamsFlag { - return this.activitystreamsFlagMember -} - -// GetActivityStreamsFollow returns the value of this property. When -// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsFollow() vocab.ActivityStreamsFollow { - return this.activitystreamsFollowMember -} - -// GetActivityStreamsGroup returns the value of this property. When -// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsGroup() vocab.ActivityStreamsGroup { - return this.activitystreamsGroupMember -} - -// GetActivityStreamsIgnore returns the value of this property. When -// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore { - return this.activitystreamsIgnoreMember -} - -// GetActivityStreamsImage returns the value of this property. When -// IsActivityStreamsImage returns false, GetActivityStreamsImage will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsImage() vocab.ActivityStreamsImage { - return this.activitystreamsImageMember -} - -// GetActivityStreamsIntransitiveActivity returns the value of this property. When -// IsActivityStreamsIntransitiveActivity returns false, -// GetActivityStreamsIntransitiveActivity will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity { - return this.activitystreamsIntransitiveActivityMember -} - -// GetActivityStreamsInvite returns the value of this property. When -// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsInvite() vocab.ActivityStreamsInvite { - return this.activitystreamsInviteMember -} - -// GetActivityStreamsJoin returns the value of this property. When -// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsJoin() vocab.ActivityStreamsJoin { - return this.activitystreamsJoinMember -} - -// GetActivityStreamsLeave returns the value of this property. When -// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsLeave() vocab.ActivityStreamsLeave { - return this.activitystreamsLeaveMember -} - -// GetActivityStreamsLike returns the value of this property. When -// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsLike() vocab.ActivityStreamsLike { - return this.activitystreamsLikeMember -} - -// GetActivityStreamsListen returns the value of this property. When -// IsActivityStreamsListen returns false, GetActivityStreamsListen will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsListen() vocab.ActivityStreamsListen { - return this.activitystreamsListenMember -} - -// GetActivityStreamsMove returns the value of this property. When -// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsMove() vocab.ActivityStreamsMove { - return this.activitystreamsMoveMember -} - -// GetActivityStreamsNote returns the value of this property. When -// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsNote() vocab.ActivityStreamsNote { - return this.activitystreamsNoteMember -} - -// GetActivityStreamsObject returns the value of this property. When -// IsActivityStreamsObject returns false, GetActivityStreamsObject will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsObject() vocab.ActivityStreamsObject { - return this.activitystreamsObjectMember -} - -// GetActivityStreamsOffer returns the value of this property. When -// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsOffer() vocab.ActivityStreamsOffer { - return this.activitystreamsOfferMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetActivityStreamsOrganization returns the value of this property. When -// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization -// will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization { - return this.activitystreamsOrganizationMember -} - -// GetActivityStreamsPage returns the value of this property. When -// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsPage() vocab.ActivityStreamsPage { - return this.activitystreamsPageMember -} - -// GetActivityStreamsPerson returns the value of this property. When -// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsPerson() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetActivityStreamsPlace returns the value of this property. When -// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsPlace() vocab.ActivityStreamsPlace { - return this.activitystreamsPlaceMember -} - -// GetActivityStreamsProfile returns the value of this property. When -// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsProfile() vocab.ActivityStreamsProfile { - return this.activitystreamsProfileMember -} - -// GetActivityStreamsQuestion returns the value of this property. When -// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion { - return this.activitystreamsQuestionMember -} - -// GetActivityStreamsRead returns the value of this property. When -// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsRead() vocab.ActivityStreamsRead { - return this.activitystreamsReadMember -} - -// GetActivityStreamsReject returns the value of this property. When -// IsActivityStreamsReject returns false, GetActivityStreamsReject will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsReject() vocab.ActivityStreamsReject { - return this.activitystreamsRejectMember -} - -// GetActivityStreamsRelationship returns the value of this property. When -// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship -// will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship { - return this.activitystreamsRelationshipMember -} - -// GetActivityStreamsRemove returns the value of this property. When -// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsRemove() vocab.ActivityStreamsRemove { - return this.activitystreamsRemoveMember -} - -// GetActivityStreamsService returns the value of this property. When -// IsActivityStreamsService returns false, GetActivityStreamsService will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsService() vocab.ActivityStreamsService { - return this.activitystreamsServiceMember -} - -// GetActivityStreamsTentativeAccept returns the value of this property. When -// IsActivityStreamsTentativeAccept returns false, -// GetActivityStreamsTentativeAccept will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept { - return this.activitystreamsTentativeAcceptMember -} - -// GetActivityStreamsTentativeReject returns the value of this property. When -// IsActivityStreamsTentativeReject returns false, -// GetActivityStreamsTentativeReject will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject { - return this.activitystreamsTentativeRejectMember -} - -// GetActivityStreamsTombstone returns the value of this property. When -// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will -// return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone { - return this.activitystreamsTombstoneMember -} - -// GetActivityStreamsTravel returns the value of this property. When -// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsTravel() vocab.ActivityStreamsTravel { - return this.activitystreamsTravelMember -} - -// GetActivityStreamsUndo returns the value of this property. When -// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsUndo() vocab.ActivityStreamsUndo { - return this.activitystreamsUndoMember -} - -// GetActivityStreamsUpdate returns the value of this property. When -// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate { - return this.activitystreamsUpdateMember -} - -// GetActivityStreamsVideo returns the value of this property. When -// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return -// an arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsVideo() vocab.ActivityStreamsVideo { - return this.activitystreamsVideoMember -} - -// GetActivityStreamsView returns the value of this property. When -// IsActivityStreamsView returns false, GetActivityStreamsView will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetActivityStreamsView() vocab.ActivityStreamsView { - return this.activitystreamsViewMember -} - -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) GetIRI() *url.URL { - return this.iri -} - -// GetSchemaPropertyValue returns the value of this property. When -// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetSchemaPropertyValue() vocab.SchemaPropertyValue { - return this.schemaPropertyValueMember -} - -// GetTootEmoji returns the value of this property. When IsTootEmoji returns -// false, GetTootEmoji will return an arbitrary value. -func (this ForgeFedCommittedByProperty) GetTootEmoji() vocab.TootEmoji { - return this.tootEmojiMember -} - -// GetTootIdentityProof returns the value of this property. When -// IsTootIdentityProof returns false, GetTootIdentityProof will return an -// arbitrary value. -func (this ForgeFedCommittedByProperty) GetTootIdentityProof() vocab.TootIdentityProof { - return this.tootIdentityProofMember -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedCommittedByProperty) GetType() vocab.Type { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject() - } - if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept() - } - if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity() - } - if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd() - } - if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce() - } - if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication() - } - if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive() - } - if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle() - } - if this.IsActivityStreamsAudio() { - return this.GetActivityStreamsAudio() - } - 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() - } - if this.IsActivityStreamsDelete() { - return this.GetActivityStreamsDelete() - } - if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike() - } - if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument() - } - if this.IsTootEmoji() { - return this.GetTootEmoji() - } - if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent() - } - if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag() - } - if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow() - } - if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup() - } - if this.IsTootIdentityProof() { - return this.GetTootIdentityProof() - } - if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore() - } - if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage() - } - if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity() - } - if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite() - } - if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin() - } - if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave() - } - if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike() - } - if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen() - } - if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove() - } - if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote() - } - if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization() - } - if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage() - } - if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson() - } - if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace() - } - if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile() - } - if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue() - } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } - if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion() - } - if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead() - } - if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject() - } - if this.IsActivityStreamsRelationship() { - return this.GetActivityStreamsRelationship() - } - if this.IsActivityStreamsRemove() { - return this.GetActivityStreamsRemove() - } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } - if this.IsActivityStreamsService() { - return this.GetActivityStreamsService() - } - if this.IsActivityStreamsTentativeAccept() { - return this.GetActivityStreamsTentativeAccept() - } - if this.IsActivityStreamsTentativeReject() { - return this.GetActivityStreamsTentativeReject() - } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } - if this.IsActivityStreamsTombstone() { - return this.GetActivityStreamsTombstone() - } - if this.IsActivityStreamsTravel() { - return this.GetActivityStreamsTravel() - } - if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo() - } - if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate() - } - if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo() - } - if this.IsActivityStreamsView() { - return this.GetActivityStreamsView() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedCommittedByProperty) HasAny() bool { - return this.IsActivityStreamsObject() || - this.IsActivityStreamsAccept() || - this.IsActivityStreamsActivity() || - this.IsActivityStreamsAdd() || - this.IsActivityStreamsAnnounce() || - this.IsActivityStreamsApplication() || - this.IsActivityStreamsArrive() || - this.IsActivityStreamsArticle() || - this.IsActivityStreamsAudio() || - this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || - this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || - this.IsActivityStreamsCreate() || - this.IsActivityStreamsDelete() || - this.IsActivityStreamsDislike() || - this.IsActivityStreamsDocument() || - this.IsTootEmoji() || - this.IsActivityStreamsEvent() || - this.IsActivityStreamsFlag() || - this.IsActivityStreamsFollow() || - this.IsActivityStreamsGroup() || - this.IsTootIdentityProof() || - this.IsActivityStreamsIgnore() || - this.IsActivityStreamsImage() || - this.IsActivityStreamsIntransitiveActivity() || - this.IsActivityStreamsInvite() || - this.IsActivityStreamsJoin() || - this.IsActivityStreamsLeave() || - this.IsActivityStreamsLike() || - this.IsActivityStreamsListen() || - this.IsActivityStreamsMove() || - this.IsActivityStreamsNote() || - this.IsActivityStreamsOffer() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.IsActivityStreamsOrganization() || - this.IsActivityStreamsPage() || - this.IsActivityStreamsPerson() || - this.IsActivityStreamsPlace() || - this.IsActivityStreamsProfile() || - this.IsSchemaPropertyValue() || - 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() || - this.IsActivityStreamsUpdate() || - this.IsActivityStreamsVideo() || - this.IsActivityStreamsView() || - this.iri != nil -} - -// IsActivityStreamsAccept returns true if this property has a type of "Accept". -// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsAccept() bool { - return this.activitystreamsAcceptMember != nil -} - -// IsActivityStreamsActivity returns true if this property has a type of -// "Activity". When true, use the GetActivityStreamsActivity and -// SetActivityStreamsActivity methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsActivity() bool { - return this.activitystreamsActivityMember != nil -} - -// IsActivityStreamsAdd returns true if this property has a type of "Add". When -// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsAdd() bool { - return this.activitystreamsAddMember != nil -} - -// IsActivityStreamsAnnounce returns true if this property has a type of -// "Announce". When true, use the GetActivityStreamsAnnounce and -// SetActivityStreamsAnnounce methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsAnnounce() bool { - return this.activitystreamsAnnounceMember != nil -} - -// IsActivityStreamsApplication returns true if this property has a type of -// "Application". When true, use the GetActivityStreamsApplication and -// SetActivityStreamsApplication methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsApplication() bool { - return this.activitystreamsApplicationMember != nil -} - -// IsActivityStreamsArrive returns true if this property has a type of "Arrive". -// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsArrive() bool { - return this.activitystreamsArriveMember != nil -} - -// IsActivityStreamsArticle returns true if this property has a type of "Article". -// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsArticle() bool { - return this.activitystreamsArticleMember != nil -} - -// IsActivityStreamsAudio returns true if this property has a type of "Audio". -// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsAudio() bool { - return this.activitystreamsAudioMember != nil -} - -// IsActivityStreamsBlock returns true if this property has a type of "Block". -// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsBlock() bool { - return this.activitystreamsBlockMember != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsCreate returns true if this property has a type of "Create". -// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsCreate() bool { - return this.activitystreamsCreateMember != nil -} - -// IsActivityStreamsDelete returns true if this property has a type of "Delete". -// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsDelete() bool { - return this.activitystreamsDeleteMember != nil -} - -// IsActivityStreamsDislike returns true if this property has a type of "Dislike". -// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsDislike() bool { - return this.activitystreamsDislikeMember != nil -} - -// IsActivityStreamsDocument returns true if this property has a type of -// "Document". When true, use the GetActivityStreamsDocument and -// SetActivityStreamsDocument methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsDocument() bool { - return this.activitystreamsDocumentMember != nil -} - -// IsActivityStreamsEvent returns true if this property has a type of "Event". -// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsEvent() bool { - return this.activitystreamsEventMember != nil -} - -// IsActivityStreamsFlag returns true if this property has a type of "Flag". When -// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsFlag() bool { - return this.activitystreamsFlagMember != nil -} - -// IsActivityStreamsFollow returns true if this property has a type of "Follow". -// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsFollow() bool { - return this.activitystreamsFollowMember != nil -} - -// IsActivityStreamsGroup returns true if this property has a type of "Group". -// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsGroup() bool { - return this.activitystreamsGroupMember != nil -} - -// IsActivityStreamsIgnore returns true if this property has a type of "Ignore". -// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsIgnore() bool { - return this.activitystreamsIgnoreMember != nil -} - -// IsActivityStreamsImage returns true if this property has a type of "Image". -// When true, use the GetActivityStreamsImage and SetActivityStreamsImage -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsImage() bool { - return this.activitystreamsImageMember != nil -} - -// IsActivityStreamsIntransitiveActivity returns true if this property has a type -// of "IntransitiveActivity". When true, use the -// GetActivityStreamsIntransitiveActivity and -// SetActivityStreamsIntransitiveActivity methods to access and set this -// property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsIntransitiveActivity() bool { - return this.activitystreamsIntransitiveActivityMember != nil -} - -// IsActivityStreamsInvite returns true if this property has a type of "Invite". -// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsInvite() bool { - return this.activitystreamsInviteMember != nil -} - -// IsActivityStreamsJoin returns true if this property has a type of "Join". When -// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsJoin() bool { - return this.activitystreamsJoinMember != nil -} - -// IsActivityStreamsLeave returns true if this property has a type of "Leave". -// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsLeave() bool { - return this.activitystreamsLeaveMember != nil -} - -// IsActivityStreamsLike returns true if this property has a type of "Like". When -// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsLike() bool { - return this.activitystreamsLikeMember != nil -} - -// IsActivityStreamsListen returns true if this property has a type of "Listen". -// When true, use the GetActivityStreamsListen and SetActivityStreamsListen -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsListen() bool { - return this.activitystreamsListenMember != nil -} - -// IsActivityStreamsMove returns true if this property has a type of "Move". When -// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsMove() bool { - return this.activitystreamsMoveMember != nil -} - -// IsActivityStreamsNote returns true if this property has a type of "Note". When -// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsNote() bool { - return this.activitystreamsNoteMember != nil -} - -// IsActivityStreamsObject returns true if this property has a type of "Object". -// When true, use the GetActivityStreamsObject and SetActivityStreamsObject -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsObject() bool { - return this.activitystreamsObjectMember != nil -} - -// IsActivityStreamsOffer returns true if this property has a type of "Offer". -// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsOffer() bool { - return this.activitystreamsOfferMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsActivityStreamsOrganization returns true if this property has a type of -// "Organization". When true, use the GetActivityStreamsOrganization and -// SetActivityStreamsOrganization methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsOrganization() bool { - return this.activitystreamsOrganizationMember != nil -} - -// IsActivityStreamsPage returns true if this property has a type of "Page". When -// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsPage() bool { - return this.activitystreamsPageMember != nil -} - -// IsActivityStreamsPerson returns true if this property has a type of "Person". -// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsActivityStreamsPlace returns true if this property has a type of "Place". -// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsPlace() bool { - return this.activitystreamsPlaceMember != nil -} - -// IsActivityStreamsProfile returns true if this property has a type of "Profile". -// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsProfile() bool { - return this.activitystreamsProfileMember != nil -} - -// IsActivityStreamsQuestion returns true if this property has a type of -// "Question". When true, use the GetActivityStreamsQuestion and -// SetActivityStreamsQuestion methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsQuestion() bool { - return this.activitystreamsQuestionMember != nil -} - -// IsActivityStreamsRead returns true if this property has a type of "Read". When -// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsRead() bool { - return this.activitystreamsReadMember != nil -} - -// IsActivityStreamsReject returns true if this property has a type of "Reject". -// When true, use the GetActivityStreamsReject and SetActivityStreamsReject -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsReject() bool { - return this.activitystreamsRejectMember != nil -} - -// IsActivityStreamsRelationship returns true if this property has a type of -// "Relationship". When true, use the GetActivityStreamsRelationship and -// SetActivityStreamsRelationship methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsRelationship() bool { - return this.activitystreamsRelationshipMember != nil -} - -// IsActivityStreamsRemove returns true if this property has a type of "Remove". -// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsRemove() bool { - return this.activitystreamsRemoveMember != nil -} - -// IsActivityStreamsService returns true if this property has a type of "Service". -// When true, use the GetActivityStreamsService and SetActivityStreamsService -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsService() bool { - return this.activitystreamsServiceMember != nil -} - -// IsActivityStreamsTentativeAccept returns true if this property has a type of -// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and -// SetActivityStreamsTentativeAccept methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsTentativeAccept() bool { - return this.activitystreamsTentativeAcceptMember != nil -} - -// IsActivityStreamsTentativeReject returns true if this property has a type of -// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and -// SetActivityStreamsTentativeReject methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsTentativeReject() bool { - return this.activitystreamsTentativeRejectMember != nil -} - -// IsActivityStreamsTombstone returns true if this property has a type of -// "Tombstone". When true, use the GetActivityStreamsTombstone and -// SetActivityStreamsTombstone methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsTombstone() bool { - return this.activitystreamsTombstoneMember != nil -} - -// IsActivityStreamsTravel returns true if this property has a type of "Travel". -// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsTravel() bool { - return this.activitystreamsTravelMember != nil -} - -// IsActivityStreamsUndo returns true if this property has a type of "Undo". When -// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsUndo() bool { - return this.activitystreamsUndoMember != nil -} - -// IsActivityStreamsUpdate returns true if this property has a type of "Update". -// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsUpdate() bool { - return this.activitystreamsUpdateMember != nil -} - -// IsActivityStreamsVideo returns true if this property has a type of "Video". -// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo -// methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsActivityStreamsVideo() bool { - return this.activitystreamsVideoMember != nil -} - -// IsActivityStreamsView returns true if this property has a type of "View". When -// true, use the GetActivityStreamsView and SetActivityStreamsView methods to -// access and set this property. -func (this ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) 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 ForgeFedCommittedByProperty) IsIRI() bool { - return this.iri != nil -} - -// IsSchemaPropertyValue returns true if this property has a type of -// "PropertyValue". When true, use the GetSchemaPropertyValue and -// SetSchemaPropertyValue methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsSchemaPropertyValue() bool { - return this.schemaPropertyValueMember != nil -} - -// IsTootEmoji returns true if this property has a type of "Emoji". When true, use -// the GetTootEmoji and SetTootEmoji methods to access and set this property. -func (this ForgeFedCommittedByProperty) IsTootEmoji() bool { - return this.tootEmojiMember != 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. -func (this ForgeFedCommittedByProperty) IsTootIdentityProof() bool { - return this.tootIdentityProofMember != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedCommittedByProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsObject() { - child = this.GetActivityStreamsObject().JSONLDContext() - } else if this.IsActivityStreamsAccept() { - child = this.GetActivityStreamsAccept().JSONLDContext() - } else if this.IsActivityStreamsActivity() { - child = this.GetActivityStreamsActivity().JSONLDContext() - } else if this.IsActivityStreamsAdd() { - child = this.GetActivityStreamsAdd().JSONLDContext() - } else if this.IsActivityStreamsAnnounce() { - child = this.GetActivityStreamsAnnounce().JSONLDContext() - } else if this.IsActivityStreamsApplication() { - child = this.GetActivityStreamsApplication().JSONLDContext() - } else if this.IsActivityStreamsArrive() { - child = this.GetActivityStreamsArrive().JSONLDContext() - } else if this.IsActivityStreamsArticle() { - child = this.GetActivityStreamsArticle().JSONLDContext() - } else if this.IsActivityStreamsAudio() { - 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() { - child = this.GetActivityStreamsDelete().JSONLDContext() - } else if this.IsActivityStreamsDislike() { - child = this.GetActivityStreamsDislike().JSONLDContext() - } else if this.IsActivityStreamsDocument() { - child = this.GetActivityStreamsDocument().JSONLDContext() - } else if this.IsTootEmoji() { - child = this.GetTootEmoji().JSONLDContext() - } else if this.IsActivityStreamsEvent() { - child = this.GetActivityStreamsEvent().JSONLDContext() - } else if this.IsActivityStreamsFlag() { - child = this.GetActivityStreamsFlag().JSONLDContext() - } else if this.IsActivityStreamsFollow() { - child = this.GetActivityStreamsFollow().JSONLDContext() - } else if this.IsActivityStreamsGroup() { - child = this.GetActivityStreamsGroup().JSONLDContext() - } else if this.IsTootIdentityProof() { - child = this.GetTootIdentityProof().JSONLDContext() - } else if this.IsActivityStreamsIgnore() { - child = this.GetActivityStreamsIgnore().JSONLDContext() - } else if this.IsActivityStreamsImage() { - child = this.GetActivityStreamsImage().JSONLDContext() - } else if this.IsActivityStreamsIntransitiveActivity() { - child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext() - } else if this.IsActivityStreamsInvite() { - child = this.GetActivityStreamsInvite().JSONLDContext() - } else if this.IsActivityStreamsJoin() { - child = this.GetActivityStreamsJoin().JSONLDContext() - } else if this.IsActivityStreamsLeave() { - child = this.GetActivityStreamsLeave().JSONLDContext() - } else if this.IsActivityStreamsLike() { - child = this.GetActivityStreamsLike().JSONLDContext() - } else if this.IsActivityStreamsListen() { - child = this.GetActivityStreamsListen().JSONLDContext() - } else if this.IsActivityStreamsMove() { - child = this.GetActivityStreamsMove().JSONLDContext() - } else if this.IsActivityStreamsNote() { - child = this.GetActivityStreamsNote().JSONLDContext() - } else if this.IsActivityStreamsOffer() { - child = this.GetActivityStreamsOffer().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrganization() { - child = this.GetActivityStreamsOrganization().JSONLDContext() - } else if this.IsActivityStreamsPage() { - child = this.GetActivityStreamsPage().JSONLDContext() - } else if this.IsActivityStreamsPerson() { - child = this.GetActivityStreamsPerson().JSONLDContext() - } else if this.IsActivityStreamsPlace() { - child = this.GetActivityStreamsPlace().JSONLDContext() - } else if this.IsActivityStreamsProfile() { - child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsSchemaPropertyValue() { - child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() - } else if this.IsActivityStreamsQuestion() { - child = this.GetActivityStreamsQuestion().JSONLDContext() - } else if this.IsActivityStreamsRead() { - child = this.GetActivityStreamsRead().JSONLDContext() - } else if this.IsActivityStreamsReject() { - child = this.GetActivityStreamsReject().JSONLDContext() - } else if this.IsActivityStreamsRelationship() { - 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() { - child = this.GetActivityStreamsTravel().JSONLDContext() - } else if this.IsActivityStreamsUndo() { - child = this.GetActivityStreamsUndo().JSONLDContext() - } else if this.IsActivityStreamsUpdate() { - child = this.GetActivityStreamsUpdate().JSONLDContext() - } else if this.IsActivityStreamsVideo() { - child = this.GetActivityStreamsVideo().JSONLDContext() - } else if this.IsActivityStreamsView() { - child = this.GetActivityStreamsView().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedCommittedByProperty) KindIndex() int { - if this.IsActivityStreamsObject() { - return 0 - } - if this.IsActivityStreamsAccept() { - return 1 - } - if this.IsActivityStreamsActivity() { - return 2 - } - if this.IsActivityStreamsAdd() { - return 3 - } - if this.IsActivityStreamsAnnounce() { - return 4 - } - if this.IsActivityStreamsApplication() { - return 5 - } - if this.IsActivityStreamsArrive() { - return 6 - } - if this.IsActivityStreamsArticle() { - return 7 - } - if this.IsActivityStreamsAudio() { - return 8 - } - if this.IsActivityStreamsBlock() { - return 9 - } - if this.IsForgeFedBranch() { - return 10 - } - if this.IsActivityStreamsCollection() { - return 11 - } - if this.IsActivityStreamsCollectionPage() { - return 12 - } - if this.IsForgeFedCommit() { - return 13 - } - if this.IsActivityStreamsCreate() { - return 14 - } - if this.IsActivityStreamsDelete() { - return 15 - } - if this.IsActivityStreamsDislike() { - return 16 - } - if this.IsActivityStreamsDocument() { - return 17 - } - if this.IsTootEmoji() { - return 18 - } - if this.IsActivityStreamsEvent() { - return 19 - } - if this.IsActivityStreamsFlag() { - return 20 - } - if this.IsActivityStreamsFollow() { - return 21 - } - if this.IsActivityStreamsGroup() { - return 22 - } - if this.IsTootIdentityProof() { - return 23 - } - if this.IsActivityStreamsIgnore() { - return 24 - } - if this.IsActivityStreamsImage() { - return 25 - } - if this.IsActivityStreamsIntransitiveActivity() { - return 26 - } - if this.IsActivityStreamsInvite() { - return 27 - } - if this.IsActivityStreamsJoin() { - return 28 - } - if this.IsActivityStreamsLeave() { - return 29 - } - if this.IsActivityStreamsLike() { - return 30 - } - if this.IsActivityStreamsListen() { - return 31 - } - if this.IsActivityStreamsMove() { - return 32 - } - if this.IsActivityStreamsNote() { - return 33 - } - if this.IsActivityStreamsOffer() { - return 34 - } - if this.IsActivityStreamsOrderedCollection() { - return 35 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 36 - } - if this.IsActivityStreamsOrganization() { - return 37 - } - if this.IsActivityStreamsPage() { - return 38 - } - if this.IsActivityStreamsPerson() { - return 39 - } - if this.IsActivityStreamsPlace() { - return 40 - } - if this.IsActivityStreamsProfile() { - return 41 - } - if this.IsSchemaPropertyValue() { - return 42 - } - if this.IsForgeFedPush() { - return 43 - } - if this.IsActivityStreamsQuestion() { - return 44 - } - if this.IsActivityStreamsRead() { - return 45 - } - if this.IsActivityStreamsReject() { - return 46 - } - if this.IsActivityStreamsRelationship() { - return 47 - } - if this.IsActivityStreamsRemove() { - return 48 - } - if this.IsForgeFedRepository() { - return 49 - } - if this.IsActivityStreamsService() { - return 50 - } - if this.IsActivityStreamsTentativeAccept() { - return 51 - } - if this.IsActivityStreamsTentativeReject() { - return 52 - } - if this.IsForgeFedTicket() { - return 53 - } - if this.IsForgeFedTicketDependency() { - 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 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedCommittedByProperty) LessThan(o vocab.ForgeFedCommittedByProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject()) - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept()) - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity()) - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd()) - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive()) - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle()) - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete()) - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike()) - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument()) - } else if this.IsTootEmoji() { - return this.GetTootEmoji().LessThan(o.GetTootEmoji()) - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent()) - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag()) - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore()) - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity()) - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite()) - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin()) - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave()) - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove()) - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote()) - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization()) - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage()) - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson()) - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead()) - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject()) - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel()) - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo()) - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate()) - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo()) - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "committedBy". -func (this ForgeFedCommittedByProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "committedBy" - } else { - return "committedBy" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedCommittedByProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().Serialize() - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().Serialize() - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().Serialize() - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().Serialize() - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().Serialize() - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().Serialize() - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().Serialize() - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().Serialize() - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().Serialize() - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().Serialize() - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().Serialize() - } else if this.IsTootEmoji() { - return this.GetTootEmoji().Serialize() - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().Serialize() - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().Serialize() - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().Serialize() - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().Serialize() - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().Serialize() - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().Serialize() - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().Serialize() - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().Serialize() - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().Serialize() - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().Serialize() - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().Serialize() - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().Serialize() - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().Serialize() - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().Serialize() - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().Serialize() - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().Serialize() - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().Serialize() - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().Serialize() - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().Serialize() - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().Serialize() - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().Serialize() - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().Serialize() - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().Serialize() - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().Serialize() - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().Serialize() - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().Serialize() - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().Serialize() - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsAccept sets the value of this property. Calling -// IsActivityStreamsAccept afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.Clear() - this.activitystreamsAcceptMember = v -} - -// SetActivityStreamsActivity sets the value of this property. Calling -// IsActivityStreamsActivity afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.Clear() - this.activitystreamsActivityMember = v -} - -// SetActivityStreamsAdd sets the value of this property. Calling -// IsActivityStreamsAdd afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.Clear() - this.activitystreamsAddMember = v -} - -// SetActivityStreamsAnnounce sets the value of this property. Calling -// IsActivityStreamsAnnounce afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.Clear() - this.activitystreamsAnnounceMember = v -} - -// SetActivityStreamsApplication sets the value of this property. Calling -// IsActivityStreamsApplication afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.Clear() - this.activitystreamsApplicationMember = v -} - -// SetActivityStreamsArrive sets the value of this property. Calling -// IsActivityStreamsArrive afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.Clear() - this.activitystreamsArriveMember = v -} - -// SetActivityStreamsArticle sets the value of this property. Calling -// IsActivityStreamsArticle afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.Clear() - this.activitystreamsArticleMember = v -} - -// SetActivityStreamsAudio sets the value of this property. Calling -// IsActivityStreamsAudio afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.Clear() - this.activitystreamsAudioMember = v -} - -// SetActivityStreamsBlock sets the value of this property. Calling -// IsActivityStreamsBlock afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.Clear() - this.activitystreamsBlockMember = v -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.Clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.Clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsCreate sets the value of this property. Calling -// IsActivityStreamsCreate afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.Clear() - this.activitystreamsCreateMember = v -} - -// SetActivityStreamsDelete sets the value of this property. Calling -// IsActivityStreamsDelete afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.Clear() - this.activitystreamsDeleteMember = v -} - -// SetActivityStreamsDislike sets the value of this property. Calling -// IsActivityStreamsDislike afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.Clear() - this.activitystreamsDislikeMember = v -} - -// SetActivityStreamsDocument sets the value of this property. Calling -// IsActivityStreamsDocument afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.Clear() - this.activitystreamsDocumentMember = v -} - -// SetActivityStreamsEvent sets the value of this property. Calling -// IsActivityStreamsEvent afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.Clear() - this.activitystreamsEventMember = v -} - -// SetActivityStreamsFlag sets the value of this property. Calling -// IsActivityStreamsFlag afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.Clear() - this.activitystreamsFlagMember = v -} - -// SetActivityStreamsFollow sets the value of this property. Calling -// IsActivityStreamsFollow afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.Clear() - this.activitystreamsFollowMember = v -} - -// SetActivityStreamsGroup sets the value of this property. Calling -// IsActivityStreamsGroup afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.Clear() - this.activitystreamsGroupMember = v -} - -// SetActivityStreamsIgnore sets the value of this property. Calling -// IsActivityStreamsIgnore afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.Clear() - this.activitystreamsIgnoreMember = v -} - -// SetActivityStreamsImage sets the value of this property. Calling -// IsActivityStreamsImage afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.Clear() - this.activitystreamsImageMember = v -} - -// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling -// IsActivityStreamsIntransitiveActivity afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.Clear() - this.activitystreamsIntransitiveActivityMember = v -} - -// SetActivityStreamsInvite sets the value of this property. Calling -// IsActivityStreamsInvite afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.Clear() - this.activitystreamsInviteMember = v -} - -// SetActivityStreamsJoin sets the value of this property. Calling -// IsActivityStreamsJoin afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.Clear() - this.activitystreamsJoinMember = v -} - -// SetActivityStreamsLeave sets the value of this property. Calling -// IsActivityStreamsLeave afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.Clear() - this.activitystreamsLeaveMember = v -} - -// SetActivityStreamsLike sets the value of this property. Calling -// IsActivityStreamsLike afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.Clear() - this.activitystreamsLikeMember = v -} - -// SetActivityStreamsListen sets the value of this property. Calling -// IsActivityStreamsListen afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.Clear() - this.activitystreamsListenMember = v -} - -// SetActivityStreamsMove sets the value of this property. Calling -// IsActivityStreamsMove afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.Clear() - this.activitystreamsMoveMember = v -} - -// SetActivityStreamsNote sets the value of this property. Calling -// IsActivityStreamsNote afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.Clear() - this.activitystreamsNoteMember = v -} - -// SetActivityStreamsObject sets the value of this property. Calling -// IsActivityStreamsObject afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.Clear() - this.activitystreamsObjectMember = v -} - -// SetActivityStreamsOffer sets the value of this property. Calling -// IsActivityStreamsOffer afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.Clear() - this.activitystreamsOfferMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetActivityStreamsOrganization sets the value of this property. Calling -// IsActivityStreamsOrganization afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.Clear() - this.activitystreamsOrganizationMember = v -} - -// SetActivityStreamsPage sets the value of this property. Calling -// IsActivityStreamsPage afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.Clear() - this.activitystreamsPageMember = v -} - -// SetActivityStreamsPerson sets the value of this property. Calling -// IsActivityStreamsPerson afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.Clear() - this.activitystreamsPersonMember = v -} - -// SetActivityStreamsPlace sets the value of this property. Calling -// IsActivityStreamsPlace afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.Clear() - this.activitystreamsPlaceMember = v -} - -// SetActivityStreamsProfile sets the value of this property. Calling -// IsActivityStreamsProfile afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.Clear() - this.activitystreamsProfileMember = v -} - -// SetActivityStreamsQuestion sets the value of this property. Calling -// IsActivityStreamsQuestion afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.Clear() - this.activitystreamsQuestionMember = v -} - -// SetActivityStreamsRead sets the value of this property. Calling -// IsActivityStreamsRead afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.Clear() - this.activitystreamsReadMember = v -} - -// SetActivityStreamsReject sets the value of this property. Calling -// IsActivityStreamsReject afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.Clear() - this.activitystreamsRejectMember = v -} - -// SetActivityStreamsRelationship sets the value of this property. Calling -// IsActivityStreamsRelationship afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.Clear() - this.activitystreamsRelationshipMember = v -} - -// SetActivityStreamsRemove sets the value of this property. Calling -// IsActivityStreamsRemove afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.Clear() - this.activitystreamsRemoveMember = v -} - -// SetActivityStreamsService sets the value of this property. Calling -// IsActivityStreamsService afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsService(v vocab.ActivityStreamsService) { - this.Clear() - this.activitystreamsServiceMember = v -} - -// SetActivityStreamsTentativeAccept sets the value of this property. Calling -// IsActivityStreamsTentativeAccept afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.Clear() - this.activitystreamsTentativeAcceptMember = v -} - -// SetActivityStreamsTentativeReject sets the value of this property. Calling -// IsActivityStreamsTentativeReject afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.Clear() - this.activitystreamsTentativeRejectMember = v -} - -// SetActivityStreamsTombstone sets the value of this property. Calling -// IsActivityStreamsTombstone afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.Clear() - this.activitystreamsTombstoneMember = v -} - -// SetActivityStreamsTravel sets the value of this property. Calling -// IsActivityStreamsTravel afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.Clear() - this.activitystreamsTravelMember = v -} - -// SetActivityStreamsUndo sets the value of this property. Calling -// IsActivityStreamsUndo afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.Clear() - this.activitystreamsUndoMember = v -} - -// SetActivityStreamsUpdate sets the value of this property. Calling -// IsActivityStreamsUpdate afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.Clear() - this.activitystreamsUpdateMember = v -} - -// SetActivityStreamsVideo sets the value of this property. Calling -// IsActivityStreamsVideo afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.Clear() - this.activitystreamsVideoMember = v -} - -// SetActivityStreamsView sets the value of this property. Calling -// IsActivityStreamsView afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetActivityStreamsView(v vocab.ActivityStreamsView) { - this.Clear() - this.activitystreamsViewMember = v -} - -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetSchemaPropertyValue sets the value of this property. Calling -// IsSchemaPropertyValue afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.Clear() - this.schemaPropertyValueMember = v -} - -// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards -// returns true. -func (this *ForgeFedCommittedByProperty) SetTootEmoji(v vocab.TootEmoji) { - this.Clear() - this.tootEmojiMember = v -} - -// SetTootIdentityProof sets the value of this property. Calling -// IsTootIdentityProof afterwards returns true. -func (this *ForgeFedCommittedByProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { - this.Clear() - this.tootIdentityProofMember = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedCommittedByProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsObject); ok { - this.SetActivityStreamsObject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAccept); ok { - this.SetActivityStreamsAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsActivity); ok { - this.SetActivityStreamsActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAdd); ok { - this.SetActivityStreamsAdd(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAnnounce); ok { - this.SetActivityStreamsAnnounce(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsApplication); ok { - this.SetActivityStreamsApplication(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArrive); ok { - this.SetActivityStreamsArrive(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArticle); ok { - this.SetActivityStreamsArticle(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAudio); ok { - this.SetActivityStreamsAudio(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsBlock); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsDelete); ok { - this.SetActivityStreamsDelete(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDislike); ok { - this.SetActivityStreamsDislike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDocument); ok { - this.SetActivityStreamsDocument(v) - return nil - } - if v, ok := t.(vocab.TootEmoji); ok { - this.SetTootEmoji(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsEvent); ok { - this.SetActivityStreamsEvent(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFlag); ok { - this.SetActivityStreamsFlag(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFollow); ok { - this.SetActivityStreamsFollow(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsGroup); ok { - this.SetActivityStreamsGroup(v) - return nil - } - if v, ok := t.(vocab.TootIdentityProof); ok { - this.SetTootIdentityProof(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIgnore); ok { - this.SetActivityStreamsIgnore(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsImage); ok { - this.SetActivityStreamsImage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok { - this.SetActivityStreamsIntransitiveActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsInvite); ok { - this.SetActivityStreamsInvite(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsJoin); ok { - this.SetActivityStreamsJoin(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLeave); ok { - this.SetActivityStreamsLeave(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLike); ok { - this.SetActivityStreamsLike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsListen); ok { - this.SetActivityStreamsListen(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMove); ok { - this.SetActivityStreamsMove(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsNote); ok { - this.SetActivityStreamsNote(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOffer); ok { - this.SetActivityStreamsOffer(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrganization); ok { - this.SetActivityStreamsOrganization(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPage); ok { - this.SetActivityStreamsPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.SetActivityStreamsPerson(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPlace); ok { - this.SetActivityStreamsPlace(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsProfile); ok { - this.SetActivityStreamsProfile(v) - return nil - } - if v, ok := t.(vocab.SchemaPropertyValue); ok { - this.SetSchemaPropertyValue(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 - } - if v, ok := t.(vocab.ActivityStreamsRead); ok { - this.SetActivityStreamsRead(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsReject); ok { - this.SetActivityStreamsReject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRelationship); ok { - this.SetActivityStreamsRelationship(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRemove); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok { - this.SetActivityStreamsTentativeAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTravel); ok { - this.SetActivityStreamsTravel(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUndo); ok { - this.SetActivityStreamsUndo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUpdate); ok { - this.SetActivityStreamsUpdate(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsVideo); ok { - this.SetActivityStreamsVideo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsView); ok { - this.SetActivityStreamsView(v) - return nil - } - - return fmt.Errorf("illegal type to set on committedBy property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_doc.go deleted file mode 100644 index 0a1ee6c03..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertydependants contains the implementation for the dependants -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertydependants diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_pkg.go deleted file mode 100644 index 60b8b3888..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_pkg.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependants - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_property_forgefed_dependants.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_property_forgefed_dependants.go deleted file mode 100644 index 8b50f3403..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants/gen_property_forgefed_dependants.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependants - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedDependantsProperty is the functional property "dependants". It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedDependantsProperty struct { - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeDependantsProperty creates a "dependants" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeDependantsProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedDependantsProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "dependants" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "dependants") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedDependantsProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDependantsProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDependantsProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedDependantsProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedDependantsProperty creates a new dependants property. -func NewForgeFedDependantsProperty() *ForgeFedDependantsProperty { - return &ForgeFedDependantsProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedDependantsProperty) Clear() { - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedDependantsProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedDependantsProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return an arbitrary value. -func (this ForgeFedDependantsProperty) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedDependantsProperty) GetType() vocab.Type { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedDependantsProperty) HasAny() bool { - return this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.iri != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedDependantsProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedDependantsProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI -// to access and set this property -func (this ForgeFedDependantsProperty) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependantsProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedDependantsProperty) KindIndex() int { - if this.IsActivityStreamsOrderedCollection() { - return 0 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 1 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependantsProperty) LessThan(o vocab.ForgeFedDependantsProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "dependants". -func (this ForgeFedDependantsProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "dependants" - } else { - return "dependants" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependantsProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedDependantsProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedDependantsProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedDependantsProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedDependantsProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - - return fmt.Errorf("illegal type to set on dependants property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_doc.go deleted file mode 100644 index d6afd7179..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertydependedby contains the implementation for the dependedBy -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertydependedby diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_pkg.go deleted file mode 100644 index f40e25624..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_pkg.go +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependedby - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // 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) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_property_forgefed_dependedBy.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_property_forgefed_dependedBy.go deleted file mode 100644 index 645e63e34..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby/gen_property_forgefed_dependedBy.go +++ /dev/null @@ -1,622 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependedby - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedDependedByPropertyIterator is an iterator for a property. It is -// permitted to be a single nilable value type. -type ForgeFedDependedByPropertyIterator struct { - forgefedTicketMember vocab.ForgeFedTicket - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedDependedByProperty -} - -// NewForgeFedDependedByPropertyIterator creates a new ForgeFedDependedBy property. -func NewForgeFedDependedByPropertyIterator() *ForgeFedDependedByPropertyIterator { - return &ForgeFedDependedByPropertyIterator{alias: ""} -} - -// deserializeForgeFedDependedByPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedDependedByPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedDependedByPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedDependedByPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDependedByPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } - } - this := &ForgeFedDependedByPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// Get returns the value of this property. When IsForgeFedTicket returns false, -// Get will return any arbitrary value. -func (this ForgeFedDependedByPropertyIterator) Get() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedDependedByPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedDependedByPropertyIterator) GetType() vocab.Type { - if this.IsForgeFedTicket() { - return this.Get() - } - - return nil -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedDependedByPropertyIterator) HasAny() bool { - return this.IsForgeFedTicket() || this.iri != nil -} - -// IsForgeFedTicket returns true if this property is set and not an IRI. -func (this ForgeFedDependedByPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedDependedByPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependedByPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsForgeFedTicket() { - child = this.Get().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedDependedByPropertyIterator) KindIndex() int { - if this.IsForgeFedTicket() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependedByPropertyIterator) LessThan(o vocab.ForgeFedDependedByPropertyIterator) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsForgeFedTicket() && !o.IsForgeFedTicket() { - // Both are unknowns. - return false - } else if this.IsForgeFedTicket() && !o.IsForgeFedTicket() { - // Values are always greater than unknown values. - return false - } else if !this.IsForgeFedTicket() && o.IsForgeFedTicket() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return this.Get().LessThan(o.Get()) - } -} - -// Name returns the name of this property: "ForgeFedDependedBy". -func (this ForgeFedDependedByPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedDependedBy" - } else { - return "ForgeFedDependedBy" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedDependedByPropertyIterator) Next() vocab.ForgeFedDependedByPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedDependedByPropertyIterator) Prev() vocab.ForgeFedDependedByPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// Set sets the value of this property. Calling IsForgeFedTicket afterwards will -// return true. -func (this *ForgeFedDependedByPropertyIterator) Set(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedDependedByPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedDependedByPropertyIterator) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.Set(v) - return nil - } - - return fmt.Errorf("illegal type to set on ForgeFedDependedBy property: %T", t) -} - -// clear ensures no value of this property is set. Calling IsForgeFedTicket -// afterwards will return false. -func (this *ForgeFedDependedByPropertyIterator) clear() { - this.unknown = nil - this.iri = nil - this.forgefedTicketMember = nil -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependedByPropertyIterator) serialize() (interface{}, error) { - if this.IsForgeFedTicket() { - return this.Get().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedDependedByProperty is the non-functional property "dependedBy". It is -// permitted to have one or more values, and of different value types. -type ForgeFedDependedByProperty struct { - properties []*ForgeFedDependedByPropertyIterator - alias string -} - -// DeserializeDependedByProperty creates a "dependedBy" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeDependedByProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependedByProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "dependedBy" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "dependedBy") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedDependedByProperty{ - alias: alias, - properties: []*ForgeFedDependedByPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedDependedByPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedDependedByPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedDependedByProperty creates a new dependedBy property. -func NewForgeFedDependedByProperty() *ForgeFedDependedByProperty { - return &ForgeFedDependedByProperty{alias: ""} -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "dependedBy". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedDependedByProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "dependedBy" -func (this *ForgeFedDependedByProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependedBy". Invalidates iterators that are traversing using -// Prev. Returns an error if the type is not a valid one to set for this -// property. -func (this *ForgeFedDependedByProperty) AppendType(t vocab.Type) error { - n := &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, n) - return nil -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedDependedByProperty) At(index int) vocab.ForgeFedDependedByPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedDependedByProperty) Begin() vocab.ForgeFedDependedByPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedDependedByProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedDependedByProperty) End() vocab.ForgeFedDependedByPropertyIterator { - return nil -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "dependedBy". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedDependedByProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - forgefedTicketMember: 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 "dependedBy". -// Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ForgeFedDependedByProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependedBy". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedDependedByProperty) InsertType(idx int, t vocab.Type) error { - n := &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = n - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependedByProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedDependedByProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "dependedBy" property. -func (this ForgeFedDependedByProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedDependedByProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].Get() - rhs := this.properties[j].Get() - return lhs.LessThan(rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependedByProperty) LessThan(o vocab.ForgeFedDependedByProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("dependedBy") with any alias. -func (this ForgeFedDependedByProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "dependedBy" - } else { - return "dependedBy" - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "dependedBy". Invalidates all iterators. -func (this *ForgeFedDependedByProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ForgeFedDependedByPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: 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 -// "dependedBy". -func (this *ForgeFedDependedByProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedDependedByPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependedBy". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedDependedByProperty) PrependType(t vocab.Type) error { - n := &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - myIdx: 0, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append([]*ForgeFedDependedByPropertyIterator{n}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// Remove deletes an element at the specified index from a list of the property -// "dependedBy", regardless of its type. Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedDependedByProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedDependedByPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependedByProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// Set sets a Ticket value to be at the specified index for the property -// "dependedBy". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedDependedByProperty) Set(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "dependedBy". Panics if the index is out of bounds. -func (this *ForgeFedDependedByProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// SetType sets an arbitrary type value to the specified index of the property -// "dependedBy". Invalidates all iterators. Returns an error if the type is -// not a valid one to set for this property. Panics if the index is out of -// bounds. -func (this *ForgeFedDependedByProperty) SetType(idx int, t vocab.Type) error { - n := &ForgeFedDependedByPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - (this.properties)[idx] = n - return nil -} - -// Swap swaps the location of values at two indices for the "dependedBy" property. -func (this ForgeFedDependedByProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_doc.go deleted file mode 100644 index 4f4b064a5..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertydependencies contains the implementation for the dependencies -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertydependencies diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_pkg.go deleted file mode 100644 index 212647439..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_pkg.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependencies - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_property_forgefed_dependencies.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_property_forgefed_dependencies.go deleted file mode 100644 index e77efc92a..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies/gen_property_forgefed_dependencies.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependencies - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedDependenciesProperty is the functional property "dependencies". It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedDependenciesProperty struct { - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeDependenciesProperty creates a "dependencies" property from an -// interface representation that has been unmarshalled from a text or binary -// format. -func DeserializeDependenciesProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedDependenciesProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "dependencies" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "dependencies") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedDependenciesProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDependenciesProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDependenciesProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedDependenciesProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedDependenciesProperty creates a new dependencies property. -func NewForgeFedDependenciesProperty() *ForgeFedDependenciesProperty { - return &ForgeFedDependenciesProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedDependenciesProperty) Clear() { - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedDependenciesProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedDependenciesProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return an arbitrary value. -func (this ForgeFedDependenciesProperty) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedDependenciesProperty) GetType() vocab.Type { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedDependenciesProperty) HasAny() bool { - return this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.iri != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedDependenciesProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedDependenciesProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI -// to access and set this property -func (this ForgeFedDependenciesProperty) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependenciesProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedDependenciesProperty) KindIndex() int { - if this.IsActivityStreamsOrderedCollection() { - return 0 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 1 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependenciesProperty) LessThan(o vocab.ForgeFedDependenciesProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "dependencies". -func (this ForgeFedDependenciesProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "dependencies" - } else { - return "dependencies" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependenciesProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedDependenciesProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedDependenciesProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedDependenciesProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedDependenciesProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - - return fmt.Errorf("illegal type to set on dependencies property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_doc.go deleted file mode 100644 index 53d2647b0..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertydependson contains the implementation for the dependsOn -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertydependson diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_pkg.go deleted file mode 100644 index 55ed17dac..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_pkg.go +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependson - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // 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) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_property_forgefed_dependsOn.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_property_forgefed_dependsOn.go deleted file mode 100644 index 1c31fa276..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson/gen_property_forgefed_dependsOn.go +++ /dev/null @@ -1,619 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydependson - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedDependsOnPropertyIterator is an iterator for a property. It is -// permitted to be a single nilable value type. -type ForgeFedDependsOnPropertyIterator struct { - forgefedTicketMember vocab.ForgeFedTicket - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedDependsOnProperty -} - -// NewForgeFedDependsOnPropertyIterator creates a new ForgeFedDependsOn property. -func NewForgeFedDependsOnPropertyIterator() *ForgeFedDependsOnPropertyIterator { - return &ForgeFedDependsOnPropertyIterator{alias: ""} -} - -// deserializeForgeFedDependsOnPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedDependsOnPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedDependsOnPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedDependsOnPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDependsOnPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } - } - this := &ForgeFedDependsOnPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// Get returns the value of this property. When IsForgeFedTicket returns false, -// Get will return any arbitrary value. -func (this ForgeFedDependsOnPropertyIterator) Get() vocab.ForgeFedTicket { - return this.forgefedTicketMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedDependsOnPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedDependsOnPropertyIterator) GetType() vocab.Type { - if this.IsForgeFedTicket() { - return this.Get() - } - - return nil -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedDependsOnPropertyIterator) HasAny() bool { - return this.IsForgeFedTicket() || this.iri != nil -} - -// IsForgeFedTicket returns true if this property is set and not an IRI. -func (this ForgeFedDependsOnPropertyIterator) IsForgeFedTicket() bool { - return this.forgefedTicketMember != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedDependsOnPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependsOnPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsForgeFedTicket() { - child = this.Get().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedDependsOnPropertyIterator) KindIndex() int { - if this.IsForgeFedTicket() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependsOnPropertyIterator) LessThan(o vocab.ForgeFedDependsOnPropertyIterator) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsForgeFedTicket() && !o.IsForgeFedTicket() { - // Both are unknowns. - return false - } else if this.IsForgeFedTicket() && !o.IsForgeFedTicket() { - // Values are always greater than unknown values. - return false - } else if !this.IsForgeFedTicket() && o.IsForgeFedTicket() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return this.Get().LessThan(o.Get()) - } -} - -// Name returns the name of this property: "ForgeFedDependsOn". -func (this ForgeFedDependsOnPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedDependsOn" - } else { - return "ForgeFedDependsOn" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedDependsOnPropertyIterator) Next() vocab.ForgeFedDependsOnPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedDependsOnPropertyIterator) Prev() vocab.ForgeFedDependsOnPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// Set sets the value of this property. Calling IsForgeFedTicket afterwards will -// return true. -func (this *ForgeFedDependsOnPropertyIterator) Set(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedDependsOnPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedDependsOnPropertyIterator) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ForgeFedTicket); ok { - this.Set(v) - return nil - } - - return fmt.Errorf("illegal type to set on ForgeFedDependsOn property: %T", t) -} - -// clear ensures no value of this property is set. Calling IsForgeFedTicket -// afterwards will return false. -func (this *ForgeFedDependsOnPropertyIterator) clear() { - this.unknown = nil - this.iri = nil - this.forgefedTicketMember = nil -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependsOnPropertyIterator) serialize() (interface{}, error) { - if this.IsForgeFedTicket() { - return this.Get().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedDependsOnProperty is the non-functional property "dependsOn". It is -// permitted to have one or more values, and of different value types. -type ForgeFedDependsOnProperty struct { - properties []*ForgeFedDependsOnPropertyIterator - alias string -} - -// DeserializeDependsOnProperty creates a "dependsOn" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeDependsOnProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedDependsOnProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "dependsOn" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "dependsOn") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedDependsOnProperty{ - alias: alias, - properties: []*ForgeFedDependsOnPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedDependsOnPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedDependsOnPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedDependsOnProperty creates a new dependsOn property. -func NewForgeFedDependsOnProperty() *ForgeFedDependsOnProperty { - return &ForgeFedDependsOnProperty{alias: ""} -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "dependsOn". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedDependsOnProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendIRI appends an IRI value to the back of a list of the property "dependsOn" -func (this *ForgeFedDependsOnProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependsOn". Invalidates iterators that are traversing using Prev. -// Returns an error if the type is not a valid one to set for this property. -func (this *ForgeFedDependsOnProperty) AppendType(t vocab.Type) error { - n := &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, n) - return nil -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedDependsOnProperty) At(index int) vocab.ForgeFedDependsOnPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedDependsOnProperty) Begin() vocab.ForgeFedDependsOnPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedDependsOnProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedDependsOnProperty) End() vocab.ForgeFedDependsOnPropertyIterator { - return nil -} - -// InsertForgeFedTicket inserts a Ticket value at the specified index for a -// property "dependsOn". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedDependsOnProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - forgefedTicketMember: 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 "dependsOn". -// Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ForgeFedDependsOnProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependsOn". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedDependsOnProperty) InsertType(idx int, t vocab.Type) error { - n := &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = n - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDependsOnProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedDependsOnProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "dependsOn" property. -func (this ForgeFedDependsOnProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedDependsOnProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].Get() - rhs := this.properties[j].Get() - return lhs.LessThan(rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDependsOnProperty) LessThan(o vocab.ForgeFedDependsOnProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("dependsOn") with any alias. -func (this ForgeFedDependsOnProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "dependsOn" - } else { - return "dependsOn" - } -} - -// PrependForgeFedTicket prepends a Ticket value to the front of a list of the -// property "dependsOn". Invalidates all iterators. -func (this *ForgeFedDependsOnProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ForgeFedDependsOnPropertyIterator{{ - alias: this.alias, - forgefedTicketMember: 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 -// "dependsOn". -func (this *ForgeFedDependsOnProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedDependsOnPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "dependsOn". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedDependsOnProperty) PrependType(t vocab.Type) error { - n := &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - myIdx: 0, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append([]*ForgeFedDependsOnPropertyIterator{n}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// Remove deletes an element at the specified index from a list of the property -// "dependsOn", regardless of its type. Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedDependsOnProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedDependsOnPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDependsOnProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// Set sets a Ticket value to be at the specified index for the property -// "dependsOn". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedDependsOnProperty) Set(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "dependsOn". Panics if the index is out of bounds. -func (this *ForgeFedDependsOnProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// SetType sets an arbitrary type value to the specified index of the property -// "dependsOn". Invalidates all iterators. Returns an error if the type is not -// a valid one to set for this property. Panics if the index is out of bounds. -func (this *ForgeFedDependsOnProperty) SetType(idx int, t vocab.Type) error { - n := &ForgeFedDependsOnPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - (this.properties)[idx] = n - return nil -} - -// Swap swaps the location of values at two indices for the "dependsOn" property. -func (this ForgeFedDependsOnProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_doc.go deleted file mode 100644 index 664c990f9..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertydescription contains the implementation for the description -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertydescription diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_pkg.go deleted file mode 100644 index d28f036c3..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_pkg.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydescription - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAcceptActivityStreams returns the deserialization method for - // the "ActivityStreamsAccept" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) - // DeserializeActivityActivityStreams returns the deserialization method - // for the "ActivityStreamsActivity" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) - // DeserializeAddActivityStreams returns the deserialization method for - // the "ActivityStreamsAdd" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) - // DeserializeAnnounceActivityStreams returns the deserialization method - // for the "ActivityStreamsAnnounce" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) - // DeserializeApplicationActivityStreams returns the deserialization - // method for the "ActivityStreamsApplication" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) - // DeserializeArriveActivityStreams returns the deserialization method for - // the "ActivityStreamsArrive" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) - // DeserializeArticleActivityStreams returns the deserialization method - // for the "ActivityStreamsArticle" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) - // DeserializeAudioActivityStreams returns the deserialization method for - // the "ActivityStreamsAudio" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) - // DeserializeBlockActivityStreams returns the deserialization method for - // 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" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // 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" - DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) - // DeserializeDeleteActivityStreams returns the deserialization method for - // the "ActivityStreamsDelete" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) - // DeserializeDislikeActivityStreams returns the deserialization method - // for the "ActivityStreamsDislike" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) - // DeserializeDocumentActivityStreams returns the deserialization method - // for the "ActivityStreamsDocument" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) - // DeserializeEmojiToot returns the deserialization method for the - // "TootEmoji" non-functional property in the vocabulary "Toot" - DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) - // DeserializeEventActivityStreams returns the deserialization method for - // the "ActivityStreamsEvent" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) - // DeserializeFlagActivityStreams returns the deserialization method for - // the "ActivityStreamsFlag" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) - // DeserializeFollowActivityStreams returns the deserialization method for - // the "ActivityStreamsFollow" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) - // DeserializeGroupActivityStreams returns the deserialization method for - // the "ActivityStreamsGroup" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, 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) - // DeserializeIgnoreActivityStreams returns the deserialization method for - // the "ActivityStreamsIgnore" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) - // DeserializeImageActivityStreams returns the deserialization method for - // the "ActivityStreamsImage" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) - // DeserializeIntransitiveActivityActivityStreams returns the - // deserialization method for the - // "ActivityStreamsIntransitiveActivity" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) - // DeserializeInviteActivityStreams returns the deserialization method for - // the "ActivityStreamsInvite" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) - // DeserializeJoinActivityStreams returns the deserialization method for - // the "ActivityStreamsJoin" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) - // DeserializeLeaveActivityStreams returns the deserialization method for - // the "ActivityStreamsLeave" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) - // DeserializeLikeActivityStreams returns the deserialization method for - // the "ActivityStreamsLike" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) - // DeserializeListenActivityStreams returns the deserialization method for - // the "ActivityStreamsListen" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) - // DeserializeMoveActivityStreams returns the deserialization method for - // the "ActivityStreamsMove" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) - // DeserializeNoteActivityStreams returns the deserialization method for - // the "ActivityStreamsNote" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) - // DeserializeObjectActivityStreams returns the deserialization method for - // the "ActivityStreamsObject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) - // DeserializeOfferActivityStreams returns the deserialization method for - // the "ActivityStreamsOffer" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) - // DeserializeOrganizationActivityStreams returns the deserialization - // method for the "ActivityStreamsOrganization" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) - // DeserializePageActivityStreams returns the deserialization method for - // the "ActivityStreamsPage" non-functional property in the vocabulary - // "ActivityStreams" - DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) - // DeserializePlaceActivityStreams returns the deserialization method for - // the "ActivityStreamsPlace" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) - // DeserializeProfileActivityStreams returns the deserialization method - // for the "ActivityStreamsProfile" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePropertyValueSchema returns the deserialization method for - // the "SchemaPropertyValue" non-functional property in the vocabulary - // "Schema" - DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" - DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) - // DeserializeReadActivityStreams returns the deserialization method for - // the "ActivityStreamsRead" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) - // DeserializeRejectActivityStreams returns the deserialization method for - // the "ActivityStreamsReject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) - // DeserializeRelationshipActivityStreams returns the deserialization - // method for the "ActivityStreamsRelationship" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) - // DeserializeRemoveActivityStreams returns the deserialization method for - // 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" - DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) - // DeserializeTentativeAcceptActivityStreams returns the deserialization - // method for the "ActivityStreamsTentativeAccept" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) - // DeserializeTentativeRejectActivityStreams returns the deserialization - // 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" - DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) - // DeserializeTravelActivityStreams returns the deserialization method for - // the "ActivityStreamsTravel" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) - // DeserializeUndoActivityStreams returns the deserialization method for - // the "ActivityStreamsUndo" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) - // DeserializeUpdateActivityStreams returns the deserialization method for - // the "ActivityStreamsUpdate" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) - // DeserializeVideoActivityStreams returns the deserialization method for - // the "ActivityStreamsVideo" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) - // DeserializeViewActivityStreams returns the deserialization method for - // the "ActivityStreamsView" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_property_forgefed_description.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_property_forgefed_description.go deleted file mode 100644 index e7fd19705..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description/gen_property_forgefed_description.go +++ /dev/null @@ -1,2979 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertydescription - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedDescriptionProperty is the functional property "description". It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedDescriptionProperty struct { - activitystreamsObjectMember vocab.ActivityStreamsObject - activitystreamsAcceptMember vocab.ActivityStreamsAccept - activitystreamsActivityMember vocab.ActivityStreamsActivity - activitystreamsAddMember vocab.ActivityStreamsAdd - activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce - activitystreamsApplicationMember vocab.ActivityStreamsApplication - activitystreamsArriveMember vocab.ActivityStreamsArrive - 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 - activitystreamsDocumentMember vocab.ActivityStreamsDocument - tootEmojiMember vocab.TootEmoji - activitystreamsEventMember vocab.ActivityStreamsEvent - activitystreamsFlagMember vocab.ActivityStreamsFlag - activitystreamsFollowMember vocab.ActivityStreamsFollow - activitystreamsGroupMember vocab.ActivityStreamsGroup - tootIdentityProofMember vocab.TootIdentityProof - activitystreamsIgnoreMember vocab.ActivityStreamsIgnore - activitystreamsImageMember vocab.ActivityStreamsImage - activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity - activitystreamsInviteMember vocab.ActivityStreamsInvite - activitystreamsJoinMember vocab.ActivityStreamsJoin - activitystreamsLeaveMember vocab.ActivityStreamsLeave - activitystreamsLikeMember vocab.ActivityStreamsLike - activitystreamsListenMember vocab.ActivityStreamsListen - activitystreamsMoveMember vocab.ActivityStreamsMove - activitystreamsNoteMember vocab.ActivityStreamsNote - activitystreamsOfferMember vocab.ActivityStreamsOffer - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - activitystreamsOrganizationMember vocab.ActivityStreamsOrganization - activitystreamsPageMember vocab.ActivityStreamsPage - activitystreamsPersonMember vocab.ActivityStreamsPerson - activitystreamsPlaceMember vocab.ActivityStreamsPlace - activitystreamsProfileMember vocab.ActivityStreamsProfile - schemaPropertyValueMember vocab.SchemaPropertyValue - 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 - activitystreamsUpdateMember vocab.ActivityStreamsUpdate - activitystreamsVideoMember vocab.ActivityStreamsVideo - activitystreamsViewMember vocab.ActivityStreamsView - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeDescriptionProperty creates a "description" property from an -// interface representation that has been unmarshalled from a text or binary -// format. -func DeserializeDescriptionProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedDescriptionProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "description" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "description") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedDescriptionProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsObjectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsAddMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsAnnounceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsApplicationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsArriveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsArticleMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsAudioMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsBlockMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsCreateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsDeleteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsDislikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsDocumentMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - tootEmojiMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsEventMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsFlagMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsFollowMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsGroupMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - tootIdentityProofMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsIgnoreMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsImageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsIntransitiveActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsInviteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsJoinMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsLeaveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsLikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsListenMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsMoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsNoteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsOfferMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsOrganizationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsPlaceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsProfileMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePropertyValueSchema()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - schemaPropertyValueMember: v, - } - return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsQuestionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsReadMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsRelationshipMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsRemoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsServiceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsTentativeAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsTentativeRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsTombstoneMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsTravelMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsUndoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsUpdateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsVideoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedDescriptionProperty{ - activitystreamsViewMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedDescriptionProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedDescriptionProperty creates a new description property. -func NewForgeFedDescriptionProperty() *ForgeFedDescriptionProperty { - return &ForgeFedDescriptionProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedDescriptionProperty) Clear() { - this.activitystreamsObjectMember = nil - this.activitystreamsAcceptMember = nil - this.activitystreamsActivityMember = nil - this.activitystreamsAddMember = nil - this.activitystreamsAnnounceMember = nil - this.activitystreamsApplicationMember = nil - this.activitystreamsArriveMember = nil - 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 - this.activitystreamsDocumentMember = nil - this.tootEmojiMember = nil - this.activitystreamsEventMember = nil - this.activitystreamsFlagMember = nil - this.activitystreamsFollowMember = nil - this.activitystreamsGroupMember = nil - this.tootIdentityProofMember = nil - this.activitystreamsIgnoreMember = nil - this.activitystreamsImageMember = nil - this.activitystreamsIntransitiveActivityMember = nil - this.activitystreamsInviteMember = nil - this.activitystreamsJoinMember = nil - this.activitystreamsLeaveMember = nil - this.activitystreamsLikeMember = nil - this.activitystreamsListenMember = nil - this.activitystreamsMoveMember = nil - this.activitystreamsNoteMember = nil - this.activitystreamsOfferMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.activitystreamsOrganizationMember = nil - this.activitystreamsPageMember = nil - this.activitystreamsPersonMember = nil - this.activitystreamsPlaceMember = nil - this.activitystreamsProfileMember = nil - this.schemaPropertyValueMember = 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 - this.activitystreamsUpdateMember = nil - this.activitystreamsVideoMember = nil - this.activitystreamsViewMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsAccept returns the value of this property. When -// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsAccept() vocab.ActivityStreamsAccept { - return this.activitystreamsAcceptMember -} - -// GetActivityStreamsActivity returns the value of this property. When -// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsActivity() vocab.ActivityStreamsActivity { - return this.activitystreamsActivityMember -} - -// GetActivityStreamsAdd returns the value of this property. When -// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsAdd() vocab.ActivityStreamsAdd { - return this.activitystreamsAddMember -} - -// GetActivityStreamsAnnounce returns the value of this property. When -// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce { - return this.activitystreamsAnnounceMember -} - -// GetActivityStreamsApplication returns the value of this property. When -// IsActivityStreamsApplication returns false, GetActivityStreamsApplication -// will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsApplication() vocab.ActivityStreamsApplication { - return this.activitystreamsApplicationMember -} - -// GetActivityStreamsArrive returns the value of this property. When -// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsArrive() vocab.ActivityStreamsArrive { - return this.activitystreamsArriveMember -} - -// GetActivityStreamsArticle returns the value of this property. When -// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsArticle() vocab.ActivityStreamsArticle { - return this.activitystreamsArticleMember -} - -// GetActivityStreamsAudio returns the value of this property. When -// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsAudio() vocab.ActivityStreamsAudio { - return this.activitystreamsAudioMember -} - -// GetActivityStreamsBlock returns the value of this property. When -// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsBlock() vocab.ActivityStreamsBlock { - return this.activitystreamsBlockMember -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsCreate returns the value of this property. When -// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsCreate() vocab.ActivityStreamsCreate { - return this.activitystreamsCreateMember -} - -// GetActivityStreamsDelete returns the value of this property. When -// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsDelete() vocab.ActivityStreamsDelete { - return this.activitystreamsDeleteMember -} - -// GetActivityStreamsDislike returns the value of this property. When -// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsDislike() vocab.ActivityStreamsDislike { - return this.activitystreamsDislikeMember -} - -// GetActivityStreamsDocument returns the value of this property. When -// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsDocument() vocab.ActivityStreamsDocument { - return this.activitystreamsDocumentMember -} - -// GetActivityStreamsEvent returns the value of this property. When -// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsEvent() vocab.ActivityStreamsEvent { - return this.activitystreamsEventMember -} - -// GetActivityStreamsFlag returns the value of this property. When -// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsFlag() vocab.ActivityStreamsFlag { - return this.activitystreamsFlagMember -} - -// GetActivityStreamsFollow returns the value of this property. When -// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsFollow() vocab.ActivityStreamsFollow { - return this.activitystreamsFollowMember -} - -// GetActivityStreamsGroup returns the value of this property. When -// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsGroup() vocab.ActivityStreamsGroup { - return this.activitystreamsGroupMember -} - -// GetActivityStreamsIgnore returns the value of this property. When -// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore { - return this.activitystreamsIgnoreMember -} - -// GetActivityStreamsImage returns the value of this property. When -// IsActivityStreamsImage returns false, GetActivityStreamsImage will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsImage() vocab.ActivityStreamsImage { - return this.activitystreamsImageMember -} - -// GetActivityStreamsIntransitiveActivity returns the value of this property. When -// IsActivityStreamsIntransitiveActivity returns false, -// GetActivityStreamsIntransitiveActivity will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity { - return this.activitystreamsIntransitiveActivityMember -} - -// GetActivityStreamsInvite returns the value of this property. When -// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsInvite() vocab.ActivityStreamsInvite { - return this.activitystreamsInviteMember -} - -// GetActivityStreamsJoin returns the value of this property. When -// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsJoin() vocab.ActivityStreamsJoin { - return this.activitystreamsJoinMember -} - -// GetActivityStreamsLeave returns the value of this property. When -// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsLeave() vocab.ActivityStreamsLeave { - return this.activitystreamsLeaveMember -} - -// GetActivityStreamsLike returns the value of this property. When -// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsLike() vocab.ActivityStreamsLike { - return this.activitystreamsLikeMember -} - -// GetActivityStreamsListen returns the value of this property. When -// IsActivityStreamsListen returns false, GetActivityStreamsListen will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsListen() vocab.ActivityStreamsListen { - return this.activitystreamsListenMember -} - -// GetActivityStreamsMove returns the value of this property. When -// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsMove() vocab.ActivityStreamsMove { - return this.activitystreamsMoveMember -} - -// GetActivityStreamsNote returns the value of this property. When -// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsNote() vocab.ActivityStreamsNote { - return this.activitystreamsNoteMember -} - -// GetActivityStreamsObject returns the value of this property. When -// IsActivityStreamsObject returns false, GetActivityStreamsObject will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsObject() vocab.ActivityStreamsObject { - return this.activitystreamsObjectMember -} - -// GetActivityStreamsOffer returns the value of this property. When -// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsOffer() vocab.ActivityStreamsOffer { - return this.activitystreamsOfferMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetActivityStreamsOrganization returns the value of this property. When -// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization -// will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization { - return this.activitystreamsOrganizationMember -} - -// GetActivityStreamsPage returns the value of this property. When -// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsPage() vocab.ActivityStreamsPage { - return this.activitystreamsPageMember -} - -// GetActivityStreamsPerson returns the value of this property. When -// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsPerson() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetActivityStreamsPlace returns the value of this property. When -// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsPlace() vocab.ActivityStreamsPlace { - return this.activitystreamsPlaceMember -} - -// GetActivityStreamsProfile returns the value of this property. When -// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsProfile() vocab.ActivityStreamsProfile { - return this.activitystreamsProfileMember -} - -// GetActivityStreamsQuestion returns the value of this property. When -// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion { - return this.activitystreamsQuestionMember -} - -// GetActivityStreamsRead returns the value of this property. When -// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsRead() vocab.ActivityStreamsRead { - return this.activitystreamsReadMember -} - -// GetActivityStreamsReject returns the value of this property. When -// IsActivityStreamsReject returns false, GetActivityStreamsReject will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsReject() vocab.ActivityStreamsReject { - return this.activitystreamsRejectMember -} - -// GetActivityStreamsRelationship returns the value of this property. When -// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship -// will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship { - return this.activitystreamsRelationshipMember -} - -// GetActivityStreamsRemove returns the value of this property. When -// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsRemove() vocab.ActivityStreamsRemove { - return this.activitystreamsRemoveMember -} - -// GetActivityStreamsService returns the value of this property. When -// IsActivityStreamsService returns false, GetActivityStreamsService will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsService() vocab.ActivityStreamsService { - return this.activitystreamsServiceMember -} - -// GetActivityStreamsTentativeAccept returns the value of this property. When -// IsActivityStreamsTentativeAccept returns false, -// GetActivityStreamsTentativeAccept will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept { - return this.activitystreamsTentativeAcceptMember -} - -// GetActivityStreamsTentativeReject returns the value of this property. When -// IsActivityStreamsTentativeReject returns false, -// GetActivityStreamsTentativeReject will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject { - return this.activitystreamsTentativeRejectMember -} - -// GetActivityStreamsTombstone returns the value of this property. When -// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will -// return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone { - return this.activitystreamsTombstoneMember -} - -// GetActivityStreamsTravel returns the value of this property. When -// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsTravel() vocab.ActivityStreamsTravel { - return this.activitystreamsTravelMember -} - -// GetActivityStreamsUndo returns the value of this property. When -// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsUndo() vocab.ActivityStreamsUndo { - return this.activitystreamsUndoMember -} - -// GetActivityStreamsUpdate returns the value of this property. When -// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate { - return this.activitystreamsUpdateMember -} - -// GetActivityStreamsVideo returns the value of this property. When -// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return -// an arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsVideo() vocab.ActivityStreamsVideo { - return this.activitystreamsVideoMember -} - -// GetActivityStreamsView returns the value of this property. When -// IsActivityStreamsView returns false, GetActivityStreamsView will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetActivityStreamsView() vocab.ActivityStreamsView { - return this.activitystreamsViewMember -} - -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) GetIRI() *url.URL { - return this.iri -} - -// GetSchemaPropertyValue returns the value of this property. When -// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetSchemaPropertyValue() vocab.SchemaPropertyValue { - return this.schemaPropertyValueMember -} - -// GetTootEmoji returns the value of this property. When IsTootEmoji returns -// false, GetTootEmoji will return an arbitrary value. -func (this ForgeFedDescriptionProperty) GetTootEmoji() vocab.TootEmoji { - return this.tootEmojiMember -} - -// GetTootIdentityProof returns the value of this property. When -// IsTootIdentityProof returns false, GetTootIdentityProof will return an -// arbitrary value. -func (this ForgeFedDescriptionProperty) GetTootIdentityProof() vocab.TootIdentityProof { - return this.tootIdentityProofMember -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedDescriptionProperty) GetType() vocab.Type { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject() - } - if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept() - } - if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity() - } - if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd() - } - if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce() - } - if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication() - } - if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive() - } - if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle() - } - if this.IsActivityStreamsAudio() { - return this.GetActivityStreamsAudio() - } - 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() - } - if this.IsActivityStreamsDelete() { - return this.GetActivityStreamsDelete() - } - if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike() - } - if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument() - } - if this.IsTootEmoji() { - return this.GetTootEmoji() - } - if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent() - } - if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag() - } - if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow() - } - if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup() - } - if this.IsTootIdentityProof() { - return this.GetTootIdentityProof() - } - if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore() - } - if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage() - } - if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity() - } - if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite() - } - if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin() - } - if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave() - } - if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike() - } - if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen() - } - if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove() - } - if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote() - } - if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization() - } - if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage() - } - if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson() - } - if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace() - } - if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile() - } - if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue() - } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } - if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion() - } - if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead() - } - if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject() - } - if this.IsActivityStreamsRelationship() { - return this.GetActivityStreamsRelationship() - } - if this.IsActivityStreamsRemove() { - return this.GetActivityStreamsRemove() - } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } - if this.IsActivityStreamsService() { - return this.GetActivityStreamsService() - } - if this.IsActivityStreamsTentativeAccept() { - return this.GetActivityStreamsTentativeAccept() - } - if this.IsActivityStreamsTentativeReject() { - return this.GetActivityStreamsTentativeReject() - } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } - if this.IsActivityStreamsTombstone() { - return this.GetActivityStreamsTombstone() - } - if this.IsActivityStreamsTravel() { - return this.GetActivityStreamsTravel() - } - if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo() - } - if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate() - } - if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo() - } - if this.IsActivityStreamsView() { - return this.GetActivityStreamsView() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedDescriptionProperty) HasAny() bool { - return this.IsActivityStreamsObject() || - this.IsActivityStreamsAccept() || - this.IsActivityStreamsActivity() || - this.IsActivityStreamsAdd() || - this.IsActivityStreamsAnnounce() || - this.IsActivityStreamsApplication() || - this.IsActivityStreamsArrive() || - this.IsActivityStreamsArticle() || - this.IsActivityStreamsAudio() || - this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || - this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || - this.IsActivityStreamsCreate() || - this.IsActivityStreamsDelete() || - this.IsActivityStreamsDislike() || - this.IsActivityStreamsDocument() || - this.IsTootEmoji() || - this.IsActivityStreamsEvent() || - this.IsActivityStreamsFlag() || - this.IsActivityStreamsFollow() || - this.IsActivityStreamsGroup() || - this.IsTootIdentityProof() || - this.IsActivityStreamsIgnore() || - this.IsActivityStreamsImage() || - this.IsActivityStreamsIntransitiveActivity() || - this.IsActivityStreamsInvite() || - this.IsActivityStreamsJoin() || - this.IsActivityStreamsLeave() || - this.IsActivityStreamsLike() || - this.IsActivityStreamsListen() || - this.IsActivityStreamsMove() || - this.IsActivityStreamsNote() || - this.IsActivityStreamsOffer() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.IsActivityStreamsOrganization() || - this.IsActivityStreamsPage() || - this.IsActivityStreamsPerson() || - this.IsActivityStreamsPlace() || - this.IsActivityStreamsProfile() || - this.IsSchemaPropertyValue() || - 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() || - this.IsActivityStreamsUpdate() || - this.IsActivityStreamsVideo() || - this.IsActivityStreamsView() || - this.iri != nil -} - -// IsActivityStreamsAccept returns true if this property has a type of "Accept". -// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsAccept() bool { - return this.activitystreamsAcceptMember != nil -} - -// IsActivityStreamsActivity returns true if this property has a type of -// "Activity". When true, use the GetActivityStreamsActivity and -// SetActivityStreamsActivity methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsActivity() bool { - return this.activitystreamsActivityMember != nil -} - -// IsActivityStreamsAdd returns true if this property has a type of "Add". When -// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsAdd() bool { - return this.activitystreamsAddMember != nil -} - -// IsActivityStreamsAnnounce returns true if this property has a type of -// "Announce". When true, use the GetActivityStreamsAnnounce and -// SetActivityStreamsAnnounce methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsAnnounce() bool { - return this.activitystreamsAnnounceMember != nil -} - -// IsActivityStreamsApplication returns true if this property has a type of -// "Application". When true, use the GetActivityStreamsApplication and -// SetActivityStreamsApplication methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsApplication() bool { - return this.activitystreamsApplicationMember != nil -} - -// IsActivityStreamsArrive returns true if this property has a type of "Arrive". -// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsArrive() bool { - return this.activitystreamsArriveMember != nil -} - -// IsActivityStreamsArticle returns true if this property has a type of "Article". -// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsArticle() bool { - return this.activitystreamsArticleMember != nil -} - -// IsActivityStreamsAudio returns true if this property has a type of "Audio". -// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsAudio() bool { - return this.activitystreamsAudioMember != nil -} - -// IsActivityStreamsBlock returns true if this property has a type of "Block". -// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsBlock() bool { - return this.activitystreamsBlockMember != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsCreate returns true if this property has a type of "Create". -// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsCreate() bool { - return this.activitystreamsCreateMember != nil -} - -// IsActivityStreamsDelete returns true if this property has a type of "Delete". -// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsDelete() bool { - return this.activitystreamsDeleteMember != nil -} - -// IsActivityStreamsDislike returns true if this property has a type of "Dislike". -// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsDislike() bool { - return this.activitystreamsDislikeMember != nil -} - -// IsActivityStreamsDocument returns true if this property has a type of -// "Document". When true, use the GetActivityStreamsDocument and -// SetActivityStreamsDocument methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsDocument() bool { - return this.activitystreamsDocumentMember != nil -} - -// IsActivityStreamsEvent returns true if this property has a type of "Event". -// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsEvent() bool { - return this.activitystreamsEventMember != nil -} - -// IsActivityStreamsFlag returns true if this property has a type of "Flag". When -// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsFlag() bool { - return this.activitystreamsFlagMember != nil -} - -// IsActivityStreamsFollow returns true if this property has a type of "Follow". -// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsFollow() bool { - return this.activitystreamsFollowMember != nil -} - -// IsActivityStreamsGroup returns true if this property has a type of "Group". -// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsGroup() bool { - return this.activitystreamsGroupMember != nil -} - -// IsActivityStreamsIgnore returns true if this property has a type of "Ignore". -// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsIgnore() bool { - return this.activitystreamsIgnoreMember != nil -} - -// IsActivityStreamsImage returns true if this property has a type of "Image". -// When true, use the GetActivityStreamsImage and SetActivityStreamsImage -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsImage() bool { - return this.activitystreamsImageMember != nil -} - -// IsActivityStreamsIntransitiveActivity returns true if this property has a type -// of "IntransitiveActivity". When true, use the -// GetActivityStreamsIntransitiveActivity and -// SetActivityStreamsIntransitiveActivity methods to access and set this -// property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsIntransitiveActivity() bool { - return this.activitystreamsIntransitiveActivityMember != nil -} - -// IsActivityStreamsInvite returns true if this property has a type of "Invite". -// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsInvite() bool { - return this.activitystreamsInviteMember != nil -} - -// IsActivityStreamsJoin returns true if this property has a type of "Join". When -// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsJoin() bool { - return this.activitystreamsJoinMember != nil -} - -// IsActivityStreamsLeave returns true if this property has a type of "Leave". -// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsLeave() bool { - return this.activitystreamsLeaveMember != nil -} - -// IsActivityStreamsLike returns true if this property has a type of "Like". When -// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsLike() bool { - return this.activitystreamsLikeMember != nil -} - -// IsActivityStreamsListen returns true if this property has a type of "Listen". -// When true, use the GetActivityStreamsListen and SetActivityStreamsListen -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsListen() bool { - return this.activitystreamsListenMember != nil -} - -// IsActivityStreamsMove returns true if this property has a type of "Move". When -// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsMove() bool { - return this.activitystreamsMoveMember != nil -} - -// IsActivityStreamsNote returns true if this property has a type of "Note". When -// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsNote() bool { - return this.activitystreamsNoteMember != nil -} - -// IsActivityStreamsObject returns true if this property has a type of "Object". -// When true, use the GetActivityStreamsObject and SetActivityStreamsObject -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsObject() bool { - return this.activitystreamsObjectMember != nil -} - -// IsActivityStreamsOffer returns true if this property has a type of "Offer". -// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsOffer() bool { - return this.activitystreamsOfferMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsActivityStreamsOrganization returns true if this property has a type of -// "Organization". When true, use the GetActivityStreamsOrganization and -// SetActivityStreamsOrganization methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsOrganization() bool { - return this.activitystreamsOrganizationMember != nil -} - -// IsActivityStreamsPage returns true if this property has a type of "Page". When -// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsPage() bool { - return this.activitystreamsPageMember != nil -} - -// IsActivityStreamsPerson returns true if this property has a type of "Person". -// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsActivityStreamsPlace returns true if this property has a type of "Place". -// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsPlace() bool { - return this.activitystreamsPlaceMember != nil -} - -// IsActivityStreamsProfile returns true if this property has a type of "Profile". -// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsProfile() bool { - return this.activitystreamsProfileMember != nil -} - -// IsActivityStreamsQuestion returns true if this property has a type of -// "Question". When true, use the GetActivityStreamsQuestion and -// SetActivityStreamsQuestion methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsQuestion() bool { - return this.activitystreamsQuestionMember != nil -} - -// IsActivityStreamsRead returns true if this property has a type of "Read". When -// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsRead() bool { - return this.activitystreamsReadMember != nil -} - -// IsActivityStreamsReject returns true if this property has a type of "Reject". -// When true, use the GetActivityStreamsReject and SetActivityStreamsReject -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsReject() bool { - return this.activitystreamsRejectMember != nil -} - -// IsActivityStreamsRelationship returns true if this property has a type of -// "Relationship". When true, use the GetActivityStreamsRelationship and -// SetActivityStreamsRelationship methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsRelationship() bool { - return this.activitystreamsRelationshipMember != nil -} - -// IsActivityStreamsRemove returns true if this property has a type of "Remove". -// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsRemove() bool { - return this.activitystreamsRemoveMember != nil -} - -// IsActivityStreamsService returns true if this property has a type of "Service". -// When true, use the GetActivityStreamsService and SetActivityStreamsService -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsService() bool { - return this.activitystreamsServiceMember != nil -} - -// IsActivityStreamsTentativeAccept returns true if this property has a type of -// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and -// SetActivityStreamsTentativeAccept methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsTentativeAccept() bool { - return this.activitystreamsTentativeAcceptMember != nil -} - -// IsActivityStreamsTentativeReject returns true if this property has a type of -// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and -// SetActivityStreamsTentativeReject methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsTentativeReject() bool { - return this.activitystreamsTentativeRejectMember != nil -} - -// IsActivityStreamsTombstone returns true if this property has a type of -// "Tombstone". When true, use the GetActivityStreamsTombstone and -// SetActivityStreamsTombstone methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsTombstone() bool { - return this.activitystreamsTombstoneMember != nil -} - -// IsActivityStreamsTravel returns true if this property has a type of "Travel". -// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsTravel() bool { - return this.activitystreamsTravelMember != nil -} - -// IsActivityStreamsUndo returns true if this property has a type of "Undo". When -// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsUndo() bool { - return this.activitystreamsUndoMember != nil -} - -// IsActivityStreamsUpdate returns true if this property has a type of "Update". -// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsUpdate() bool { - return this.activitystreamsUpdateMember != nil -} - -// IsActivityStreamsVideo returns true if this property has a type of "Video". -// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo -// methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsActivityStreamsVideo() bool { - return this.activitystreamsVideoMember != nil -} - -// IsActivityStreamsView returns true if this property has a type of "View". When -// true, use the GetActivityStreamsView and SetActivityStreamsView methods to -// access and set this property. -func (this ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) 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 ForgeFedDescriptionProperty) IsIRI() bool { - return this.iri != nil -} - -// IsSchemaPropertyValue returns true if this property has a type of -// "PropertyValue". When true, use the GetSchemaPropertyValue and -// SetSchemaPropertyValue methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsSchemaPropertyValue() bool { - return this.schemaPropertyValueMember != nil -} - -// IsTootEmoji returns true if this property has a type of "Emoji". When true, use -// the GetTootEmoji and SetTootEmoji methods to access and set this property. -func (this ForgeFedDescriptionProperty) IsTootEmoji() bool { - return this.tootEmojiMember != 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. -func (this ForgeFedDescriptionProperty) IsTootIdentityProof() bool { - return this.tootIdentityProofMember != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedDescriptionProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsObject() { - child = this.GetActivityStreamsObject().JSONLDContext() - } else if this.IsActivityStreamsAccept() { - child = this.GetActivityStreamsAccept().JSONLDContext() - } else if this.IsActivityStreamsActivity() { - child = this.GetActivityStreamsActivity().JSONLDContext() - } else if this.IsActivityStreamsAdd() { - child = this.GetActivityStreamsAdd().JSONLDContext() - } else if this.IsActivityStreamsAnnounce() { - child = this.GetActivityStreamsAnnounce().JSONLDContext() - } else if this.IsActivityStreamsApplication() { - child = this.GetActivityStreamsApplication().JSONLDContext() - } else if this.IsActivityStreamsArrive() { - child = this.GetActivityStreamsArrive().JSONLDContext() - } else if this.IsActivityStreamsArticle() { - child = this.GetActivityStreamsArticle().JSONLDContext() - } else if this.IsActivityStreamsAudio() { - 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() { - child = this.GetActivityStreamsDelete().JSONLDContext() - } else if this.IsActivityStreamsDislike() { - child = this.GetActivityStreamsDislike().JSONLDContext() - } else if this.IsActivityStreamsDocument() { - child = this.GetActivityStreamsDocument().JSONLDContext() - } else if this.IsTootEmoji() { - child = this.GetTootEmoji().JSONLDContext() - } else if this.IsActivityStreamsEvent() { - child = this.GetActivityStreamsEvent().JSONLDContext() - } else if this.IsActivityStreamsFlag() { - child = this.GetActivityStreamsFlag().JSONLDContext() - } else if this.IsActivityStreamsFollow() { - child = this.GetActivityStreamsFollow().JSONLDContext() - } else if this.IsActivityStreamsGroup() { - child = this.GetActivityStreamsGroup().JSONLDContext() - } else if this.IsTootIdentityProof() { - child = this.GetTootIdentityProof().JSONLDContext() - } else if this.IsActivityStreamsIgnore() { - child = this.GetActivityStreamsIgnore().JSONLDContext() - } else if this.IsActivityStreamsImage() { - child = this.GetActivityStreamsImage().JSONLDContext() - } else if this.IsActivityStreamsIntransitiveActivity() { - child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext() - } else if this.IsActivityStreamsInvite() { - child = this.GetActivityStreamsInvite().JSONLDContext() - } else if this.IsActivityStreamsJoin() { - child = this.GetActivityStreamsJoin().JSONLDContext() - } else if this.IsActivityStreamsLeave() { - child = this.GetActivityStreamsLeave().JSONLDContext() - } else if this.IsActivityStreamsLike() { - child = this.GetActivityStreamsLike().JSONLDContext() - } else if this.IsActivityStreamsListen() { - child = this.GetActivityStreamsListen().JSONLDContext() - } else if this.IsActivityStreamsMove() { - child = this.GetActivityStreamsMove().JSONLDContext() - } else if this.IsActivityStreamsNote() { - child = this.GetActivityStreamsNote().JSONLDContext() - } else if this.IsActivityStreamsOffer() { - child = this.GetActivityStreamsOffer().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrganization() { - child = this.GetActivityStreamsOrganization().JSONLDContext() - } else if this.IsActivityStreamsPage() { - child = this.GetActivityStreamsPage().JSONLDContext() - } else if this.IsActivityStreamsPerson() { - child = this.GetActivityStreamsPerson().JSONLDContext() - } else if this.IsActivityStreamsPlace() { - child = this.GetActivityStreamsPlace().JSONLDContext() - } else if this.IsActivityStreamsProfile() { - child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsSchemaPropertyValue() { - child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() - } else if this.IsActivityStreamsQuestion() { - child = this.GetActivityStreamsQuestion().JSONLDContext() - } else if this.IsActivityStreamsRead() { - child = this.GetActivityStreamsRead().JSONLDContext() - } else if this.IsActivityStreamsReject() { - child = this.GetActivityStreamsReject().JSONLDContext() - } else if this.IsActivityStreamsRelationship() { - 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() { - child = this.GetActivityStreamsTravel().JSONLDContext() - } else if this.IsActivityStreamsUndo() { - child = this.GetActivityStreamsUndo().JSONLDContext() - } else if this.IsActivityStreamsUpdate() { - child = this.GetActivityStreamsUpdate().JSONLDContext() - } else if this.IsActivityStreamsVideo() { - child = this.GetActivityStreamsVideo().JSONLDContext() - } else if this.IsActivityStreamsView() { - child = this.GetActivityStreamsView().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedDescriptionProperty) KindIndex() int { - if this.IsActivityStreamsObject() { - return 0 - } - if this.IsActivityStreamsAccept() { - return 1 - } - if this.IsActivityStreamsActivity() { - return 2 - } - if this.IsActivityStreamsAdd() { - return 3 - } - if this.IsActivityStreamsAnnounce() { - return 4 - } - if this.IsActivityStreamsApplication() { - return 5 - } - if this.IsActivityStreamsArrive() { - return 6 - } - if this.IsActivityStreamsArticle() { - return 7 - } - if this.IsActivityStreamsAudio() { - return 8 - } - if this.IsActivityStreamsBlock() { - return 9 - } - if this.IsForgeFedBranch() { - return 10 - } - if this.IsActivityStreamsCollection() { - return 11 - } - if this.IsActivityStreamsCollectionPage() { - return 12 - } - if this.IsForgeFedCommit() { - return 13 - } - if this.IsActivityStreamsCreate() { - return 14 - } - if this.IsActivityStreamsDelete() { - return 15 - } - if this.IsActivityStreamsDislike() { - return 16 - } - if this.IsActivityStreamsDocument() { - return 17 - } - if this.IsTootEmoji() { - return 18 - } - if this.IsActivityStreamsEvent() { - return 19 - } - if this.IsActivityStreamsFlag() { - return 20 - } - if this.IsActivityStreamsFollow() { - return 21 - } - if this.IsActivityStreamsGroup() { - return 22 - } - if this.IsTootIdentityProof() { - return 23 - } - if this.IsActivityStreamsIgnore() { - return 24 - } - if this.IsActivityStreamsImage() { - return 25 - } - if this.IsActivityStreamsIntransitiveActivity() { - return 26 - } - if this.IsActivityStreamsInvite() { - return 27 - } - if this.IsActivityStreamsJoin() { - return 28 - } - if this.IsActivityStreamsLeave() { - return 29 - } - if this.IsActivityStreamsLike() { - return 30 - } - if this.IsActivityStreamsListen() { - return 31 - } - if this.IsActivityStreamsMove() { - return 32 - } - if this.IsActivityStreamsNote() { - return 33 - } - if this.IsActivityStreamsOffer() { - return 34 - } - if this.IsActivityStreamsOrderedCollection() { - return 35 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 36 - } - if this.IsActivityStreamsOrganization() { - return 37 - } - if this.IsActivityStreamsPage() { - return 38 - } - if this.IsActivityStreamsPerson() { - return 39 - } - if this.IsActivityStreamsPlace() { - return 40 - } - if this.IsActivityStreamsProfile() { - return 41 - } - if this.IsSchemaPropertyValue() { - return 42 - } - if this.IsForgeFedPush() { - return 43 - } - if this.IsActivityStreamsQuestion() { - return 44 - } - if this.IsActivityStreamsRead() { - return 45 - } - if this.IsActivityStreamsReject() { - return 46 - } - if this.IsActivityStreamsRelationship() { - return 47 - } - if this.IsActivityStreamsRemove() { - return 48 - } - if this.IsForgeFedRepository() { - return 49 - } - if this.IsActivityStreamsService() { - return 50 - } - if this.IsActivityStreamsTentativeAccept() { - return 51 - } - if this.IsActivityStreamsTentativeReject() { - return 52 - } - if this.IsForgeFedTicket() { - return 53 - } - if this.IsForgeFedTicketDependency() { - 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 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedDescriptionProperty) LessThan(o vocab.ForgeFedDescriptionProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject()) - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept()) - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity()) - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd()) - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive()) - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle()) - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete()) - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike()) - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument()) - } else if this.IsTootEmoji() { - return this.GetTootEmoji().LessThan(o.GetTootEmoji()) - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent()) - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag()) - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore()) - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity()) - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite()) - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin()) - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave()) - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove()) - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote()) - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization()) - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage()) - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson()) - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead()) - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject()) - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel()) - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo()) - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate()) - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo()) - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "description". -func (this ForgeFedDescriptionProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "description" - } else { - return "description" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedDescriptionProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().Serialize() - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().Serialize() - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().Serialize() - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().Serialize() - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().Serialize() - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().Serialize() - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().Serialize() - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().Serialize() - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().Serialize() - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().Serialize() - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().Serialize() - } else if this.IsTootEmoji() { - return this.GetTootEmoji().Serialize() - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().Serialize() - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().Serialize() - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().Serialize() - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().Serialize() - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().Serialize() - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().Serialize() - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().Serialize() - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().Serialize() - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().Serialize() - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().Serialize() - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().Serialize() - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().Serialize() - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().Serialize() - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().Serialize() - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().Serialize() - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().Serialize() - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().Serialize() - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().Serialize() - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().Serialize() - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().Serialize() - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().Serialize() - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().Serialize() - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().Serialize() - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().Serialize() - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().Serialize() - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().Serialize() - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().Serialize() - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsAccept sets the value of this property. Calling -// IsActivityStreamsAccept afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.Clear() - this.activitystreamsAcceptMember = v -} - -// SetActivityStreamsActivity sets the value of this property. Calling -// IsActivityStreamsActivity afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.Clear() - this.activitystreamsActivityMember = v -} - -// SetActivityStreamsAdd sets the value of this property. Calling -// IsActivityStreamsAdd afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.Clear() - this.activitystreamsAddMember = v -} - -// SetActivityStreamsAnnounce sets the value of this property. Calling -// IsActivityStreamsAnnounce afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.Clear() - this.activitystreamsAnnounceMember = v -} - -// SetActivityStreamsApplication sets the value of this property. Calling -// IsActivityStreamsApplication afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.Clear() - this.activitystreamsApplicationMember = v -} - -// SetActivityStreamsArrive sets the value of this property. Calling -// IsActivityStreamsArrive afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.Clear() - this.activitystreamsArriveMember = v -} - -// SetActivityStreamsArticle sets the value of this property. Calling -// IsActivityStreamsArticle afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.Clear() - this.activitystreamsArticleMember = v -} - -// SetActivityStreamsAudio sets the value of this property. Calling -// IsActivityStreamsAudio afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.Clear() - this.activitystreamsAudioMember = v -} - -// SetActivityStreamsBlock sets the value of this property. Calling -// IsActivityStreamsBlock afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.Clear() - this.activitystreamsBlockMember = v -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.Clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.Clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsCreate sets the value of this property. Calling -// IsActivityStreamsCreate afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.Clear() - this.activitystreamsCreateMember = v -} - -// SetActivityStreamsDelete sets the value of this property. Calling -// IsActivityStreamsDelete afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.Clear() - this.activitystreamsDeleteMember = v -} - -// SetActivityStreamsDislike sets the value of this property. Calling -// IsActivityStreamsDislike afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.Clear() - this.activitystreamsDislikeMember = v -} - -// SetActivityStreamsDocument sets the value of this property. Calling -// IsActivityStreamsDocument afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.Clear() - this.activitystreamsDocumentMember = v -} - -// SetActivityStreamsEvent sets the value of this property. Calling -// IsActivityStreamsEvent afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.Clear() - this.activitystreamsEventMember = v -} - -// SetActivityStreamsFlag sets the value of this property. Calling -// IsActivityStreamsFlag afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.Clear() - this.activitystreamsFlagMember = v -} - -// SetActivityStreamsFollow sets the value of this property. Calling -// IsActivityStreamsFollow afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.Clear() - this.activitystreamsFollowMember = v -} - -// SetActivityStreamsGroup sets the value of this property. Calling -// IsActivityStreamsGroup afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.Clear() - this.activitystreamsGroupMember = v -} - -// SetActivityStreamsIgnore sets the value of this property. Calling -// IsActivityStreamsIgnore afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.Clear() - this.activitystreamsIgnoreMember = v -} - -// SetActivityStreamsImage sets the value of this property. Calling -// IsActivityStreamsImage afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.Clear() - this.activitystreamsImageMember = v -} - -// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling -// IsActivityStreamsIntransitiveActivity afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.Clear() - this.activitystreamsIntransitiveActivityMember = v -} - -// SetActivityStreamsInvite sets the value of this property. Calling -// IsActivityStreamsInvite afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.Clear() - this.activitystreamsInviteMember = v -} - -// SetActivityStreamsJoin sets the value of this property. Calling -// IsActivityStreamsJoin afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.Clear() - this.activitystreamsJoinMember = v -} - -// SetActivityStreamsLeave sets the value of this property. Calling -// IsActivityStreamsLeave afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.Clear() - this.activitystreamsLeaveMember = v -} - -// SetActivityStreamsLike sets the value of this property. Calling -// IsActivityStreamsLike afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.Clear() - this.activitystreamsLikeMember = v -} - -// SetActivityStreamsListen sets the value of this property. Calling -// IsActivityStreamsListen afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.Clear() - this.activitystreamsListenMember = v -} - -// SetActivityStreamsMove sets the value of this property. Calling -// IsActivityStreamsMove afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.Clear() - this.activitystreamsMoveMember = v -} - -// SetActivityStreamsNote sets the value of this property. Calling -// IsActivityStreamsNote afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.Clear() - this.activitystreamsNoteMember = v -} - -// SetActivityStreamsObject sets the value of this property. Calling -// IsActivityStreamsObject afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.Clear() - this.activitystreamsObjectMember = v -} - -// SetActivityStreamsOffer sets the value of this property. Calling -// IsActivityStreamsOffer afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.Clear() - this.activitystreamsOfferMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetActivityStreamsOrganization sets the value of this property. Calling -// IsActivityStreamsOrganization afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.Clear() - this.activitystreamsOrganizationMember = v -} - -// SetActivityStreamsPage sets the value of this property. Calling -// IsActivityStreamsPage afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.Clear() - this.activitystreamsPageMember = v -} - -// SetActivityStreamsPerson sets the value of this property. Calling -// IsActivityStreamsPerson afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.Clear() - this.activitystreamsPersonMember = v -} - -// SetActivityStreamsPlace sets the value of this property. Calling -// IsActivityStreamsPlace afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.Clear() - this.activitystreamsPlaceMember = v -} - -// SetActivityStreamsProfile sets the value of this property. Calling -// IsActivityStreamsProfile afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.Clear() - this.activitystreamsProfileMember = v -} - -// SetActivityStreamsQuestion sets the value of this property. Calling -// IsActivityStreamsQuestion afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.Clear() - this.activitystreamsQuestionMember = v -} - -// SetActivityStreamsRead sets the value of this property. Calling -// IsActivityStreamsRead afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.Clear() - this.activitystreamsReadMember = v -} - -// SetActivityStreamsReject sets the value of this property. Calling -// IsActivityStreamsReject afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.Clear() - this.activitystreamsRejectMember = v -} - -// SetActivityStreamsRelationship sets the value of this property. Calling -// IsActivityStreamsRelationship afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.Clear() - this.activitystreamsRelationshipMember = v -} - -// SetActivityStreamsRemove sets the value of this property. Calling -// IsActivityStreamsRemove afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.Clear() - this.activitystreamsRemoveMember = v -} - -// SetActivityStreamsService sets the value of this property. Calling -// IsActivityStreamsService afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsService(v vocab.ActivityStreamsService) { - this.Clear() - this.activitystreamsServiceMember = v -} - -// SetActivityStreamsTentativeAccept sets the value of this property. Calling -// IsActivityStreamsTentativeAccept afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.Clear() - this.activitystreamsTentativeAcceptMember = v -} - -// SetActivityStreamsTentativeReject sets the value of this property. Calling -// IsActivityStreamsTentativeReject afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.Clear() - this.activitystreamsTentativeRejectMember = v -} - -// SetActivityStreamsTombstone sets the value of this property. Calling -// IsActivityStreamsTombstone afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.Clear() - this.activitystreamsTombstoneMember = v -} - -// SetActivityStreamsTravel sets the value of this property. Calling -// IsActivityStreamsTravel afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.Clear() - this.activitystreamsTravelMember = v -} - -// SetActivityStreamsUndo sets the value of this property. Calling -// IsActivityStreamsUndo afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.Clear() - this.activitystreamsUndoMember = v -} - -// SetActivityStreamsUpdate sets the value of this property. Calling -// IsActivityStreamsUpdate afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.Clear() - this.activitystreamsUpdateMember = v -} - -// SetActivityStreamsVideo sets the value of this property. Calling -// IsActivityStreamsVideo afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.Clear() - this.activitystreamsVideoMember = v -} - -// SetActivityStreamsView sets the value of this property. Calling -// IsActivityStreamsView afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetActivityStreamsView(v vocab.ActivityStreamsView) { - this.Clear() - this.activitystreamsViewMember = v -} - -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetSchemaPropertyValue sets the value of this property. Calling -// IsSchemaPropertyValue afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.Clear() - this.schemaPropertyValueMember = v -} - -// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards -// returns true. -func (this *ForgeFedDescriptionProperty) SetTootEmoji(v vocab.TootEmoji) { - this.Clear() - this.tootEmojiMember = v -} - -// SetTootIdentityProof sets the value of this property. Calling -// IsTootIdentityProof afterwards returns true. -func (this *ForgeFedDescriptionProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { - this.Clear() - this.tootIdentityProofMember = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedDescriptionProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsObject); ok { - this.SetActivityStreamsObject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAccept); ok { - this.SetActivityStreamsAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsActivity); ok { - this.SetActivityStreamsActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAdd); ok { - this.SetActivityStreamsAdd(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAnnounce); ok { - this.SetActivityStreamsAnnounce(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsApplication); ok { - this.SetActivityStreamsApplication(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArrive); ok { - this.SetActivityStreamsArrive(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArticle); ok { - this.SetActivityStreamsArticle(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAudio); ok { - this.SetActivityStreamsAudio(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsBlock); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsDelete); ok { - this.SetActivityStreamsDelete(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDislike); ok { - this.SetActivityStreamsDislike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDocument); ok { - this.SetActivityStreamsDocument(v) - return nil - } - if v, ok := t.(vocab.TootEmoji); ok { - this.SetTootEmoji(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsEvent); ok { - this.SetActivityStreamsEvent(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFlag); ok { - this.SetActivityStreamsFlag(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFollow); ok { - this.SetActivityStreamsFollow(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsGroup); ok { - this.SetActivityStreamsGroup(v) - return nil - } - if v, ok := t.(vocab.TootIdentityProof); ok { - this.SetTootIdentityProof(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIgnore); ok { - this.SetActivityStreamsIgnore(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsImage); ok { - this.SetActivityStreamsImage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok { - this.SetActivityStreamsIntransitiveActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsInvite); ok { - this.SetActivityStreamsInvite(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsJoin); ok { - this.SetActivityStreamsJoin(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLeave); ok { - this.SetActivityStreamsLeave(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLike); ok { - this.SetActivityStreamsLike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsListen); ok { - this.SetActivityStreamsListen(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMove); ok { - this.SetActivityStreamsMove(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsNote); ok { - this.SetActivityStreamsNote(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOffer); ok { - this.SetActivityStreamsOffer(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrganization); ok { - this.SetActivityStreamsOrganization(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPage); ok { - this.SetActivityStreamsPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.SetActivityStreamsPerson(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPlace); ok { - this.SetActivityStreamsPlace(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsProfile); ok { - this.SetActivityStreamsProfile(v) - return nil - } - if v, ok := t.(vocab.SchemaPropertyValue); ok { - this.SetSchemaPropertyValue(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 - } - if v, ok := t.(vocab.ActivityStreamsRead); ok { - this.SetActivityStreamsRead(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsReject); ok { - this.SetActivityStreamsReject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRelationship); ok { - this.SetActivityStreamsRelationship(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRemove); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok { - this.SetActivityStreamsTentativeAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTravel); ok { - this.SetActivityStreamsTravel(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUndo); ok { - this.SetActivityStreamsUndo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUpdate); ok { - this.SetActivityStreamsUpdate(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsVideo); ok { - this.SetActivityStreamsVideo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsView); ok { - this.SetActivityStreamsView(v) - return nil - } - - return fmt.Errorf("illegal type to set on description property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_doc.go deleted file mode 100644 index 54df4ed1b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyearlyitems contains the implementation for the earlyItems -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyearlyitems diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_pkg.go deleted file mode 100644 index 12c21b0d6..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_pkg.go +++ /dev/null @@ -1,269 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyearlyitems - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAcceptActivityStreams returns the deserialization method for - // the "ActivityStreamsAccept" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) - // DeserializeActivityActivityStreams returns the deserialization method - // for the "ActivityStreamsActivity" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) - // DeserializeAddActivityStreams returns the deserialization method for - // the "ActivityStreamsAdd" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) - // DeserializeAnnounceActivityStreams returns the deserialization method - // for the "ActivityStreamsAnnounce" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) - // DeserializeApplicationActivityStreams returns the deserialization - // method for the "ActivityStreamsApplication" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) - // DeserializeArriveActivityStreams returns the deserialization method for - // the "ActivityStreamsArrive" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) - // DeserializeArticleActivityStreams returns the deserialization method - // for the "ActivityStreamsArticle" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) - // DeserializeAudioActivityStreams returns the deserialization method for - // the "ActivityStreamsAudio" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) - // DeserializeBlockActivityStreams returns the deserialization method for - // 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" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // 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" - DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) - // DeserializeDeleteActivityStreams returns the deserialization method for - // the "ActivityStreamsDelete" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) - // DeserializeDislikeActivityStreams returns the deserialization method - // for the "ActivityStreamsDislike" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) - // DeserializeDocumentActivityStreams returns the deserialization method - // for the "ActivityStreamsDocument" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) - // DeserializeEmojiToot returns the deserialization method for the - // "TootEmoji" non-functional property in the vocabulary "Toot" - DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) - // DeserializeEventActivityStreams returns the deserialization method for - // the "ActivityStreamsEvent" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) - // DeserializeFlagActivityStreams returns the deserialization method for - // the "ActivityStreamsFlag" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) - // DeserializeFollowActivityStreams returns the deserialization method for - // the "ActivityStreamsFollow" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) - // DeserializeGroupActivityStreams returns the deserialization method for - // the "ActivityStreamsGroup" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, 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) - // DeserializeIgnoreActivityStreams returns the deserialization method for - // the "ActivityStreamsIgnore" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) - // DeserializeImageActivityStreams returns the deserialization method for - // the "ActivityStreamsImage" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) - // DeserializeIntransitiveActivityActivityStreams returns the - // deserialization method for the - // "ActivityStreamsIntransitiveActivity" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) - // DeserializeInviteActivityStreams returns the deserialization method for - // the "ActivityStreamsInvite" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) - // DeserializeJoinActivityStreams returns the deserialization method for - // the "ActivityStreamsJoin" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) - // DeserializeLeaveActivityStreams returns the deserialization method for - // the "ActivityStreamsLeave" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) - // DeserializeLikeActivityStreams returns the deserialization method for - // the "ActivityStreamsLike" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) - // DeserializeLinkActivityStreams returns the deserialization method for - // the "ActivityStreamsLink" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLinkActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLink, error) - // DeserializeListenActivityStreams returns the deserialization method for - // the "ActivityStreamsListen" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) - // DeserializeMentionActivityStreams returns the deserialization method - // for the "ActivityStreamsMention" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeMentionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMention, error) - // DeserializeMoveActivityStreams returns the deserialization method for - // the "ActivityStreamsMove" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) - // DeserializeNoteActivityStreams returns the deserialization method for - // the "ActivityStreamsNote" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) - // DeserializeObjectActivityStreams returns the deserialization method for - // the "ActivityStreamsObject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) - // DeserializeOfferActivityStreams returns the deserialization method for - // the "ActivityStreamsOffer" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) - // DeserializeOrganizationActivityStreams returns the deserialization - // method for the "ActivityStreamsOrganization" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) - // DeserializePageActivityStreams returns the deserialization method for - // the "ActivityStreamsPage" non-functional property in the vocabulary - // "ActivityStreams" - DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) - // DeserializePlaceActivityStreams returns the deserialization method for - // the "ActivityStreamsPlace" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) - // DeserializeProfileActivityStreams returns the deserialization method - // for the "ActivityStreamsProfile" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePropertyValueSchema returns the deserialization method for - // the "SchemaPropertyValue" non-functional property in the vocabulary - // "Schema" - DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" - DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) - // DeserializeReadActivityStreams returns the deserialization method for - // the "ActivityStreamsRead" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) - // DeserializeRejectActivityStreams returns the deserialization method for - // the "ActivityStreamsReject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) - // DeserializeRelationshipActivityStreams returns the deserialization - // method for the "ActivityStreamsRelationship" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) - // DeserializeRemoveActivityStreams returns the deserialization method for - // 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" - DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) - // DeserializeTentativeAcceptActivityStreams returns the deserialization - // method for the "ActivityStreamsTentativeAccept" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) - // DeserializeTentativeRejectActivityStreams returns the deserialization - // 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" - DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) - // DeserializeTravelActivityStreams returns the deserialization method for - // the "ActivityStreamsTravel" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) - // DeserializeUndoActivityStreams returns the deserialization method for - // the "ActivityStreamsUndo" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) - // DeserializeUpdateActivityStreams returns the deserialization method for - // the "ActivityStreamsUpdate" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) - // DeserializeVideoActivityStreams returns the deserialization method for - // the "ActivityStreamsVideo" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) - // DeserializeViewActivityStreams returns the deserialization method for - // the "ActivityStreamsView" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_property_forgefed_earlyItems.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_property_forgefed_earlyItems.go deleted file mode 100644 index 67182a988..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems/gen_property_forgefed_earlyItems.go +++ /dev/null @@ -1,7152 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyearlyitems - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedEarlyItemsPropertyIterator is an iterator for a property. It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedEarlyItemsPropertyIterator struct { - activitystreamsObjectMember vocab.ActivityStreamsObject - activitystreamsLinkMember vocab.ActivityStreamsLink - activitystreamsAcceptMember vocab.ActivityStreamsAccept - activitystreamsActivityMember vocab.ActivityStreamsActivity - activitystreamsAddMember vocab.ActivityStreamsAdd - activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce - activitystreamsApplicationMember vocab.ActivityStreamsApplication - activitystreamsArriveMember vocab.ActivityStreamsArrive - 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 - activitystreamsDocumentMember vocab.ActivityStreamsDocument - tootEmojiMember vocab.TootEmoji - activitystreamsEventMember vocab.ActivityStreamsEvent - activitystreamsFlagMember vocab.ActivityStreamsFlag - activitystreamsFollowMember vocab.ActivityStreamsFollow - activitystreamsGroupMember vocab.ActivityStreamsGroup - tootIdentityProofMember vocab.TootIdentityProof - activitystreamsIgnoreMember vocab.ActivityStreamsIgnore - activitystreamsImageMember vocab.ActivityStreamsImage - activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity - activitystreamsInviteMember vocab.ActivityStreamsInvite - activitystreamsJoinMember vocab.ActivityStreamsJoin - activitystreamsLeaveMember vocab.ActivityStreamsLeave - activitystreamsLikeMember vocab.ActivityStreamsLike - activitystreamsListenMember vocab.ActivityStreamsListen - activitystreamsMentionMember vocab.ActivityStreamsMention - activitystreamsMoveMember vocab.ActivityStreamsMove - activitystreamsNoteMember vocab.ActivityStreamsNote - activitystreamsOfferMember vocab.ActivityStreamsOffer - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - activitystreamsOrganizationMember vocab.ActivityStreamsOrganization - activitystreamsPageMember vocab.ActivityStreamsPage - activitystreamsPersonMember vocab.ActivityStreamsPerson - activitystreamsPlaceMember vocab.ActivityStreamsPlace - activitystreamsProfileMember vocab.ActivityStreamsProfile - schemaPropertyValueMember vocab.SchemaPropertyValue - 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 - activitystreamsUpdateMember vocab.ActivityStreamsUpdate - activitystreamsVideoMember vocab.ActivityStreamsVideo - activitystreamsViewMember vocab.ActivityStreamsView - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedEarlyItemsProperty -} - -// NewForgeFedEarlyItemsPropertyIterator creates a new ForgeFedEarlyItems property. -func NewForgeFedEarlyItemsPropertyIterator() *ForgeFedEarlyItemsPropertyIterator { - return &ForgeFedEarlyItemsPropertyIterator{alias: ""} -} - -// deserializeForgeFedEarlyItemsPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedEarlyItemsPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedEarlyItemsPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsObjectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLinkActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLinkMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAddMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsApplicationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArriveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArticleMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAudioMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsBlockMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCreateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDeleteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDislikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDocumentMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - tootEmojiMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsEventMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFlagMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFollowMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsGroupMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - tootIdentityProofMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsImageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsInviteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsJoinMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLeaveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsListenMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMentionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMentionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsNoteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOfferMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPlaceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsProfileMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePropertyValueSchema()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - schemaPropertyValueMember: v, - } - return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsQuestionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsReadMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRemoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsServiceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTravelMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUndoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUpdateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsVideoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsViewMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedEarlyItemsPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// GetActivityStreamsAccept returns the value of this property. When -// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsAccept() vocab.ActivityStreamsAccept { - return this.activitystreamsAcceptMember -} - -// GetActivityStreamsActivity returns the value of this property. When -// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsActivity() vocab.ActivityStreamsActivity { - return this.activitystreamsActivityMember -} - -// GetActivityStreamsAdd returns the value of this property. When -// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsAdd() vocab.ActivityStreamsAdd { - return this.activitystreamsAddMember -} - -// GetActivityStreamsAnnounce returns the value of this property. When -// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce { - return this.activitystreamsAnnounceMember -} - -// GetActivityStreamsApplication returns the value of this property. When -// IsActivityStreamsApplication returns false, GetActivityStreamsApplication -// will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsApplication() vocab.ActivityStreamsApplication { - return this.activitystreamsApplicationMember -} - -// GetActivityStreamsArrive returns the value of this property. When -// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsArrive() vocab.ActivityStreamsArrive { - return this.activitystreamsArriveMember -} - -// GetActivityStreamsArticle returns the value of this property. When -// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsArticle() vocab.ActivityStreamsArticle { - return this.activitystreamsArticleMember -} - -// GetActivityStreamsAudio returns the value of this property. When -// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsAudio() vocab.ActivityStreamsAudio { - return this.activitystreamsAudioMember -} - -// GetActivityStreamsBlock returns the value of this property. When -// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsBlock() vocab.ActivityStreamsBlock { - return this.activitystreamsBlockMember -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsCreate returns the value of this property. When -// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsCreate() vocab.ActivityStreamsCreate { - return this.activitystreamsCreateMember -} - -// GetActivityStreamsDelete returns the value of this property. When -// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsDelete() vocab.ActivityStreamsDelete { - return this.activitystreamsDeleteMember -} - -// GetActivityStreamsDislike returns the value of this property. When -// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsDislike() vocab.ActivityStreamsDislike { - return this.activitystreamsDislikeMember -} - -// GetActivityStreamsDocument returns the value of this property. When -// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsDocument() vocab.ActivityStreamsDocument { - return this.activitystreamsDocumentMember -} - -// GetActivityStreamsEvent returns the value of this property. When -// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsEvent() vocab.ActivityStreamsEvent { - return this.activitystreamsEventMember -} - -// GetActivityStreamsFlag returns the value of this property. When -// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsFlag() vocab.ActivityStreamsFlag { - return this.activitystreamsFlagMember -} - -// GetActivityStreamsFollow returns the value of this property. When -// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsFollow() vocab.ActivityStreamsFollow { - return this.activitystreamsFollowMember -} - -// GetActivityStreamsGroup returns the value of this property. When -// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsGroup() vocab.ActivityStreamsGroup { - return this.activitystreamsGroupMember -} - -// GetActivityStreamsIgnore returns the value of this property. When -// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore { - return this.activitystreamsIgnoreMember -} - -// GetActivityStreamsImage returns the value of this property. When -// IsActivityStreamsImage returns false, GetActivityStreamsImage will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsImage() vocab.ActivityStreamsImage { - return this.activitystreamsImageMember -} - -// GetActivityStreamsIntransitiveActivity returns the value of this property. When -// IsActivityStreamsIntransitiveActivity returns false, -// GetActivityStreamsIntransitiveActivity will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity { - return this.activitystreamsIntransitiveActivityMember -} - -// GetActivityStreamsInvite returns the value of this property. When -// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsInvite() vocab.ActivityStreamsInvite { - return this.activitystreamsInviteMember -} - -// GetActivityStreamsJoin returns the value of this property. When -// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsJoin() vocab.ActivityStreamsJoin { - return this.activitystreamsJoinMember -} - -// GetActivityStreamsLeave returns the value of this property. When -// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsLeave() vocab.ActivityStreamsLeave { - return this.activitystreamsLeaveMember -} - -// GetActivityStreamsLike returns the value of this property. When -// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsLike() vocab.ActivityStreamsLike { - return this.activitystreamsLikeMember -} - -// GetActivityStreamsLink returns the value of this property. When -// IsActivityStreamsLink returns false, GetActivityStreamsLink will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsLink() vocab.ActivityStreamsLink { - return this.activitystreamsLinkMember -} - -// GetActivityStreamsListen returns the value of this property. When -// IsActivityStreamsListen returns false, GetActivityStreamsListen will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsListen() vocab.ActivityStreamsListen { - return this.activitystreamsListenMember -} - -// GetActivityStreamsMention returns the value of this property. When -// IsActivityStreamsMention returns false, GetActivityStreamsMention will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsMention() vocab.ActivityStreamsMention { - return this.activitystreamsMentionMember -} - -// GetActivityStreamsMove returns the value of this property. When -// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsMove() vocab.ActivityStreamsMove { - return this.activitystreamsMoveMember -} - -// GetActivityStreamsNote returns the value of this property. When -// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsNote() vocab.ActivityStreamsNote { - return this.activitystreamsNoteMember -} - -// GetActivityStreamsObject returns the value of this property. When -// IsActivityStreamsObject returns false, GetActivityStreamsObject will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsObject() vocab.ActivityStreamsObject { - return this.activitystreamsObjectMember -} - -// GetActivityStreamsOffer returns the value of this property. When -// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsOffer() vocab.ActivityStreamsOffer { - return this.activitystreamsOfferMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetActivityStreamsOrganization returns the value of this property. When -// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization -// will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization { - return this.activitystreamsOrganizationMember -} - -// GetActivityStreamsPage returns the value of this property. When -// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsPage() vocab.ActivityStreamsPage { - return this.activitystreamsPageMember -} - -// GetActivityStreamsPerson returns the value of this property. When -// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsPerson() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetActivityStreamsPlace returns the value of this property. When -// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsPlace() vocab.ActivityStreamsPlace { - return this.activitystreamsPlaceMember -} - -// GetActivityStreamsProfile returns the value of this property. When -// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsProfile() vocab.ActivityStreamsProfile { - return this.activitystreamsProfileMember -} - -// GetActivityStreamsQuestion returns the value of this property. When -// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion { - return this.activitystreamsQuestionMember -} - -// GetActivityStreamsRead returns the value of this property. When -// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsRead() vocab.ActivityStreamsRead { - return this.activitystreamsReadMember -} - -// GetActivityStreamsReject returns the value of this property. When -// IsActivityStreamsReject returns false, GetActivityStreamsReject will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsReject() vocab.ActivityStreamsReject { - return this.activitystreamsRejectMember -} - -// GetActivityStreamsRelationship returns the value of this property. When -// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship -// will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship { - return this.activitystreamsRelationshipMember -} - -// GetActivityStreamsRemove returns the value of this property. When -// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsRemove() vocab.ActivityStreamsRemove { - return this.activitystreamsRemoveMember -} - -// GetActivityStreamsService returns the value of this property. When -// IsActivityStreamsService returns false, GetActivityStreamsService will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsService() vocab.ActivityStreamsService { - return this.activitystreamsServiceMember -} - -// GetActivityStreamsTentativeAccept returns the value of this property. When -// IsActivityStreamsTentativeAccept returns false, -// GetActivityStreamsTentativeAccept will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept { - return this.activitystreamsTentativeAcceptMember -} - -// GetActivityStreamsTentativeReject returns the value of this property. When -// IsActivityStreamsTentativeReject returns false, -// GetActivityStreamsTentativeReject will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject { - return this.activitystreamsTentativeRejectMember -} - -// GetActivityStreamsTombstone returns the value of this property. When -// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will -// return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone { - return this.activitystreamsTombstoneMember -} - -// GetActivityStreamsTravel returns the value of this property. When -// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsTravel() vocab.ActivityStreamsTravel { - return this.activitystreamsTravelMember -} - -// GetActivityStreamsUndo returns the value of this property. When -// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsUndo() vocab.ActivityStreamsUndo { - return this.activitystreamsUndoMember -} - -// GetActivityStreamsUpdate returns the value of this property. When -// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate { - return this.activitystreamsUpdateMember -} - -// GetActivityStreamsVideo returns the value of this property. When -// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return -// an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsVideo() vocab.ActivityStreamsVideo { - return this.activitystreamsVideoMember -} - -// GetActivityStreamsView returns the value of this property. When -// IsActivityStreamsView returns false, GetActivityStreamsView will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetActivityStreamsView() vocab.ActivityStreamsView { - return this.activitystreamsViewMember -} - -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// GetSchemaPropertyValue returns the value of this property. When -// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetSchemaPropertyValue() vocab.SchemaPropertyValue { - return this.schemaPropertyValueMember -} - -// GetTootEmoji returns the value of this property. When IsTootEmoji returns -// false, GetTootEmoji will return an arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetTootEmoji() vocab.TootEmoji { - return this.tootEmojiMember -} - -// GetTootIdentityProof returns the value of this property. When -// IsTootIdentityProof returns false, GetTootIdentityProof will return an -// arbitrary value. -func (this ForgeFedEarlyItemsPropertyIterator) GetTootIdentityProof() vocab.TootIdentityProof { - return this.tootIdentityProofMember -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedEarlyItemsPropertyIterator) GetType() vocab.Type { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject() - } - if this.IsActivityStreamsLink() { - return this.GetActivityStreamsLink() - } - if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept() - } - if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity() - } - if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd() - } - if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce() - } - if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication() - } - if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive() - } - if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle() - } - if this.IsActivityStreamsAudio() { - return this.GetActivityStreamsAudio() - } - 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() - } - if this.IsActivityStreamsDelete() { - return this.GetActivityStreamsDelete() - } - if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike() - } - if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument() - } - if this.IsTootEmoji() { - return this.GetTootEmoji() - } - if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent() - } - if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag() - } - if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow() - } - if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup() - } - if this.IsTootIdentityProof() { - return this.GetTootIdentityProof() - } - if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore() - } - if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage() - } - if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity() - } - if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite() - } - if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin() - } - if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave() - } - if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike() - } - if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen() - } - if this.IsActivityStreamsMention() { - return this.GetActivityStreamsMention() - } - if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove() - } - if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote() - } - if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization() - } - if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage() - } - if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson() - } - if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace() - } - if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile() - } - if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue() - } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } - if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion() - } - if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead() - } - if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject() - } - if this.IsActivityStreamsRelationship() { - return this.GetActivityStreamsRelationship() - } - if this.IsActivityStreamsRemove() { - return this.GetActivityStreamsRemove() - } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } - if this.IsActivityStreamsService() { - return this.GetActivityStreamsService() - } - if this.IsActivityStreamsTentativeAccept() { - return this.GetActivityStreamsTentativeAccept() - } - if this.IsActivityStreamsTentativeReject() { - return this.GetActivityStreamsTentativeReject() - } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } - if this.IsActivityStreamsTombstone() { - return this.GetActivityStreamsTombstone() - } - if this.IsActivityStreamsTravel() { - return this.GetActivityStreamsTravel() - } - if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo() - } - if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate() - } - if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo() - } - if this.IsActivityStreamsView() { - return this.GetActivityStreamsView() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedEarlyItemsPropertyIterator) HasAny() bool { - return this.IsActivityStreamsObject() || - this.IsActivityStreamsLink() || - this.IsActivityStreamsAccept() || - this.IsActivityStreamsActivity() || - this.IsActivityStreamsAdd() || - this.IsActivityStreamsAnnounce() || - this.IsActivityStreamsApplication() || - this.IsActivityStreamsArrive() || - this.IsActivityStreamsArticle() || - this.IsActivityStreamsAudio() || - this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || - this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || - this.IsActivityStreamsCreate() || - this.IsActivityStreamsDelete() || - this.IsActivityStreamsDislike() || - this.IsActivityStreamsDocument() || - this.IsTootEmoji() || - this.IsActivityStreamsEvent() || - this.IsActivityStreamsFlag() || - this.IsActivityStreamsFollow() || - this.IsActivityStreamsGroup() || - this.IsTootIdentityProof() || - this.IsActivityStreamsIgnore() || - this.IsActivityStreamsImage() || - this.IsActivityStreamsIntransitiveActivity() || - this.IsActivityStreamsInvite() || - this.IsActivityStreamsJoin() || - this.IsActivityStreamsLeave() || - this.IsActivityStreamsLike() || - this.IsActivityStreamsListen() || - this.IsActivityStreamsMention() || - this.IsActivityStreamsMove() || - this.IsActivityStreamsNote() || - this.IsActivityStreamsOffer() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.IsActivityStreamsOrganization() || - this.IsActivityStreamsPage() || - this.IsActivityStreamsPerson() || - this.IsActivityStreamsPlace() || - this.IsActivityStreamsProfile() || - this.IsSchemaPropertyValue() || - 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() || - this.IsActivityStreamsUpdate() || - this.IsActivityStreamsVideo() || - this.IsActivityStreamsView() || - this.iri != nil -} - -// IsActivityStreamsAccept returns true if this property has a type of "Accept". -// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsAccept() bool { - return this.activitystreamsAcceptMember != nil -} - -// IsActivityStreamsActivity returns true if this property has a type of -// "Activity". When true, use the GetActivityStreamsActivity and -// SetActivityStreamsActivity methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsActivity() bool { - return this.activitystreamsActivityMember != nil -} - -// IsActivityStreamsAdd returns true if this property has a type of "Add". When -// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsAdd() bool { - return this.activitystreamsAddMember != nil -} - -// IsActivityStreamsAnnounce returns true if this property has a type of -// "Announce". When true, use the GetActivityStreamsAnnounce and -// SetActivityStreamsAnnounce methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsAnnounce() bool { - return this.activitystreamsAnnounceMember != nil -} - -// IsActivityStreamsApplication returns true if this property has a type of -// "Application". When true, use the GetActivityStreamsApplication and -// SetActivityStreamsApplication methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsApplication() bool { - return this.activitystreamsApplicationMember != nil -} - -// IsActivityStreamsArrive returns true if this property has a type of "Arrive". -// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsArrive() bool { - return this.activitystreamsArriveMember != nil -} - -// IsActivityStreamsArticle returns true if this property has a type of "Article". -// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsArticle() bool { - return this.activitystreamsArticleMember != nil -} - -// IsActivityStreamsAudio returns true if this property has a type of "Audio". -// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsAudio() bool { - return this.activitystreamsAudioMember != nil -} - -// IsActivityStreamsBlock returns true if this property has a type of "Block". -// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsBlock() bool { - return this.activitystreamsBlockMember != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsCreate returns true if this property has a type of "Create". -// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsCreate() bool { - return this.activitystreamsCreateMember != nil -} - -// IsActivityStreamsDelete returns true if this property has a type of "Delete". -// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsDelete() bool { - return this.activitystreamsDeleteMember != nil -} - -// IsActivityStreamsDislike returns true if this property has a type of "Dislike". -// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsDislike() bool { - return this.activitystreamsDislikeMember != nil -} - -// IsActivityStreamsDocument returns true if this property has a type of -// "Document". When true, use the GetActivityStreamsDocument and -// SetActivityStreamsDocument methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsDocument() bool { - return this.activitystreamsDocumentMember != nil -} - -// IsActivityStreamsEvent returns true if this property has a type of "Event". -// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsEvent() bool { - return this.activitystreamsEventMember != nil -} - -// IsActivityStreamsFlag returns true if this property has a type of "Flag". When -// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsFlag() bool { - return this.activitystreamsFlagMember != nil -} - -// IsActivityStreamsFollow returns true if this property has a type of "Follow". -// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsFollow() bool { - return this.activitystreamsFollowMember != nil -} - -// IsActivityStreamsGroup returns true if this property has a type of "Group". -// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsGroup() bool { - return this.activitystreamsGroupMember != nil -} - -// IsActivityStreamsIgnore returns true if this property has a type of "Ignore". -// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsIgnore() bool { - return this.activitystreamsIgnoreMember != nil -} - -// IsActivityStreamsImage returns true if this property has a type of "Image". -// When true, use the GetActivityStreamsImage and SetActivityStreamsImage -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsImage() bool { - return this.activitystreamsImageMember != nil -} - -// IsActivityStreamsIntransitiveActivity returns true if this property has a type -// of "IntransitiveActivity". When true, use the -// GetActivityStreamsIntransitiveActivity and -// SetActivityStreamsIntransitiveActivity methods to access and set this -// property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsIntransitiveActivity() bool { - return this.activitystreamsIntransitiveActivityMember != nil -} - -// IsActivityStreamsInvite returns true if this property has a type of "Invite". -// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsInvite() bool { - return this.activitystreamsInviteMember != nil -} - -// IsActivityStreamsJoin returns true if this property has a type of "Join". When -// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsJoin() bool { - return this.activitystreamsJoinMember != nil -} - -// IsActivityStreamsLeave returns true if this property has a type of "Leave". -// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsLeave() bool { - return this.activitystreamsLeaveMember != nil -} - -// IsActivityStreamsLike returns true if this property has a type of "Like". When -// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsLike() bool { - return this.activitystreamsLikeMember != nil -} - -// IsActivityStreamsLink returns true if this property has a type of "Link". When -// true, use the GetActivityStreamsLink and SetActivityStreamsLink methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsLink() bool { - return this.activitystreamsLinkMember != nil -} - -// IsActivityStreamsListen returns true if this property has a type of "Listen". -// When true, use the GetActivityStreamsListen and SetActivityStreamsListen -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsListen() bool { - return this.activitystreamsListenMember != nil -} - -// IsActivityStreamsMention returns true if this property has a type of "Mention". -// When true, use the GetActivityStreamsMention and SetActivityStreamsMention -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsMention() bool { - return this.activitystreamsMentionMember != nil -} - -// IsActivityStreamsMove returns true if this property has a type of "Move". When -// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsMove() bool { - return this.activitystreamsMoveMember != nil -} - -// IsActivityStreamsNote returns true if this property has a type of "Note". When -// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsNote() bool { - return this.activitystreamsNoteMember != nil -} - -// IsActivityStreamsObject returns true if this property has a type of "Object". -// When true, use the GetActivityStreamsObject and SetActivityStreamsObject -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsObject() bool { - return this.activitystreamsObjectMember != nil -} - -// IsActivityStreamsOffer returns true if this property has a type of "Offer". -// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsOffer() bool { - return this.activitystreamsOfferMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsActivityStreamsOrganization returns true if this property has a type of -// "Organization". When true, use the GetActivityStreamsOrganization and -// SetActivityStreamsOrganization methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsOrganization() bool { - return this.activitystreamsOrganizationMember != nil -} - -// IsActivityStreamsPage returns true if this property has a type of "Page". When -// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsPage() bool { - return this.activitystreamsPageMember != nil -} - -// IsActivityStreamsPerson returns true if this property has a type of "Person". -// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsActivityStreamsPlace returns true if this property has a type of "Place". -// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsPlace() bool { - return this.activitystreamsPlaceMember != nil -} - -// IsActivityStreamsProfile returns true if this property has a type of "Profile". -// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsProfile() bool { - return this.activitystreamsProfileMember != nil -} - -// IsActivityStreamsQuestion returns true if this property has a type of -// "Question". When true, use the GetActivityStreamsQuestion and -// SetActivityStreamsQuestion methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsQuestion() bool { - return this.activitystreamsQuestionMember != nil -} - -// IsActivityStreamsRead returns true if this property has a type of "Read". When -// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsRead() bool { - return this.activitystreamsReadMember != nil -} - -// IsActivityStreamsReject returns true if this property has a type of "Reject". -// When true, use the GetActivityStreamsReject and SetActivityStreamsReject -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsReject() bool { - return this.activitystreamsRejectMember != nil -} - -// IsActivityStreamsRelationship returns true if this property has a type of -// "Relationship". When true, use the GetActivityStreamsRelationship and -// SetActivityStreamsRelationship methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsRelationship() bool { - return this.activitystreamsRelationshipMember != nil -} - -// IsActivityStreamsRemove returns true if this property has a type of "Remove". -// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsRemove() bool { - return this.activitystreamsRemoveMember != nil -} - -// IsActivityStreamsService returns true if this property has a type of "Service". -// When true, use the GetActivityStreamsService and SetActivityStreamsService -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsService() bool { - return this.activitystreamsServiceMember != nil -} - -// IsActivityStreamsTentativeAccept returns true if this property has a type of -// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and -// SetActivityStreamsTentativeAccept methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsTentativeAccept() bool { - return this.activitystreamsTentativeAcceptMember != nil -} - -// IsActivityStreamsTentativeReject returns true if this property has a type of -// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and -// SetActivityStreamsTentativeReject methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsTentativeReject() bool { - return this.activitystreamsTentativeRejectMember != nil -} - -// IsActivityStreamsTombstone returns true if this property has a type of -// "Tombstone". When true, use the GetActivityStreamsTombstone and -// SetActivityStreamsTombstone methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsTombstone() bool { - return this.activitystreamsTombstoneMember != nil -} - -// IsActivityStreamsTravel returns true if this property has a type of "Travel". -// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsTravel() bool { - return this.activitystreamsTravelMember != nil -} - -// IsActivityStreamsUndo returns true if this property has a type of "Undo". When -// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsUndo() bool { - return this.activitystreamsUndoMember != nil -} - -// IsActivityStreamsUpdate returns true if this property has a type of "Update". -// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsUpdate() bool { - return this.activitystreamsUpdateMember != nil -} - -// IsActivityStreamsVideo returns true if this property has a type of "Video". -// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo -// methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsActivityStreamsVideo() bool { - return this.activitystreamsVideoMember != nil -} - -// IsActivityStreamsView returns true if this property has a type of "View". When -// true, use the GetActivityStreamsView and SetActivityStreamsView methods to -// access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) 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 ForgeFedEarlyItemsPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// IsSchemaPropertyValue returns true if this property has a type of -// "PropertyValue". When true, use the GetSchemaPropertyValue and -// SetSchemaPropertyValue methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsSchemaPropertyValue() bool { - return this.schemaPropertyValueMember != nil -} - -// IsTootEmoji returns true if this property has a type of "Emoji". When true, use -// the GetTootEmoji and SetTootEmoji methods to access and set this property. -func (this ForgeFedEarlyItemsPropertyIterator) IsTootEmoji() bool { - return this.tootEmojiMember != 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. -func (this ForgeFedEarlyItemsPropertyIterator) IsTootIdentityProof() bool { - return this.tootIdentityProofMember != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedEarlyItemsPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsObject() { - child = this.GetActivityStreamsObject().JSONLDContext() - } else if this.IsActivityStreamsLink() { - child = this.GetActivityStreamsLink().JSONLDContext() - } else if this.IsActivityStreamsAccept() { - child = this.GetActivityStreamsAccept().JSONLDContext() - } else if this.IsActivityStreamsActivity() { - child = this.GetActivityStreamsActivity().JSONLDContext() - } else if this.IsActivityStreamsAdd() { - child = this.GetActivityStreamsAdd().JSONLDContext() - } else if this.IsActivityStreamsAnnounce() { - child = this.GetActivityStreamsAnnounce().JSONLDContext() - } else if this.IsActivityStreamsApplication() { - child = this.GetActivityStreamsApplication().JSONLDContext() - } else if this.IsActivityStreamsArrive() { - child = this.GetActivityStreamsArrive().JSONLDContext() - } else if this.IsActivityStreamsArticle() { - child = this.GetActivityStreamsArticle().JSONLDContext() - } else if this.IsActivityStreamsAudio() { - 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() { - child = this.GetActivityStreamsDelete().JSONLDContext() - } else if this.IsActivityStreamsDislike() { - child = this.GetActivityStreamsDislike().JSONLDContext() - } else if this.IsActivityStreamsDocument() { - child = this.GetActivityStreamsDocument().JSONLDContext() - } else if this.IsTootEmoji() { - child = this.GetTootEmoji().JSONLDContext() - } else if this.IsActivityStreamsEvent() { - child = this.GetActivityStreamsEvent().JSONLDContext() - } else if this.IsActivityStreamsFlag() { - child = this.GetActivityStreamsFlag().JSONLDContext() - } else if this.IsActivityStreamsFollow() { - child = this.GetActivityStreamsFollow().JSONLDContext() - } else if this.IsActivityStreamsGroup() { - child = this.GetActivityStreamsGroup().JSONLDContext() - } else if this.IsTootIdentityProof() { - child = this.GetTootIdentityProof().JSONLDContext() - } else if this.IsActivityStreamsIgnore() { - child = this.GetActivityStreamsIgnore().JSONLDContext() - } else if this.IsActivityStreamsImage() { - child = this.GetActivityStreamsImage().JSONLDContext() - } else if this.IsActivityStreamsIntransitiveActivity() { - child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext() - } else if this.IsActivityStreamsInvite() { - child = this.GetActivityStreamsInvite().JSONLDContext() - } else if this.IsActivityStreamsJoin() { - child = this.GetActivityStreamsJoin().JSONLDContext() - } else if this.IsActivityStreamsLeave() { - child = this.GetActivityStreamsLeave().JSONLDContext() - } else if this.IsActivityStreamsLike() { - child = this.GetActivityStreamsLike().JSONLDContext() - } else if this.IsActivityStreamsListen() { - child = this.GetActivityStreamsListen().JSONLDContext() - } else if this.IsActivityStreamsMention() { - child = this.GetActivityStreamsMention().JSONLDContext() - } else if this.IsActivityStreamsMove() { - child = this.GetActivityStreamsMove().JSONLDContext() - } else if this.IsActivityStreamsNote() { - child = this.GetActivityStreamsNote().JSONLDContext() - } else if this.IsActivityStreamsOffer() { - child = this.GetActivityStreamsOffer().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrganization() { - child = this.GetActivityStreamsOrganization().JSONLDContext() - } else if this.IsActivityStreamsPage() { - child = this.GetActivityStreamsPage().JSONLDContext() - } else if this.IsActivityStreamsPerson() { - child = this.GetActivityStreamsPerson().JSONLDContext() - } else if this.IsActivityStreamsPlace() { - child = this.GetActivityStreamsPlace().JSONLDContext() - } else if this.IsActivityStreamsProfile() { - child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsSchemaPropertyValue() { - child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() - } else if this.IsActivityStreamsQuestion() { - child = this.GetActivityStreamsQuestion().JSONLDContext() - } else if this.IsActivityStreamsRead() { - child = this.GetActivityStreamsRead().JSONLDContext() - } else if this.IsActivityStreamsReject() { - child = this.GetActivityStreamsReject().JSONLDContext() - } else if this.IsActivityStreamsRelationship() { - 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() { - child = this.GetActivityStreamsTravel().JSONLDContext() - } else if this.IsActivityStreamsUndo() { - child = this.GetActivityStreamsUndo().JSONLDContext() - } else if this.IsActivityStreamsUpdate() { - child = this.GetActivityStreamsUpdate().JSONLDContext() - } else if this.IsActivityStreamsVideo() { - child = this.GetActivityStreamsVideo().JSONLDContext() - } else if this.IsActivityStreamsView() { - child = this.GetActivityStreamsView().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedEarlyItemsPropertyIterator) KindIndex() int { - if this.IsActivityStreamsObject() { - return 0 - } - if this.IsActivityStreamsLink() { - return 1 - } - if this.IsActivityStreamsAccept() { - return 2 - } - if this.IsActivityStreamsActivity() { - return 3 - } - if this.IsActivityStreamsAdd() { - return 4 - } - if this.IsActivityStreamsAnnounce() { - return 5 - } - if this.IsActivityStreamsApplication() { - return 6 - } - if this.IsActivityStreamsArrive() { - return 7 - } - if this.IsActivityStreamsArticle() { - return 8 - } - if this.IsActivityStreamsAudio() { - return 9 - } - if this.IsActivityStreamsBlock() { - return 10 - } - if this.IsForgeFedBranch() { - return 11 - } - if this.IsActivityStreamsCollection() { - return 12 - } - if this.IsActivityStreamsCollectionPage() { - return 13 - } - if this.IsForgeFedCommit() { - return 14 - } - if this.IsActivityStreamsCreate() { - return 15 - } - if this.IsActivityStreamsDelete() { - return 16 - } - if this.IsActivityStreamsDislike() { - return 17 - } - if this.IsActivityStreamsDocument() { - return 18 - } - if this.IsTootEmoji() { - return 19 - } - if this.IsActivityStreamsEvent() { - return 20 - } - if this.IsActivityStreamsFlag() { - return 21 - } - if this.IsActivityStreamsFollow() { - return 22 - } - if this.IsActivityStreamsGroup() { - return 23 - } - if this.IsTootIdentityProof() { - return 24 - } - if this.IsActivityStreamsIgnore() { - return 25 - } - if this.IsActivityStreamsImage() { - return 26 - } - if this.IsActivityStreamsIntransitiveActivity() { - return 27 - } - if this.IsActivityStreamsInvite() { - return 28 - } - if this.IsActivityStreamsJoin() { - return 29 - } - if this.IsActivityStreamsLeave() { - return 30 - } - if this.IsActivityStreamsLike() { - return 31 - } - if this.IsActivityStreamsListen() { - return 32 - } - if this.IsActivityStreamsMention() { - return 33 - } - if this.IsActivityStreamsMove() { - return 34 - } - if this.IsActivityStreamsNote() { - return 35 - } - if this.IsActivityStreamsOffer() { - return 36 - } - if this.IsActivityStreamsOrderedCollection() { - return 37 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 38 - } - if this.IsActivityStreamsOrganization() { - return 39 - } - if this.IsActivityStreamsPage() { - return 40 - } - if this.IsActivityStreamsPerson() { - return 41 - } - if this.IsActivityStreamsPlace() { - return 42 - } - if this.IsActivityStreamsProfile() { - return 43 - } - if this.IsSchemaPropertyValue() { - return 44 - } - if this.IsForgeFedPush() { - return 45 - } - if this.IsActivityStreamsQuestion() { - return 46 - } - if this.IsActivityStreamsRead() { - return 47 - } - if this.IsActivityStreamsReject() { - return 48 - } - if this.IsActivityStreamsRelationship() { - return 49 - } - if this.IsActivityStreamsRemove() { - return 50 - } - if this.IsForgeFedRepository() { - return 51 - } - if this.IsActivityStreamsService() { - return 52 - } - if this.IsActivityStreamsTentativeAccept() { - return 53 - } - if this.IsActivityStreamsTentativeReject() { - return 54 - } - if this.IsForgeFedTicket() { - return 55 - } - if this.IsForgeFedTicketDependency() { - return 56 - } - if this.IsActivityStreamsTombstone() { - return 57 - } - if this.IsActivityStreamsTravel() { - return 58 - } - if this.IsActivityStreamsUndo() { - return 59 - } - if this.IsActivityStreamsUpdate() { - return 60 - } - if this.IsActivityStreamsVideo() { - return 61 - } - if this.IsActivityStreamsView() { - return 62 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedEarlyItemsPropertyIterator) LessThan(o vocab.ForgeFedEarlyItemsPropertyIterator) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject()) - } else if this.IsActivityStreamsLink() { - return this.GetActivityStreamsLink().LessThan(o.GetActivityStreamsLink()) - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept()) - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity()) - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd()) - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive()) - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle()) - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete()) - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike()) - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument()) - } else if this.IsTootEmoji() { - return this.GetTootEmoji().LessThan(o.GetTootEmoji()) - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent()) - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag()) - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore()) - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity()) - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite()) - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin()) - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave()) - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) - } else if this.IsActivityStreamsMention() { - return this.GetActivityStreamsMention().LessThan(o.GetActivityStreamsMention()) - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove()) - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote()) - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization()) - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage()) - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson()) - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead()) - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject()) - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel()) - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo()) - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate()) - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo()) - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "ForgeFedEarlyItems". -func (this ForgeFedEarlyItemsPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedEarlyItems" - } else { - return "ForgeFedEarlyItems" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedEarlyItemsPropertyIterator) Next() vocab.ForgeFedEarlyItemsPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedEarlyItemsPropertyIterator) Prev() vocab.ForgeFedEarlyItemsPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// SetActivityStreamsAccept sets the value of this property. Calling -// IsActivityStreamsAccept afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.clear() - this.activitystreamsAcceptMember = v -} - -// SetActivityStreamsActivity sets the value of this property. Calling -// IsActivityStreamsActivity afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.clear() - this.activitystreamsActivityMember = v -} - -// SetActivityStreamsAdd sets the value of this property. Calling -// IsActivityStreamsAdd afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.clear() - this.activitystreamsAddMember = v -} - -// SetActivityStreamsAnnounce sets the value of this property. Calling -// IsActivityStreamsAnnounce afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.clear() - this.activitystreamsAnnounceMember = v -} - -// SetActivityStreamsApplication sets the value of this property. Calling -// IsActivityStreamsApplication afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.clear() - this.activitystreamsApplicationMember = v -} - -// SetActivityStreamsArrive sets the value of this property. Calling -// IsActivityStreamsArrive afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.clear() - this.activitystreamsArriveMember = v -} - -// SetActivityStreamsArticle sets the value of this property. Calling -// IsActivityStreamsArticle afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.clear() - this.activitystreamsArticleMember = v -} - -// SetActivityStreamsAudio sets the value of this property. Calling -// IsActivityStreamsAudio afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.clear() - this.activitystreamsAudioMember = v -} - -// SetActivityStreamsBlock sets the value of this property. Calling -// IsActivityStreamsBlock afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.clear() - this.activitystreamsBlockMember = v -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsCreate sets the value of this property. Calling -// IsActivityStreamsCreate afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.clear() - this.activitystreamsCreateMember = v -} - -// SetActivityStreamsDelete sets the value of this property. Calling -// IsActivityStreamsDelete afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.clear() - this.activitystreamsDeleteMember = v -} - -// SetActivityStreamsDislike sets the value of this property. Calling -// IsActivityStreamsDislike afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.clear() - this.activitystreamsDislikeMember = v -} - -// SetActivityStreamsDocument sets the value of this property. Calling -// IsActivityStreamsDocument afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.clear() - this.activitystreamsDocumentMember = v -} - -// SetActivityStreamsEvent sets the value of this property. Calling -// IsActivityStreamsEvent afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.clear() - this.activitystreamsEventMember = v -} - -// SetActivityStreamsFlag sets the value of this property. Calling -// IsActivityStreamsFlag afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.clear() - this.activitystreamsFlagMember = v -} - -// SetActivityStreamsFollow sets the value of this property. Calling -// IsActivityStreamsFollow afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.clear() - this.activitystreamsFollowMember = v -} - -// SetActivityStreamsGroup sets the value of this property. Calling -// IsActivityStreamsGroup afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.clear() - this.activitystreamsGroupMember = v -} - -// SetActivityStreamsIgnore sets the value of this property. Calling -// IsActivityStreamsIgnore afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.clear() - this.activitystreamsIgnoreMember = v -} - -// SetActivityStreamsImage sets the value of this property. Calling -// IsActivityStreamsImage afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.clear() - this.activitystreamsImageMember = v -} - -// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling -// IsActivityStreamsIntransitiveActivity afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.clear() - this.activitystreamsIntransitiveActivityMember = v -} - -// SetActivityStreamsInvite sets the value of this property. Calling -// IsActivityStreamsInvite afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.clear() - this.activitystreamsInviteMember = v -} - -// SetActivityStreamsJoin sets the value of this property. Calling -// IsActivityStreamsJoin afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.clear() - this.activitystreamsJoinMember = v -} - -// SetActivityStreamsLeave sets the value of this property. Calling -// IsActivityStreamsLeave afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.clear() - this.activitystreamsLeaveMember = v -} - -// SetActivityStreamsLike sets the value of this property. Calling -// IsActivityStreamsLike afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.clear() - this.activitystreamsLikeMember = v -} - -// SetActivityStreamsLink sets the value of this property. Calling -// IsActivityStreamsLink afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsLink(v vocab.ActivityStreamsLink) { - this.clear() - this.activitystreamsLinkMember = v -} - -// SetActivityStreamsListen sets the value of this property. Calling -// IsActivityStreamsListen afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.clear() - this.activitystreamsListenMember = v -} - -// SetActivityStreamsMention sets the value of this property. Calling -// IsActivityStreamsMention afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsMention(v vocab.ActivityStreamsMention) { - this.clear() - this.activitystreamsMentionMember = v -} - -// SetActivityStreamsMove sets the value of this property. Calling -// IsActivityStreamsMove afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.clear() - this.activitystreamsMoveMember = v -} - -// SetActivityStreamsNote sets the value of this property. Calling -// IsActivityStreamsNote afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.clear() - this.activitystreamsNoteMember = v -} - -// SetActivityStreamsObject sets the value of this property. Calling -// IsActivityStreamsObject afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.clear() - this.activitystreamsObjectMember = v -} - -// SetActivityStreamsOffer sets the value of this property. Calling -// IsActivityStreamsOffer afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.clear() - this.activitystreamsOfferMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetActivityStreamsOrganization sets the value of this property. Calling -// IsActivityStreamsOrganization afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.clear() - this.activitystreamsOrganizationMember = v -} - -// SetActivityStreamsPage sets the value of this property. Calling -// IsActivityStreamsPage afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.clear() - this.activitystreamsPageMember = v -} - -// SetActivityStreamsPerson sets the value of this property. Calling -// IsActivityStreamsPerson afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.clear() - this.activitystreamsPersonMember = v -} - -// SetActivityStreamsPlace sets the value of this property. Calling -// IsActivityStreamsPlace afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.clear() - this.activitystreamsPlaceMember = v -} - -// SetActivityStreamsProfile sets the value of this property. Calling -// IsActivityStreamsProfile afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.clear() - this.activitystreamsProfileMember = v -} - -// SetActivityStreamsQuestion sets the value of this property. Calling -// IsActivityStreamsQuestion afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.clear() - this.activitystreamsQuestionMember = v -} - -// SetActivityStreamsRead sets the value of this property. Calling -// IsActivityStreamsRead afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.clear() - this.activitystreamsReadMember = v -} - -// SetActivityStreamsReject sets the value of this property. Calling -// IsActivityStreamsReject afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.clear() - this.activitystreamsRejectMember = v -} - -// SetActivityStreamsRelationship sets the value of this property. Calling -// IsActivityStreamsRelationship afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.clear() - this.activitystreamsRelationshipMember = v -} - -// SetActivityStreamsRemove sets the value of this property. Calling -// IsActivityStreamsRemove afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.clear() - this.activitystreamsRemoveMember = v -} - -// SetActivityStreamsService sets the value of this property. Calling -// IsActivityStreamsService afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsService(v vocab.ActivityStreamsService) { - this.clear() - this.activitystreamsServiceMember = v -} - -// SetActivityStreamsTentativeAccept sets the value of this property. Calling -// IsActivityStreamsTentativeAccept afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.clear() - this.activitystreamsTentativeAcceptMember = v -} - -// SetActivityStreamsTentativeReject sets the value of this property. Calling -// IsActivityStreamsTentativeReject afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.clear() - this.activitystreamsTentativeRejectMember = v -} - -// SetActivityStreamsTombstone sets the value of this property. Calling -// IsActivityStreamsTombstone afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.clear() - this.activitystreamsTombstoneMember = v -} - -// SetActivityStreamsTravel sets the value of this property. Calling -// IsActivityStreamsTravel afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.clear() - this.activitystreamsTravelMember = v -} - -// SetActivityStreamsUndo sets the value of this property. Calling -// IsActivityStreamsUndo afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.clear() - this.activitystreamsUndoMember = v -} - -// SetActivityStreamsUpdate sets the value of this property. Calling -// IsActivityStreamsUpdate afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.clear() - this.activitystreamsUpdateMember = v -} - -// SetActivityStreamsVideo sets the value of this property. Calling -// IsActivityStreamsVideo afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.clear() - this.activitystreamsVideoMember = v -} - -// SetActivityStreamsView sets the value of this property. Calling -// IsActivityStreamsView afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetActivityStreamsView(v vocab.ActivityStreamsView) { - this.clear() - this.activitystreamsViewMember = v -} - -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// SetSchemaPropertyValue sets the value of this property. Calling -// IsSchemaPropertyValue afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.clear() - this.schemaPropertyValueMember = v -} - -// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards -// returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetTootEmoji(v vocab.TootEmoji) { - this.clear() - this.tootEmojiMember = v -} - -// SetTootIdentityProof sets the value of this property. Calling -// IsTootIdentityProof afterwards returns true. -func (this *ForgeFedEarlyItemsPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { - this.clear() - this.tootIdentityProofMember = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedEarlyItemsPropertyIterator) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsObject); ok { - this.SetActivityStreamsObject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLink); ok { - this.SetActivityStreamsLink(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAccept); ok { - this.SetActivityStreamsAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsActivity); ok { - this.SetActivityStreamsActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAdd); ok { - this.SetActivityStreamsAdd(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAnnounce); ok { - this.SetActivityStreamsAnnounce(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsApplication); ok { - this.SetActivityStreamsApplication(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArrive); ok { - this.SetActivityStreamsArrive(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArticle); ok { - this.SetActivityStreamsArticle(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAudio); ok { - this.SetActivityStreamsAudio(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsBlock); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsDelete); ok { - this.SetActivityStreamsDelete(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDislike); ok { - this.SetActivityStreamsDislike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDocument); ok { - this.SetActivityStreamsDocument(v) - return nil - } - if v, ok := t.(vocab.TootEmoji); ok { - this.SetTootEmoji(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsEvent); ok { - this.SetActivityStreamsEvent(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFlag); ok { - this.SetActivityStreamsFlag(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFollow); ok { - this.SetActivityStreamsFollow(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsGroup); ok { - this.SetActivityStreamsGroup(v) - return nil - } - if v, ok := t.(vocab.TootIdentityProof); ok { - this.SetTootIdentityProof(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIgnore); ok { - this.SetActivityStreamsIgnore(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsImage); ok { - this.SetActivityStreamsImage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok { - this.SetActivityStreamsIntransitiveActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsInvite); ok { - this.SetActivityStreamsInvite(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsJoin); ok { - this.SetActivityStreamsJoin(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLeave); ok { - this.SetActivityStreamsLeave(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLike); ok { - this.SetActivityStreamsLike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsListen); ok { - this.SetActivityStreamsListen(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMention); ok { - this.SetActivityStreamsMention(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMove); ok { - this.SetActivityStreamsMove(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsNote); ok { - this.SetActivityStreamsNote(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOffer); ok { - this.SetActivityStreamsOffer(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrganization); ok { - this.SetActivityStreamsOrganization(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPage); ok { - this.SetActivityStreamsPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.SetActivityStreamsPerson(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPlace); ok { - this.SetActivityStreamsPlace(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsProfile); ok { - this.SetActivityStreamsProfile(v) - return nil - } - if v, ok := t.(vocab.SchemaPropertyValue); ok { - this.SetSchemaPropertyValue(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 - } - if v, ok := t.(vocab.ActivityStreamsRead); ok { - this.SetActivityStreamsRead(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsReject); ok { - this.SetActivityStreamsReject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRelationship); ok { - this.SetActivityStreamsRelationship(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRemove); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok { - this.SetActivityStreamsTentativeAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTravel); ok { - this.SetActivityStreamsTravel(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUndo); ok { - this.SetActivityStreamsUndo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUpdate); ok { - this.SetActivityStreamsUpdate(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsVideo); ok { - this.SetActivityStreamsVideo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsView); ok { - this.SetActivityStreamsView(v) - return nil - } - - return fmt.Errorf("illegal type to set on ForgeFedEarlyItems property: %T", t) -} - -// clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedEarlyItemsPropertyIterator) clear() { - this.activitystreamsObjectMember = nil - this.activitystreamsLinkMember = nil - this.activitystreamsAcceptMember = nil - this.activitystreamsActivityMember = nil - this.activitystreamsAddMember = nil - this.activitystreamsAnnounceMember = nil - this.activitystreamsApplicationMember = nil - this.activitystreamsArriveMember = nil - 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 - this.activitystreamsDocumentMember = nil - this.tootEmojiMember = nil - this.activitystreamsEventMember = nil - this.activitystreamsFlagMember = nil - this.activitystreamsFollowMember = nil - this.activitystreamsGroupMember = nil - this.tootIdentityProofMember = nil - this.activitystreamsIgnoreMember = nil - this.activitystreamsImageMember = nil - this.activitystreamsIntransitiveActivityMember = nil - this.activitystreamsInviteMember = nil - this.activitystreamsJoinMember = nil - this.activitystreamsLeaveMember = nil - this.activitystreamsLikeMember = nil - this.activitystreamsListenMember = nil - this.activitystreamsMentionMember = nil - this.activitystreamsMoveMember = nil - this.activitystreamsNoteMember = nil - this.activitystreamsOfferMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.activitystreamsOrganizationMember = nil - this.activitystreamsPageMember = nil - this.activitystreamsPersonMember = nil - this.activitystreamsPlaceMember = nil - this.activitystreamsProfileMember = nil - this.schemaPropertyValueMember = 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 - this.activitystreamsUpdateMember = nil - this.activitystreamsVideoMember = nil - this.activitystreamsViewMember = nil - this.unknown = nil - this.iri = nil -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedEarlyItemsPropertyIterator) serialize() (interface{}, error) { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().Serialize() - } else if this.IsActivityStreamsLink() { - return this.GetActivityStreamsLink().Serialize() - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().Serialize() - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().Serialize() - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().Serialize() - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().Serialize() - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().Serialize() - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().Serialize() - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().Serialize() - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().Serialize() - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().Serialize() - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().Serialize() - } else if this.IsTootEmoji() { - return this.GetTootEmoji().Serialize() - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().Serialize() - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().Serialize() - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().Serialize() - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().Serialize() - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().Serialize() - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().Serialize() - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().Serialize() - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().Serialize() - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().Serialize() - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().Serialize() - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().Serialize() - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().Serialize() - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().Serialize() - } else if this.IsActivityStreamsMention() { - return this.GetActivityStreamsMention().Serialize() - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().Serialize() - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().Serialize() - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().Serialize() - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().Serialize() - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().Serialize() - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().Serialize() - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().Serialize() - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().Serialize() - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().Serialize() - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().Serialize() - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().Serialize() - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().Serialize() - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().Serialize() - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().Serialize() - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedEarlyItemsProperty is the non-functional property "earlyItems". It is -// permitted to have one or more values, and of different value types. -type ForgeFedEarlyItemsProperty struct { - properties []*ForgeFedEarlyItemsPropertyIterator - alias string -} - -// DeserializeEarlyItemsProperty creates a "earlyItems" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeEarlyItemsProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedEarlyItemsProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "earlyItems" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "earlyItems") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedEarlyItemsProperty{ - alias: alias, - properties: []*ForgeFedEarlyItemsPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedEarlyItemsPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedEarlyItemsPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedEarlyItemsProperty creates a new earlyItems property. -func NewForgeFedEarlyItemsProperty() *ForgeFedEarlyItemsProperty { - return &ForgeFedEarlyItemsProperty{alias: ""} -} - -// AppendActivityStreamsAccept appends a Accept value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsActivity appends a Activity value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAdd appends a Add value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAnnounce appends a Announce value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsApplication appends a Application value to the back of a -// list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsArrive appends a Arrive value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsArticle appends a Article value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAudio appends a Audio value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsBlock appends a Block value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCollection appends a Collection value to the back of a -// list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCollectionPage appends a CollectionPage value to the back -// of a list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCreate appends a Create value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDelete appends a Delete value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDislike appends a Dislike value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDocument appends a Document value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsEvent appends a Event value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsFlag appends a Flag value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsFollow appends a Follow value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsGroup appends a Group value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsIgnore appends a Ignore value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsImage appends a Image value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsIntransitiveActivity appends a IntransitiveActivity value -// to the back of a list of the property "earlyItems". Invalidates iterators -// that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsInvite appends a Invite value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsJoin appends a Join value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsLeave appends a Leave value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsLike appends a Like value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsLink appends a Link value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsLink(v vocab.ActivityStreamsLink) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLinkMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsListen appends a Listen value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsMention appends a Mention value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsMention(v vocab.ActivityStreamsMention) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMentionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsMove appends a Move value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsNote appends a Note value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsObject appends a Object value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOffer appends a Offer value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrderedCollection appends a OrderedCollection value to the -// back of a list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrderedCollectionPage appends a OrderedCollectionPage -// value to the back of a list of the property "earlyItems". Invalidates -// iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrganization appends a Organization value to the back of a -// list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPage appends a Page value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPerson appends a Person value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPlace appends a Place value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsProfile appends a Profile value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsQuestion appends a Question value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRead appends a Read value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsReject appends a Reject value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRelationship appends a Relationship value to the back of a -// list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRemove appends a Remove value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsService appends a Service value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsService(v vocab.ActivityStreamsService) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTentativeAccept appends a TentativeAccept value to the -// back of a list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTentativeReject appends a TentativeReject value to the -// back of a list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTombstone appends a Tombstone value to the back of a list -// of the property "earlyItems". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTravel appends a Travel value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsUndo appends a Undo value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsUpdate appends a Update value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsVideo appends a Video value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsView appends a View value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendActivityStreamsView(v vocab.ActivityStreamsView) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "earlyItems". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "earlyItems" -func (this *ForgeFedEarlyItemsProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list -// of the property "earlyItems". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - schemaPropertyValueMember: v, - }) -} - -// AppendTootEmoji appends a Emoji value to the back of a list of the property -// "earlyItems". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedEarlyItemsProperty) AppendTootEmoji(v vocab.TootEmoji) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - tootEmojiMember: v, - }) -} - -// AppendTootIdentityProof appends a IdentityProof value to the back of a list of -// the property "earlyItems". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedEarlyItemsProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { - this.properties = append(this.properties, &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - tootIdentityProofMember: v, - }) -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "earlyItems". Invalidates iterators that are traversing using -// Prev. Returns an error if the type is not a valid one to set for this -// property. -func (this *ForgeFedEarlyItemsProperty) AppendType(t vocab.Type) error { - n := &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, n) - return nil -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedEarlyItemsProperty) At(index int) vocab.ForgeFedEarlyItemsPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedEarlyItemsProperty) Begin() vocab.ForgeFedEarlyItemsPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedEarlyItemsProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedEarlyItemsProperty) End() vocab.ForgeFedEarlyItemsPropertyIterator { - return nil -} - -// InsertActivityStreamsAccept inserts a Accept value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsActivity inserts a Activity value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAdd inserts a Add value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAnnounce inserts a Announce value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsApplication inserts a Application value at the specified -// index for a property "earlyItems". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsArrive inserts a Arrive value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsArticle inserts a Article value at the specified index for -// a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAudio inserts a Audio value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsBlock inserts a Block value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCollection inserts a Collection value at the specified -// index for a property "earlyItems". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCollectionPage inserts a CollectionPage value at the -// specified index for a property "earlyItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCreate inserts a Create value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDelete inserts a Delete value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDislike inserts a Dislike value at the specified index for -// a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDocument inserts a Document value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsEvent inserts a Event value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsFlag inserts a Flag value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsFollow inserts a Follow value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsGroup inserts a Group value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsIgnore inserts a Ignore value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsImage inserts a Image value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsIntransitiveActivity inserts a IntransitiveActivity value -// at the specified index for a property "earlyItems". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsInvite inserts a Invite value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsJoin inserts a Join value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsLeave inserts a Leave value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsLike inserts a Like value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsLink inserts a Link value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLinkMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsListen inserts a Listen value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsMention inserts a Mention value at the specified index for -// a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMentionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsMove inserts a Move value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsNote inserts a Note value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsObject inserts a Object value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOffer inserts a Offer value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrderedCollection inserts a OrderedCollection value at the -// specified index for a property "earlyItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrderedCollectionPage inserts a OrderedCollectionPage -// value at the specified index for a property "earlyItems". Existing elements -// at that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrganization inserts a Organization value at the specified -// index for a property "earlyItems". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPage inserts a Page value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPerson inserts a Person value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPlace inserts a Place value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsProfile inserts a Profile value at the specified index for -// a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsQuestion inserts a Question value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRead inserts a Read value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsReject inserts a Reject value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRelationship inserts a Relationship value at the specified -// index for a property "earlyItems". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRemove inserts a Remove value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsService inserts a Service value at the specified index for -// a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsService(idx int, v vocab.ActivityStreamsService) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTentativeAccept inserts a TentativeAccept value at the -// specified index for a property "earlyItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTentativeReject inserts a TentativeReject value at the -// specified index for a property "earlyItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTombstone inserts a Tombstone value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTravel inserts a Travel value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsUndo inserts a Undo value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsUpdate inserts a Update value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsVideo inserts a Video value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsView inserts a View value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertActivityStreamsView(idx int, v vocab.ActivityStreamsView) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedBranch inserts a Branch value at the specified index for a -// property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 -// "earlyItems". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 "earlyItems". Existing elements at that -// index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - 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 "earlyItems". -// Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index -// for a property "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertSchemaPropertyValue(idx int, v vocab.SchemaPropertyValue) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - schemaPropertyValueMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertTootEmoji inserts a Emoji value at the specified index for a property -// "earlyItems". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertTootEmoji(idx int, v vocab.TootEmoji) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootEmojiMember: 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 "earlyItems". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) InsertTootIdentityProof(idx int, v vocab.TootIdentityProof) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootIdentityProofMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "earlyItems". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedEarlyItemsProperty) InsertType(idx int, t vocab.Type) error { - n := &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = n - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedEarlyItemsProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedEarlyItemsProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "earlyItems" property. -func (this ForgeFedEarlyItemsProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedEarlyItemsProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].GetActivityStreamsObject() - rhs := this.properties[j].GetActivityStreamsObject() - return lhs.LessThan(rhs) - } else if idx1 == 1 { - lhs := this.properties[i].GetActivityStreamsLink() - rhs := this.properties[j].GetActivityStreamsLink() - return lhs.LessThan(rhs) - } else if idx1 == 2 { - lhs := this.properties[i].GetActivityStreamsAccept() - rhs := this.properties[j].GetActivityStreamsAccept() - return lhs.LessThan(rhs) - } else if idx1 == 3 { - lhs := this.properties[i].GetActivityStreamsActivity() - rhs := this.properties[j].GetActivityStreamsActivity() - return lhs.LessThan(rhs) - } else if idx1 == 4 { - lhs := this.properties[i].GetActivityStreamsAdd() - rhs := this.properties[j].GetActivityStreamsAdd() - return lhs.LessThan(rhs) - } else if idx1 == 5 { - lhs := this.properties[i].GetActivityStreamsAnnounce() - rhs := this.properties[j].GetActivityStreamsAnnounce() - return lhs.LessThan(rhs) - } else if idx1 == 6 { - lhs := this.properties[i].GetActivityStreamsApplication() - rhs := this.properties[j].GetActivityStreamsApplication() - return lhs.LessThan(rhs) - } else if idx1 == 7 { - lhs := this.properties[i].GetActivityStreamsArrive() - rhs := this.properties[j].GetActivityStreamsArrive() - return lhs.LessThan(rhs) - } else if idx1 == 8 { - lhs := this.properties[i].GetActivityStreamsArticle() - rhs := this.properties[j].GetActivityStreamsArticle() - return lhs.LessThan(rhs) - } else if idx1 == 9 { - lhs := this.properties[i].GetActivityStreamsAudio() - rhs := this.properties[j].GetActivityStreamsAudio() - return lhs.LessThan(rhs) - } else if idx1 == 10 { - lhs := this.properties[i].GetActivityStreamsBlock() - 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 { - 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 { - lhs := this.properties[i].GetActivityStreamsCreate() - rhs := this.properties[j].GetActivityStreamsCreate() - return lhs.LessThan(rhs) - } else if idx1 == 16 { - lhs := this.properties[i].GetActivityStreamsDelete() - rhs := this.properties[j].GetActivityStreamsDelete() - return lhs.LessThan(rhs) - } else if idx1 == 17 { - lhs := this.properties[i].GetActivityStreamsDislike() - rhs := this.properties[j].GetActivityStreamsDislike() - return lhs.LessThan(rhs) - } else if idx1 == 18 { - lhs := this.properties[i].GetActivityStreamsDocument() - rhs := this.properties[j].GetActivityStreamsDocument() - return lhs.LessThan(rhs) - } else if idx1 == 19 { - lhs := this.properties[i].GetTootEmoji() - rhs := this.properties[j].GetTootEmoji() - return lhs.LessThan(rhs) - } else if idx1 == 20 { - lhs := this.properties[i].GetActivityStreamsEvent() - rhs := this.properties[j].GetActivityStreamsEvent() - return lhs.LessThan(rhs) - } else if idx1 == 21 { - lhs := this.properties[i].GetActivityStreamsFlag() - rhs := this.properties[j].GetActivityStreamsFlag() - return lhs.LessThan(rhs) - } else if idx1 == 22 { - lhs := this.properties[i].GetActivityStreamsFollow() - rhs := this.properties[j].GetActivityStreamsFollow() - return lhs.LessThan(rhs) - } else if idx1 == 23 { - lhs := this.properties[i].GetActivityStreamsGroup() - rhs := this.properties[j].GetActivityStreamsGroup() - return lhs.LessThan(rhs) - } else if idx1 == 24 { - lhs := this.properties[i].GetTootIdentityProof() - rhs := this.properties[j].GetTootIdentityProof() - return lhs.LessThan(rhs) - } else if idx1 == 25 { - lhs := this.properties[i].GetActivityStreamsIgnore() - rhs := this.properties[j].GetActivityStreamsIgnore() - return lhs.LessThan(rhs) - } else if idx1 == 26 { - lhs := this.properties[i].GetActivityStreamsImage() - rhs := this.properties[j].GetActivityStreamsImage() - return lhs.LessThan(rhs) - } else if idx1 == 27 { - lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() - rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() - return lhs.LessThan(rhs) - } else if idx1 == 28 { - lhs := this.properties[i].GetActivityStreamsInvite() - rhs := this.properties[j].GetActivityStreamsInvite() - return lhs.LessThan(rhs) - } else if idx1 == 29 { - lhs := this.properties[i].GetActivityStreamsJoin() - rhs := this.properties[j].GetActivityStreamsJoin() - return lhs.LessThan(rhs) - } else if idx1 == 30 { - lhs := this.properties[i].GetActivityStreamsLeave() - rhs := this.properties[j].GetActivityStreamsLeave() - return lhs.LessThan(rhs) - } else if idx1 == 31 { - lhs := this.properties[i].GetActivityStreamsLike() - rhs := this.properties[j].GetActivityStreamsLike() - return lhs.LessThan(rhs) - } else if idx1 == 32 { - lhs := this.properties[i].GetActivityStreamsListen() - rhs := this.properties[j].GetActivityStreamsListen() - return lhs.LessThan(rhs) - } else if idx1 == 33 { - lhs := this.properties[i].GetActivityStreamsMention() - rhs := this.properties[j].GetActivityStreamsMention() - return lhs.LessThan(rhs) - } else if idx1 == 34 { - lhs := this.properties[i].GetActivityStreamsMove() - rhs := this.properties[j].GetActivityStreamsMove() - return lhs.LessThan(rhs) - } else if idx1 == 35 { - lhs := this.properties[i].GetActivityStreamsNote() - rhs := this.properties[j].GetActivityStreamsNote() - return lhs.LessThan(rhs) - } else if idx1 == 36 { - lhs := this.properties[i].GetActivityStreamsOffer() - rhs := this.properties[j].GetActivityStreamsOffer() - return lhs.LessThan(rhs) - } else if idx1 == 37 { - lhs := this.properties[i].GetActivityStreamsOrderedCollection() - rhs := this.properties[j].GetActivityStreamsOrderedCollection() - return lhs.LessThan(rhs) - } else if idx1 == 38 { - lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() - rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() - return lhs.LessThan(rhs) - } else if idx1 == 39 { - lhs := this.properties[i].GetActivityStreamsOrganization() - rhs := this.properties[j].GetActivityStreamsOrganization() - return lhs.LessThan(rhs) - } else if idx1 == 40 { - lhs := this.properties[i].GetActivityStreamsPage() - rhs := this.properties[j].GetActivityStreamsPage() - return lhs.LessThan(rhs) - } else if idx1 == 41 { - lhs := this.properties[i].GetActivityStreamsPerson() - rhs := this.properties[j].GetActivityStreamsPerson() - return lhs.LessThan(rhs) - } else if idx1 == 42 { - lhs := this.properties[i].GetActivityStreamsPlace() - rhs := this.properties[j].GetActivityStreamsPlace() - return lhs.LessThan(rhs) - } else if idx1 == 43 { - lhs := this.properties[i].GetActivityStreamsProfile() - rhs := this.properties[j].GetActivityStreamsProfile() - return lhs.LessThan(rhs) - } else if idx1 == 44 { - lhs := this.properties[i].GetSchemaPropertyValue() - rhs := this.properties[j].GetSchemaPropertyValue() - return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetForgeFedPush() - rhs := this.properties[j].GetForgeFedPush() - return lhs.LessThan(rhs) - } else if idx1 == 46 { - lhs := this.properties[i].GetActivityStreamsQuestion() - rhs := this.properties[j].GetActivityStreamsQuestion() - return lhs.LessThan(rhs) - } else if idx1 == 47 { - lhs := this.properties[i].GetActivityStreamsRead() - rhs := this.properties[j].GetActivityStreamsRead() - return lhs.LessThan(rhs) - } else if idx1 == 48 { - lhs := this.properties[i].GetActivityStreamsReject() - rhs := this.properties[j].GetActivityStreamsReject() - return lhs.LessThan(rhs) - } else if idx1 == 49 { - lhs := this.properties[i].GetActivityStreamsRelationship() - rhs := this.properties[j].GetActivityStreamsRelationship() - return lhs.LessThan(rhs) - } else if idx1 == 50 { - lhs := this.properties[i].GetActivityStreamsRemove() - rhs := this.properties[j].GetActivityStreamsRemove() - return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetForgeFedRepository() - rhs := this.properties[j].GetForgeFedRepository() - return lhs.LessThan(rhs) - } else if idx1 == 52 { - lhs := this.properties[i].GetActivityStreamsService() - rhs := this.properties[j].GetActivityStreamsService() - return lhs.LessThan(rhs) - } else if idx1 == 53 { - lhs := this.properties[i].GetActivityStreamsTentativeAccept() - rhs := this.properties[j].GetActivityStreamsTentativeAccept() - return lhs.LessThan(rhs) - } else if idx1 == 54 { - lhs := this.properties[i].GetActivityStreamsTentativeReject() - rhs := this.properties[j].GetActivityStreamsTentativeReject() - return lhs.LessThan(rhs) - } else if idx1 == 55 { - lhs := this.properties[i].GetForgeFedTicket() - rhs := this.properties[j].GetForgeFedTicket() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetForgeFedTicketDependency() - rhs := this.properties[j].GetForgeFedTicketDependency() - return lhs.LessThan(rhs) - } else if idx1 == 57 { - lhs := this.properties[i].GetActivityStreamsTombstone() - rhs := this.properties[j].GetActivityStreamsTombstone() - return lhs.LessThan(rhs) - } else if idx1 == 58 { - lhs := this.properties[i].GetActivityStreamsTravel() - rhs := this.properties[j].GetActivityStreamsTravel() - return lhs.LessThan(rhs) - } else if idx1 == 59 { - lhs := this.properties[i].GetActivityStreamsUndo() - rhs := this.properties[j].GetActivityStreamsUndo() - return lhs.LessThan(rhs) - } else if idx1 == 60 { - lhs := this.properties[i].GetActivityStreamsUpdate() - rhs := this.properties[j].GetActivityStreamsUpdate() - return lhs.LessThan(rhs) - } else if idx1 == 61 { - lhs := this.properties[i].GetActivityStreamsVideo() - rhs := this.properties[j].GetActivityStreamsVideo() - return lhs.LessThan(rhs) - } else if idx1 == 62 { - lhs := this.properties[i].GetActivityStreamsView() - rhs := this.properties[j].GetActivityStreamsView() - return lhs.LessThan(rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedEarlyItemsProperty) LessThan(o vocab.ForgeFedEarlyItemsProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("earlyItems") with any alias. -func (this ForgeFedEarlyItemsProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "earlyItems" - } else { - return "earlyItems" - } -} - -// PrependActivityStreamsAccept prepends a Accept value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsActivity prepends a Activity value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAdd prepends a Add value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAnnounce prepends a Announce value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsApplication prepends a Application value to the front of -// a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsArrive prepends a Arrive value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsArticle prepends a Article value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAudio prepends a Audio value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsBlock prepends a Block value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCollection prepends a Collection value to the front of a -// list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCollectionPage prepends a CollectionPage value to the -// front of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCreate prepends a Create value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDelete prepends a Delete value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDislike prepends a Dislike value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDocument prepends a Document value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsEvent prepends a Event value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsFlag prepends a Flag value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsFollow prepends a Follow value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsGroup prepends a Group value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsIgnore prepends a Ignore value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsImage prepends a Image value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsIntransitiveActivity prepends a IntransitiveActivity -// value to the front of a list of the property "earlyItems". Invalidates all -// iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsInvite prepends a Invite value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsJoin prepends a Join value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsLeave prepends a Leave value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsLike prepends a Like value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsLink prepends a Link value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsLink(v vocab.ActivityStreamsLink) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsLinkMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsListen prepends a Listen value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsMention prepends a Mention value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsMention(v vocab.ActivityStreamsMention) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsMentionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsMove prepends a Move value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsNote prepends a Note value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsObject prepends a Object value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOffer prepends a Offer value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrderedCollection prepends a OrderedCollection value to -// the front of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrderedCollectionPage prepends a OrderedCollectionPage -// value to the front of a list of the property "earlyItems". Invalidates all -// iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrganization prepends a Organization value to the front -// of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPage prepends a Page value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPerson prepends a Person value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPlace prepends a Place value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsProfile prepends a Profile value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsQuestion prepends a Question value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRead prepends a Read value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsReject prepends a Reject value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRelationship prepends a Relationship value to the front -// of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRemove prepends a Remove value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsService prepends a Service value to the front of a list -// of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsService(v vocab.ActivityStreamsService) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTentativeAccept prepends a TentativeAccept value to the -// front of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTentativeReject prepends a TentativeReject value to the -// front of a list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTombstone prepends a Tombstone value to the front of a -// list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTravel prepends a Travel value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsUndo prepends a Undo value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsUpdate prepends a Update value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsVideo prepends a Video value to the front of a list of -// the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsView prepends a View value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependActivityStreamsView(v vocab.ActivityStreamsView) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - 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 -// "earlyItems". -func (this *ForgeFedEarlyItemsProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a -// list of the property "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - schemaPropertyValueMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependTootEmoji prepends a Emoji value to the front of a list of the property -// "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependTootEmoji(v vocab.TootEmoji) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - tootEmojiMember: 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 "earlyItems". Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - tootIdentityProofMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "earlyItems". Invalidates all iterators. Returns an error if the -// type is not a valid one to set for this property. -func (this *ForgeFedEarlyItemsProperty) PrependType(t vocab.Type) error { - n := &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: 0, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append([]*ForgeFedEarlyItemsPropertyIterator{n}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// Remove deletes an element at the specified index from a list of the property -// "earlyItems", regardless of its type. Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedEarlyItemsPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedEarlyItemsProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// SetActivityStreamsAccept sets a Accept value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsActivity sets a Activity value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAdd sets a Add value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAnnounce sets a Announce value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsApplication sets a Application value to be at the specified -// index for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsArrive sets a Arrive value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsArticle sets a Article value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAudio sets a Audio value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsBlock sets a Block value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCollection sets a Collection value to be at the specified -// index for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCollectionPage sets a CollectionPage value to be at the -// specified index for the property "earlyItems". Panics if the index is out -// of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCreate sets a Create value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDelete sets a Delete value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDislike sets a Dislike value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDocument sets a Document value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsEvent sets a Event value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsFlag sets a Flag value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsFollow sets a Follow value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsGroup sets a Group value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsIgnore sets a Ignore value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsImage sets a Image value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity value to be -// at the specified index for the property "earlyItems". Panics if the index -// is out of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsInvite sets a Invite value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsJoin sets a Join value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsLeave sets a Leave value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsLike sets a Like value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsLink sets a Link value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsLink(idx int, v vocab.ActivityStreamsLink) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsLinkMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsListen sets a Listen value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsMention sets a Mention value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsMention(idx int, v vocab.ActivityStreamsMention) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMentionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsMove sets a Move value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsNote sets a Note value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsObject sets a Object value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOffer sets a Offer value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrderedCollection sets a OrderedCollection value to be at the -// specified index for the property "earlyItems". Panics if the index is out -// of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage value to -// be at the specified index for the property "earlyItems". Panics if the -// index is out of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrganization sets a Organization value to be at the specified -// index for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPage sets a Page value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPerson sets a Person value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPlace sets a Place value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsProfile sets a Profile value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsQuestion sets a Question value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRead sets a Read value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsReject sets a Reject value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRelationship sets a Relationship value to be at the specified -// index for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRemove sets a Remove value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsService sets a Service value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsService(idx int, v vocab.ActivityStreamsService) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at the -// specified index for the property "earlyItems". Panics if the index is out -// of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTentativeReject sets a TentativeReject value to be at the -// specified index for the property "earlyItems". Panics if the index is out -// of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTombstone sets a Tombstone value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTravel sets a Travel value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsUndo sets a Undo value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsUpdate sets a Update value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsVideo sets a Video value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsView sets a View value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetActivityStreamsView(idx int, v vocab.ActivityStreamsView) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedBranch sets a Branch value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push value to be at the specified index for the property -// "earlyItems". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository value to be at the specified index for -// the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket value to be at the specified index for the -// property "earlyItems". Panics if the index is out of bounds. Invalidates -// all iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency value to be at the -// specified index for the property "earlyItems". Panics if the index is out -// of bounds. Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "earlyItems". Panics if the index is out of bounds. -func (this *ForgeFedEarlyItemsProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetSchemaPropertyValue(idx int, v vocab.SchemaPropertyValue) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - schemaPropertyValueMember: v, - } -} - -// SetTootEmoji sets a Emoji value to be at the specified index for the property -// "earlyItems". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedEarlyItemsProperty) SetTootEmoji(idx int, v vocab.TootEmoji) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootEmojiMember: v, - } -} - -// SetTootIdentityProof sets a IdentityProof value to be at the specified index -// for the property "earlyItems". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedEarlyItemsProperty) SetTootIdentityProof(idx int, v vocab.TootIdentityProof) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootIdentityProofMember: v, - } -} - -// SetType sets an arbitrary type value to the specified index of the property -// "earlyItems". Invalidates all iterators. Returns an error if the type is -// not a valid one to set for this property. Panics if the index is out of -// bounds. -func (this *ForgeFedEarlyItemsProperty) SetType(idx int, t vocab.Type) error { - n := &ForgeFedEarlyItemsPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - (this.properties)[idx] = n - return nil -} - -// Swap swaps the location of values at two indices for the "earlyItems" property. -func (this ForgeFedEarlyItemsProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_doc.go deleted file mode 100644 index 5edf4dfca..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyfilesadded contains the implementation for the filesAdded -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyfilesadded diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_pkg.go deleted file mode 100644 index b8295e752..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesadded - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_property_forgefed_filesAdded.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_property_forgefed_filesAdded.go deleted file mode 100644 index 501090c3b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded/gen_property_forgefed_filesAdded.go +++ /dev/null @@ -1,531 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesadded - -import ( - "fmt" - string1 "github.com/superseriousbusiness/activity/streams/values/string" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedFilesAddedPropertyIterator is an iterator for a property. It is -// permitted to be a single default-valued value type. -type ForgeFedFilesAddedPropertyIterator struct { - xmlschemaStringMember string - hasStringMember bool - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedFilesAddedProperty -} - -// NewForgeFedFilesAddedPropertyIterator creates a new ForgeFedFilesAdded property. -func NewForgeFedFilesAddedPropertyIterator() *ForgeFedFilesAddedPropertyIterator { - return &ForgeFedFilesAddedPropertyIterator{alias: ""} -} - -// deserializeForgeFedFilesAddedPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedFilesAddedPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedFilesAddedPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedFilesAddedPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := string1.DeserializeString(i); err == nil { - this := &ForgeFedFilesAddedPropertyIterator{ - alias: alias, - hasStringMember: true, - xmlschemaStringMember: v, - } - return this, nil - } - this := &ForgeFedFilesAddedPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// Get returns the value of this property. When IsXMLSchemaString returns false, -// Get will return any arbitrary value. -func (this ForgeFedFilesAddedPropertyIterator) Get() string { - return this.xmlschemaStringMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedFilesAddedPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedFilesAddedPropertyIterator) HasAny() bool { - return this.IsXMLSchemaString() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedFilesAddedPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaString returns true if this property is set and not an IRI. -func (this ForgeFedFilesAddedPropertyIterator) IsXMLSchemaString() bool { - return this.hasStringMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesAddedPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedFilesAddedPropertyIterator) KindIndex() int { - if this.IsXMLSchemaString() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesAddedPropertyIterator) LessThan(o vocab.ForgeFedFilesAddedPropertyIterator) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return string1.LessString(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "ForgeFedFilesAdded". -func (this ForgeFedFilesAddedPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedFilesAdded" - } else { - return "ForgeFedFilesAdded" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedFilesAddedPropertyIterator) Next() vocab.ForgeFedFilesAddedPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedFilesAddedPropertyIterator) Prev() vocab.ForgeFedFilesAddedPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// Set sets the value of this property. Calling IsXMLSchemaString afterwards will -// return true. -func (this *ForgeFedFilesAddedPropertyIterator) Set(v string) { - this.clear() - this.xmlschemaStringMember = v - this.hasStringMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedFilesAddedPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// clear ensures no value of this property is set. Calling IsXMLSchemaString -// afterwards will return false. -func (this *ForgeFedFilesAddedPropertyIterator) clear() { - this.unknown = nil - this.iri = nil - this.hasStringMember = false -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesAddedPropertyIterator) serialize() (interface{}, error) { - if this.IsXMLSchemaString() { - return string1.SerializeString(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedFilesAddedProperty is the non-functional property "filesAdded". It is -// permitted to have one or more values, and of different value types. -type ForgeFedFilesAddedProperty struct { - properties []*ForgeFedFilesAddedPropertyIterator - alias string -} - -// DeserializeFilesAddedProperty creates a "filesAdded" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeFilesAddedProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesAddedProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "filesAdded" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "filesAdded") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedFilesAddedProperty{ - alias: alias, - properties: []*ForgeFedFilesAddedPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedFilesAddedPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedFilesAddedPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedFilesAddedProperty creates a new filesAdded property. -func NewForgeFedFilesAddedProperty() *ForgeFedFilesAddedProperty { - return &ForgeFedFilesAddedProperty{alias: ""} -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "filesAdded" -func (this *ForgeFedFilesAddedProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendXMLSchemaString appends a string value to the back of a list of the -// property "filesAdded". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedFilesAddedProperty) AppendXMLSchemaString(v string) { - this.properties = append(this.properties, &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: this.Len(), - parent: this, - xmlschemaStringMember: v, - }) -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedFilesAddedProperty) At(index int) vocab.ForgeFedFilesAddedPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedFilesAddedProperty) Begin() vocab.ForgeFedFilesAddedPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedFilesAddedProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedFilesAddedProperty) End() vocab.ForgeFedFilesAddedPropertyIterator { - return nil -} - -// Insert inserts an IRI value at the specified index for a property "filesAdded". -// Existing elements at that index and higher are shifted back once. -// Invalidates all iterators. -func (this *ForgeFedFilesAddedProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertXMLSchemaString inserts a string value at the specified index for a -// property "filesAdded". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedFilesAddedProperty) InsertXMLSchemaString(idx int, v string) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesAddedProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedFilesAddedProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "filesAdded" property. -func (this ForgeFedFilesAddedProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedFilesAddedProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].Get() - rhs := this.properties[j].Get() - return string1.LessString(lhs, rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesAddedProperty) LessThan(o vocab.ForgeFedFilesAddedProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("filesAdded") with any alias. -func (this ForgeFedFilesAddedProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "filesAdded" - } else { - return "filesAdded" - } -} - -// PrependIRI prepends an IRI value to the front of a list of the property -// "filesAdded". -func (this *ForgeFedFilesAddedProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedFilesAddedPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependXMLSchemaString prepends a string value to the front of a list of the -// property "filesAdded". Invalidates all iterators. -func (this *ForgeFedFilesAddedProperty) PrependXMLSchemaString(v string) { - this.properties = append([]*ForgeFedFilesAddedPropertyIterator{{ - alias: this.alias, - hasStringMember: true, - myIdx: 0, - parent: this, - xmlschemaStringMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Remove deletes an element at the specified index from a list of the property -// "filesAdded", regardless of its type. Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedFilesAddedProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedFilesAddedPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesAddedProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// Set sets a string value to be at the specified index for the property -// "filesAdded". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedFilesAddedProperty) Set(idx int, v string) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "filesAdded". Panics if the index is out of bounds. -func (this *ForgeFedFilesAddedProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesAddedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// Swap swaps the location of values at two indices for the "filesAdded" property. -func (this ForgeFedFilesAddedProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_doc.go deleted file mode 100644 index 1a1e9728b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyfilesmodified contains the implementation for the filesModified -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyfilesmodified diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_pkg.go deleted file mode 100644 index e8e2adf4d..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesmodified - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_property_forgefed_filesModified.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_property_forgefed_filesModified.go deleted file mode 100644 index e2d98d74a..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified/gen_property_forgefed_filesModified.go +++ /dev/null @@ -1,535 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesmodified - -import ( - "fmt" - string1 "github.com/superseriousbusiness/activity/streams/values/string" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedFilesModifiedPropertyIterator is an iterator for a property. It is -// permitted to be a single default-valued value type. -type ForgeFedFilesModifiedPropertyIterator struct { - xmlschemaStringMember string - hasStringMember bool - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedFilesModifiedProperty -} - -// NewForgeFedFilesModifiedPropertyIterator creates a new ForgeFedFilesModified -// property. -func NewForgeFedFilesModifiedPropertyIterator() *ForgeFedFilesModifiedPropertyIterator { - return &ForgeFedFilesModifiedPropertyIterator{alias: ""} -} - -// deserializeForgeFedFilesModifiedPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedFilesModifiedPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedFilesModifiedPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedFilesModifiedPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := string1.DeserializeString(i); err == nil { - this := &ForgeFedFilesModifiedPropertyIterator{ - alias: alias, - hasStringMember: true, - xmlschemaStringMember: v, - } - return this, nil - } - this := &ForgeFedFilesModifiedPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// Get returns the value of this property. When IsXMLSchemaString returns false, -// Get will return any arbitrary value. -func (this ForgeFedFilesModifiedPropertyIterator) Get() string { - return this.xmlschemaStringMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedFilesModifiedPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedFilesModifiedPropertyIterator) HasAny() bool { - return this.IsXMLSchemaString() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedFilesModifiedPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaString returns true if this property is set and not an IRI. -func (this ForgeFedFilesModifiedPropertyIterator) IsXMLSchemaString() bool { - return this.hasStringMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesModifiedPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedFilesModifiedPropertyIterator) KindIndex() int { - if this.IsXMLSchemaString() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesModifiedPropertyIterator) LessThan(o vocab.ForgeFedFilesModifiedPropertyIterator) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return string1.LessString(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "ForgeFedFilesModified". -func (this ForgeFedFilesModifiedPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedFilesModified" - } else { - return "ForgeFedFilesModified" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedFilesModifiedPropertyIterator) Next() vocab.ForgeFedFilesModifiedPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedFilesModifiedPropertyIterator) Prev() vocab.ForgeFedFilesModifiedPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// Set sets the value of this property. Calling IsXMLSchemaString afterwards will -// return true. -func (this *ForgeFedFilesModifiedPropertyIterator) Set(v string) { - this.clear() - this.xmlschemaStringMember = v - this.hasStringMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedFilesModifiedPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// clear ensures no value of this property is set. Calling IsXMLSchemaString -// afterwards will return false. -func (this *ForgeFedFilesModifiedPropertyIterator) clear() { - this.unknown = nil - this.iri = nil - this.hasStringMember = false -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesModifiedPropertyIterator) serialize() (interface{}, error) { - if this.IsXMLSchemaString() { - return string1.SerializeString(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedFilesModifiedProperty is the non-functional property "filesModified". -// It is permitted to have one or more values, and of different value types. -type ForgeFedFilesModifiedProperty struct { - properties []*ForgeFedFilesModifiedPropertyIterator - alias string -} - -// DeserializeFilesModifiedProperty creates a "filesModified" property from an -// interface representation that has been unmarshalled from a text or binary -// format. -func DeserializeFilesModifiedProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "filesModified" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "filesModified") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedFilesModifiedProperty{ - alias: alias, - properties: []*ForgeFedFilesModifiedPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedFilesModifiedPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedFilesModifiedPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedFilesModifiedProperty creates a new filesModified property. -func NewForgeFedFilesModifiedProperty() *ForgeFedFilesModifiedProperty { - return &ForgeFedFilesModifiedProperty{alias: ""} -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "filesModified" -func (this *ForgeFedFilesModifiedProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendXMLSchemaString appends a string value to the back of a list of the -// property "filesModified". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedFilesModifiedProperty) AppendXMLSchemaString(v string) { - this.properties = append(this.properties, &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: this.Len(), - parent: this, - xmlschemaStringMember: v, - }) -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedFilesModifiedProperty) At(index int) vocab.ForgeFedFilesModifiedPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedFilesModifiedProperty) Begin() vocab.ForgeFedFilesModifiedPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedFilesModifiedProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedFilesModifiedProperty) End() vocab.ForgeFedFilesModifiedPropertyIterator { - return nil -} - -// Insert inserts an IRI value at the specified index for a property -// "filesModified". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ForgeFedFilesModifiedProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertXMLSchemaString inserts a string value at the specified index for a -// property "filesModified". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedFilesModifiedProperty) InsertXMLSchemaString(idx int, v string) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesModifiedProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedFilesModifiedProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "filesModified" property. -func (this ForgeFedFilesModifiedProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedFilesModifiedProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].Get() - rhs := this.properties[j].Get() - return string1.LessString(lhs, rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesModifiedProperty) LessThan(o vocab.ForgeFedFilesModifiedProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("filesModified") with any alias. -func (this ForgeFedFilesModifiedProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "filesModified" - } else { - return "filesModified" - } -} - -// PrependIRI prepends an IRI value to the front of a list of the property -// "filesModified". -func (this *ForgeFedFilesModifiedProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedFilesModifiedPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependXMLSchemaString prepends a string value to the front of a list of the -// property "filesModified". Invalidates all iterators. -func (this *ForgeFedFilesModifiedProperty) PrependXMLSchemaString(v string) { - this.properties = append([]*ForgeFedFilesModifiedPropertyIterator{{ - alias: this.alias, - hasStringMember: true, - myIdx: 0, - parent: this, - xmlschemaStringMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Remove deletes an element at the specified index from a list of the property -// "filesModified", regardless of its type. Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedFilesModifiedProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedFilesModifiedPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesModifiedProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// Set sets a string value to be at the specified index for the property -// "filesModified". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedFilesModifiedProperty) Set(idx int, v string) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "filesModified". Panics if the index is out of bounds. -func (this *ForgeFedFilesModifiedProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesModifiedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// Swap swaps the location of values at two indices for the "filesModified" -// property. -func (this ForgeFedFilesModifiedProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_doc.go deleted file mode 100644 index b7a0f32fc..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyfilesremoved contains the implementation for the filesRemoved -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyfilesremoved diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_pkg.go deleted file mode 100644 index c0b64e635..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesremoved - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_property_forgefed_filesRemoved.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_property_forgefed_filesRemoved.go deleted file mode 100644 index 53c16163c..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved/gen_property_forgefed_filesRemoved.go +++ /dev/null @@ -1,535 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyfilesremoved - -import ( - "fmt" - string1 "github.com/superseriousbusiness/activity/streams/values/string" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedFilesRemovedPropertyIterator is an iterator for a property. It is -// permitted to be a single default-valued value type. -type ForgeFedFilesRemovedPropertyIterator struct { - xmlschemaStringMember string - hasStringMember bool - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedFilesRemovedProperty -} - -// NewForgeFedFilesRemovedPropertyIterator creates a new ForgeFedFilesRemoved -// property. -func NewForgeFedFilesRemovedPropertyIterator() *ForgeFedFilesRemovedPropertyIterator { - return &ForgeFedFilesRemovedPropertyIterator{alias: ""} -} - -// deserializeForgeFedFilesRemovedPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedFilesRemovedPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedFilesRemovedPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedFilesRemovedPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := string1.DeserializeString(i); err == nil { - this := &ForgeFedFilesRemovedPropertyIterator{ - alias: alias, - hasStringMember: true, - xmlschemaStringMember: v, - } - return this, nil - } - this := &ForgeFedFilesRemovedPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// Get returns the value of this property. When IsXMLSchemaString returns false, -// Get will return any arbitrary value. -func (this ForgeFedFilesRemovedPropertyIterator) Get() string { - return this.xmlschemaStringMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedFilesRemovedPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedFilesRemovedPropertyIterator) HasAny() bool { - return this.IsXMLSchemaString() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedFilesRemovedPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaString returns true if this property is set and not an IRI. -func (this ForgeFedFilesRemovedPropertyIterator) IsXMLSchemaString() bool { - return this.hasStringMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesRemovedPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedFilesRemovedPropertyIterator) KindIndex() int { - if this.IsXMLSchemaString() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesRemovedPropertyIterator) LessThan(o vocab.ForgeFedFilesRemovedPropertyIterator) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return string1.LessString(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "ForgeFedFilesRemoved". -func (this ForgeFedFilesRemovedPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedFilesRemoved" - } else { - return "ForgeFedFilesRemoved" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedFilesRemovedPropertyIterator) Next() vocab.ForgeFedFilesRemovedPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedFilesRemovedPropertyIterator) Prev() vocab.ForgeFedFilesRemovedPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// Set sets the value of this property. Calling IsXMLSchemaString afterwards will -// return true. -func (this *ForgeFedFilesRemovedPropertyIterator) Set(v string) { - this.clear() - this.xmlschemaStringMember = v - this.hasStringMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedFilesRemovedPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// clear ensures no value of this property is set. Calling IsXMLSchemaString -// afterwards will return false. -func (this *ForgeFedFilesRemovedPropertyIterator) clear() { - this.unknown = nil - this.iri = nil - this.hasStringMember = false -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesRemovedPropertyIterator) serialize() (interface{}, error) { - if this.IsXMLSchemaString() { - return string1.SerializeString(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedFilesRemovedProperty is the non-functional property "filesRemoved". It -// is permitted to have one or more values, and of different value types. -type ForgeFedFilesRemovedProperty struct { - properties []*ForgeFedFilesRemovedPropertyIterator - alias string -} - -// DeserializeFilesRemovedProperty creates a "filesRemoved" property from an -// interface representation that has been unmarshalled from a text or binary -// format. -func DeserializeFilesRemovedProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "filesRemoved" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "filesRemoved") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedFilesRemovedProperty{ - alias: alias, - properties: []*ForgeFedFilesRemovedPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedFilesRemovedPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedFilesRemovedPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedFilesRemovedProperty creates a new filesRemoved property. -func NewForgeFedFilesRemovedProperty() *ForgeFedFilesRemovedProperty { - return &ForgeFedFilesRemovedProperty{alias: ""} -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "filesRemoved" -func (this *ForgeFedFilesRemovedProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendXMLSchemaString appends a string value to the back of a list of the -// property "filesRemoved". Invalidates iterators that are traversing using -// Prev. -func (this *ForgeFedFilesRemovedProperty) AppendXMLSchemaString(v string) { - this.properties = append(this.properties, &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: this.Len(), - parent: this, - xmlschemaStringMember: v, - }) -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedFilesRemovedProperty) At(index int) vocab.ForgeFedFilesRemovedPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedFilesRemovedProperty) Begin() vocab.ForgeFedFilesRemovedPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedFilesRemovedProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedFilesRemovedProperty) End() vocab.ForgeFedFilesRemovedPropertyIterator { - return nil -} - -// Insert inserts an IRI value at the specified index for a property -// "filesRemoved". Existing elements at that index and higher are shifted back -// once. Invalidates all iterators. -func (this *ForgeFedFilesRemovedProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertXMLSchemaString inserts a string value at the specified index for a -// property "filesRemoved". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedFilesRemovedProperty) InsertXMLSchemaString(idx int, v string) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedFilesRemovedProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedFilesRemovedProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "filesRemoved" property. -func (this ForgeFedFilesRemovedProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedFilesRemovedProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].Get() - rhs := this.properties[j].Get() - return string1.LessString(lhs, rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedFilesRemovedProperty) LessThan(o vocab.ForgeFedFilesRemovedProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("filesRemoved") with any alias. -func (this ForgeFedFilesRemovedProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "filesRemoved" - } else { - return "filesRemoved" - } -} - -// PrependIRI prepends an IRI value to the front of a list of the property -// "filesRemoved". -func (this *ForgeFedFilesRemovedProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedFilesRemovedPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependXMLSchemaString prepends a string value to the front of a list of the -// property "filesRemoved". Invalidates all iterators. -func (this *ForgeFedFilesRemovedProperty) PrependXMLSchemaString(v string) { - this.properties = append([]*ForgeFedFilesRemovedPropertyIterator{{ - alias: this.alias, - hasStringMember: true, - myIdx: 0, - parent: this, - xmlschemaStringMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Remove deletes an element at the specified index from a list of the property -// "filesRemoved", regardless of its type. Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedFilesRemovedProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedFilesRemovedPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedFilesRemovedProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// Set sets a string value to be at the specified index for the property -// "filesRemoved". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedFilesRemovedProperty) Set(idx int, v string) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - hasStringMember: true, - myIdx: idx, - parent: this, - xmlschemaStringMember: v, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "filesRemoved". Panics if the index is out of bounds. -func (this *ForgeFedFilesRemovedProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedFilesRemovedPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// Swap swaps the location of values at two indices for the "filesRemoved" -// property. -func (this ForgeFedFilesRemovedProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_doc.go deleted file mode 100644 index b78bc1dda..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyforks contains the implementation for the forks property. All -// applications are strongly encouraged to use the interface instead of this -// concrete definition. The interfaces allow applications to consume only the -// types and properties needed and be independent of the go-fed implementation -// if another alternative implementation is created. This package is -// code-generated and subject to the same license as the go-fed tool used to -// generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyforks diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_pkg.go deleted file mode 100644 index 673614a4d..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_pkg.go +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyforks - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_property_forgefed_forks.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_property_forgefed_forks.go deleted file mode 100644 index 3b29b71c6..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks/gen_property_forgefed_forks.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyforks - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedForksProperty is the functional property "forks". It is permitted to be -// one of multiple value types. At most, one type of value can be present, or -// none at all. Setting a value will clear the other types of values so that -// only one of the 'Is' methods will return true. It is possible to clear all -// values, so that this property is empty. -type ForgeFedForksProperty struct { - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeForksProperty creates a "forks" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeForksProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedForksProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "forks" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "forks") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedForksProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedForksProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedForksProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedForksProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedForksProperty creates a new forks property. -func NewForgeFedForksProperty() *ForgeFedForksProperty { - return &ForgeFedForksProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedForksProperty) Clear() { - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedForksProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedForksProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return an arbitrary value. -func (this ForgeFedForksProperty) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedForksProperty) GetType() vocab.Type { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedForksProperty) HasAny() bool { - return this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.iri != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedForksProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedForksProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI -// to access and set this property -func (this ForgeFedForksProperty) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedForksProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedForksProperty) KindIndex() int { - if this.IsActivityStreamsOrderedCollection() { - return 0 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 1 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedForksProperty) LessThan(o vocab.ForgeFedForksProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "forks". -func (this ForgeFedForksProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "forks" - } else { - return "forks" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedForksProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedForksProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedForksProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedForksProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedForksProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - - return fmt.Errorf("illegal type to set on forks property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_doc.go deleted file mode 100644 index b2b3cf142..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyhash contains the implementation for the hash property. All -// applications are strongly encouraged to use the interface instead of this -// concrete definition. The interfaces allow applications to consume only the -// types and properties needed and be independent of the go-fed implementation -// if another alternative implementation is created. This package is -// code-generated and subject to the same license as the go-fed tool used to -// generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyhash diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_pkg.go deleted file mode 100644 index b0d3d5e34..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyhash - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_property_forgefed_hash.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_property_forgefed_hash.go deleted file mode 100644 index 98a81366f..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash/gen_property_forgefed_hash.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyhash - -import ( - "fmt" - string1 "github.com/superseriousbusiness/activity/streams/values/string" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedHashProperty is the functional property "hash". It is permitted to be a -// single default-valued value type. -type ForgeFedHashProperty struct { - xmlschemaStringMember string - hasStringMember bool - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeHashProperty creates a "hash" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeHashProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedHashProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "hash" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "hash") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedHashProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := string1.DeserializeString(i); err == nil { - this := &ForgeFedHashProperty{ - alias: alias, - hasStringMember: true, - xmlschemaStringMember: v, - } - return this, nil - } - this := &ForgeFedHashProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedHashProperty creates a new hash property. -func NewForgeFedHashProperty() *ForgeFedHashProperty { - return &ForgeFedHashProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling IsXMLSchemaString -// afterwards will return false. -func (this *ForgeFedHashProperty) Clear() { - this.unknown = nil - this.iri = nil - this.hasStringMember = false -} - -// Get returns the value of this property. When IsXMLSchemaString returns false, -// Get will return any arbitrary value. -func (this ForgeFedHashProperty) Get() string { - return this.xmlschemaStringMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedHashProperty) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedHashProperty) HasAny() bool { - return this.IsXMLSchemaString() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedHashProperty) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaString returns true if this property is set and not an IRI. -func (this ForgeFedHashProperty) IsXMLSchemaString() bool { - return this.hasStringMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedHashProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedHashProperty) KindIndex() int { - if this.IsXMLSchemaString() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedHashProperty) LessThan(o vocab.ForgeFedHashProperty) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return string1.LessString(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "hash". -func (this ForgeFedHashProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "hash" - } else { - return "hash" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedHashProperty) Serialize() (interface{}, error) { - if this.IsXMLSchemaString() { - return string1.SerializeString(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// Set sets the value of this property. Calling IsXMLSchemaString afterwards will -// return true. -func (this *ForgeFedHashProperty) Set(v string) { - this.Clear() - this.xmlschemaStringMember = v - this.hasStringMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedHashProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_doc.go deleted file mode 100644 index bd88e0052..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyisresolved contains the implementation for the isResolved -// property. All applications are strongly encouraged to use the interface -// instead of this concrete definition. The interfaces allow applications to -// consume only the types and properties needed and be independent of the -// go-fed implementation if another alternative implementation is created. -// This package is code-generated and subject to the same license as the -// go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyisresolved diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_pkg.go deleted file mode 100644 index 33f271d34..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyisresolved - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_property_forgefed_isResolved.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_property_forgefed_isResolved.go deleted file mode 100644 index 17be1bd2f..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved/gen_property_forgefed_isResolved.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyisresolved - -import ( - "fmt" - boolean "github.com/superseriousbusiness/activity/streams/values/boolean" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedIsResolvedProperty is the functional property "isResolved". It is -// permitted to be a single default-valued value type. -type ForgeFedIsResolvedProperty struct { - xmlschemaBooleanMember bool - hasBooleanMember bool - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeIsResolvedProperty creates a "isResolved" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeIsResolvedProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedIsResolvedProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "isResolved" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "isResolved") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedIsResolvedProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := boolean.DeserializeBoolean(i); err == nil { - this := &ForgeFedIsResolvedProperty{ - alias: alias, - hasBooleanMember: true, - xmlschemaBooleanMember: v, - } - return this, nil - } - this := &ForgeFedIsResolvedProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedIsResolvedProperty creates a new isResolved property. -func NewForgeFedIsResolvedProperty() *ForgeFedIsResolvedProperty { - return &ForgeFedIsResolvedProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling IsXMLSchemaBoolean -// afterwards will return false. -func (this *ForgeFedIsResolvedProperty) Clear() { - this.unknown = nil - this.iri = nil - this.hasBooleanMember = false -} - -// Get returns the value of this property. When IsXMLSchemaBoolean returns false, -// Get will return any arbitrary value. -func (this ForgeFedIsResolvedProperty) Get() bool { - return this.xmlschemaBooleanMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedIsResolvedProperty) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedIsResolvedProperty) HasAny() bool { - return this.IsXMLSchemaBoolean() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedIsResolvedProperty) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaBoolean returns true if this property is set and not an IRI. -func (this ForgeFedIsResolvedProperty) IsXMLSchemaBoolean() bool { - return this.hasBooleanMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedIsResolvedProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedIsResolvedProperty) KindIndex() int { - if this.IsXMLSchemaBoolean() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedIsResolvedProperty) LessThan(o vocab.ForgeFedIsResolvedProperty) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaBoolean() && !o.IsXMLSchemaBoolean() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaBoolean() && o.IsXMLSchemaBoolean() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return boolean.LessBoolean(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "isResolved". -func (this ForgeFedIsResolvedProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "isResolved" - } else { - return "isResolved" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedIsResolvedProperty) Serialize() (interface{}, error) { - if this.IsXMLSchemaBoolean() { - return boolean.SerializeBoolean(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// Set sets the value of this property. Calling IsXMLSchemaBoolean afterwards will -// return true. -func (this *ForgeFedIsResolvedProperty) Set(v bool) { - this.Clear() - this.xmlschemaBooleanMember = v - this.hasBooleanMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedIsResolvedProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_pkg.go deleted file mode 100644 index 27120c487..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_pkg.go +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyref - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface{} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_property_forgefed_ref.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_property_forgefed_ref.go deleted file mode 100644 index f242c8c97..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_property_forgefed_ref.go +++ /dev/null @@ -1,203 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyref - -import ( - "fmt" - string1 "github.com/superseriousbusiness/activity/streams/values/string" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedRefProperty is the functional property "ref". It is permitted to be a -// single default-valued value type. -type ForgeFedRefProperty struct { - xmlschemaStringMember string - hasStringMember bool - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeRefProperty creates a "ref" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeRefProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedRefProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "ref" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "ref") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedRefProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if v, err := string1.DeserializeString(i); err == nil { - this := &ForgeFedRefProperty{ - alias: alias, - hasStringMember: true, - xmlschemaStringMember: v, - } - return this, nil - } - this := &ForgeFedRefProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedRefProperty creates a new ref property. -func NewForgeFedRefProperty() *ForgeFedRefProperty { - return &ForgeFedRefProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling IsXMLSchemaString -// afterwards will return false. -func (this *ForgeFedRefProperty) Clear() { - this.unknown = nil - this.iri = nil - this.hasStringMember = false -} - -// Get returns the value of this property. When IsXMLSchemaString returns false, -// Get will return any arbitrary value. -func (this ForgeFedRefProperty) Get() string { - return this.xmlschemaStringMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return any arbitrary value. -func (this ForgeFedRefProperty) GetIRI() *url.URL { - return this.iri -} - -// HasAny returns true if the value or IRI is set. -func (this ForgeFedRefProperty) HasAny() bool { - return this.IsXMLSchemaString() || this.iri != nil -} - -// IsIRI returns true if this property is an IRI. -func (this ForgeFedRefProperty) IsIRI() bool { - return this.iri != nil -} - -// IsXMLSchemaString returns true if this property is set and not an IRI. -func (this ForgeFedRefProperty) IsXMLSchemaString() bool { - return this.hasStringMember -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedRefProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedRefProperty) KindIndex() int { - if this.IsXMLSchemaString() { - return 0 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedRefProperty) LessThan(o vocab.ForgeFedRefProperty) bool { - // LessThan comparison for if either or both are IRIs. - if this.IsIRI() && o.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } else if this.IsIRI() { - // IRIs are always less than other values, none, or unknowns - return true - } else if o.IsIRI() { - // This other, none, or unknown value is always greater than IRIs - return false - } - // LessThan comparison for the single value or unknown value. - if !this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Both are unknowns. - return false - } else if this.IsXMLSchemaString() && !o.IsXMLSchemaString() { - // Values are always greater than unknown values. - return false - } else if !this.IsXMLSchemaString() && o.IsXMLSchemaString() { - // Unknowns are always less than known values. - return true - } else { - // Actual comparison. - return string1.LessString(this.Get(), o.Get()) - } -} - -// Name returns the name of this property: "ref". -func (this ForgeFedRefProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ref" - } else { - return "ref" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedRefProperty) Serialize() (interface{}, error) { - if this.IsXMLSchemaString() { - return string1.SerializeString(this.Get()) - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// Set sets the value of this property. Calling IsXMLSchemaString afterwards will -// return true. -func (this *ForgeFedRefProperty) Set(v string) { - this.Clear() - this.xmlschemaStringMember = v - this.hasStringMember = true -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards will return -// true. -func (this *ForgeFedRefProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_doc.go deleted file mode 100644 index 7ce672b00..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyteam contains the implementation for the team property. All -// applications are strongly encouraged to use the interface instead of this -// concrete definition. The interfaces allow applications to consume only the -// types and properties needed and be independent of the go-fed implementation -// if another alternative implementation is created. This package is -// code-generated and subject to the same license as the go-fed tool used to -// generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyteam diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_pkg.go deleted file mode 100644 index 9f4a133d0..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_pkg.go +++ /dev/null @@ -1,35 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyteam - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeCollectionActivityStreams returns the deserialization method - // for the "ActivityStreamsCollection" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // method for the "ActivityStreamsCollectionPage" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_property_forgefed_team.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_property_forgefed_team.go deleted file mode 100644 index f2f6fa657..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team/gen_property_forgefed_team.go +++ /dev/null @@ -1,360 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyteam - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedTeamProperty is the functional property "team". It is permitted to be -// one of multiple value types. At most, one type of value can be present, or -// none at all. Setting a value will clear the other types of values so that -// only one of the 'Is' methods will return true. It is possible to clear all -// values, so that this property is empty. -type ForgeFedTeamProperty struct { - activitystreamsCollectionMember vocab.ActivityStreamsCollection - activitystreamsCollectionPageMember vocab.ActivityStreamsCollectionPage - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeTeamProperty creates a "team" property from an interface -// representation that has been unmarshalled from a text or binary format. -func DeserializeTeamProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedTeamProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "team" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "team") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedTeamProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTeamProperty{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTeamProperty{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTeamProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTeamProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedTeamProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedTeamProperty creates a new team property. -func NewForgeFedTeamProperty() *ForgeFedTeamProperty { - return &ForgeFedTeamProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedTeamProperty) Clear() { - this.activitystreamsCollectionMember = nil - this.activitystreamsCollectionPageMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedTeamProperty) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedTeamProperty) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedTeamProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedTeamProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will -// return an arbitrary value. -func (this ForgeFedTeamProperty) GetIRI() *url.URL { - return this.iri -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedTeamProperty) GetType() vocab.Type { - if this.IsActivityStreamsCollection() { - return this.GetActivityStreamsCollection() - } - if this.IsActivityStreamsCollectionPage() { - return this.GetActivityStreamsCollectionPage() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedTeamProperty) HasAny() bool { - return this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.iri != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedTeamProperty) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedTeamProperty) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedTeamProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedTeamProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsIRI returns true if this property is an IRI. When true, use GetIRI and SetIRI -// to access and set this property -func (this ForgeFedTeamProperty) IsIRI() bool { - return this.iri != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedTeamProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsCollection() { - child = this.GetActivityStreamsCollection().JSONLDContext() - } else if this.IsActivityStreamsCollectionPage() { - child = this.GetActivityStreamsCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedTeamProperty) KindIndex() int { - if this.IsActivityStreamsCollection() { - return 0 - } - if this.IsActivityStreamsCollectionPage() { - return 1 - } - if this.IsActivityStreamsOrderedCollection() { - return 2 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 3 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedTeamProperty) LessThan(o vocab.ForgeFedTeamProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsCollection() { - return this.GetActivityStreamsCollection().LessThan(o.GetActivityStreamsCollection()) - } else if this.IsActivityStreamsCollectionPage() { - return this.GetActivityStreamsCollectionPage().LessThan(o.GetActivityStreamsCollectionPage()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "team". -func (this ForgeFedTeamProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "team" - } else { - return "team" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedTeamProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsCollection() { - return this.GetActivityStreamsCollection().Serialize() - } else if this.IsActivityStreamsCollectionPage() { - return this.GetActivityStreamsCollectionPage().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedTeamProperty) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.Clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedTeamProperty) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.Clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedTeamProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedTeamProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedTeamProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedTeamProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsCollection); ok { - this.SetActivityStreamsCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - this.SetActivityStreamsCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - - return fmt.Errorf("illegal type to set on team property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_doc.go deleted file mode 100644 index c05d81ca3..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertyticketstrackedby contains the implementation for the -// ticketsTrackedBy property. All applications are strongly encouraged to use -// the interface instead of this concrete definition. The interfaces allow -// applications to consume only the types and properties needed and be -// independent of the go-fed implementation if another alternative -// implementation is created. This package is code-generated and subject to -// the same license as the go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertyticketstrackedby diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_pkg.go deleted file mode 100644 index 4fb2a5c4e..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_pkg.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyticketstrackedby - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAcceptActivityStreams returns the deserialization method for - // the "ActivityStreamsAccept" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) - // DeserializeActivityActivityStreams returns the deserialization method - // for the "ActivityStreamsActivity" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) - // DeserializeAddActivityStreams returns the deserialization method for - // the "ActivityStreamsAdd" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) - // DeserializeAnnounceActivityStreams returns the deserialization method - // for the "ActivityStreamsAnnounce" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) - // DeserializeApplicationActivityStreams returns the deserialization - // method for the "ActivityStreamsApplication" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) - // DeserializeArriveActivityStreams returns the deserialization method for - // the "ActivityStreamsArrive" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) - // DeserializeArticleActivityStreams returns the deserialization method - // for the "ActivityStreamsArticle" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) - // DeserializeAudioActivityStreams returns the deserialization method for - // the "ActivityStreamsAudio" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) - // DeserializeBlockActivityStreams returns the deserialization method for - // 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" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // 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" - DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) - // DeserializeDeleteActivityStreams returns the deserialization method for - // the "ActivityStreamsDelete" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) - // DeserializeDislikeActivityStreams returns the deserialization method - // for the "ActivityStreamsDislike" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) - // DeserializeDocumentActivityStreams returns the deserialization method - // for the "ActivityStreamsDocument" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) - // DeserializeEmojiToot returns the deserialization method for the - // "TootEmoji" non-functional property in the vocabulary "Toot" - DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) - // DeserializeEventActivityStreams returns the deserialization method for - // the "ActivityStreamsEvent" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) - // DeserializeFlagActivityStreams returns the deserialization method for - // the "ActivityStreamsFlag" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) - // DeserializeFollowActivityStreams returns the deserialization method for - // the "ActivityStreamsFollow" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) - // DeserializeGroupActivityStreams returns the deserialization method for - // the "ActivityStreamsGroup" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, 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) - // DeserializeIgnoreActivityStreams returns the deserialization method for - // the "ActivityStreamsIgnore" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) - // DeserializeImageActivityStreams returns the deserialization method for - // the "ActivityStreamsImage" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) - // DeserializeIntransitiveActivityActivityStreams returns the - // deserialization method for the - // "ActivityStreamsIntransitiveActivity" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) - // DeserializeInviteActivityStreams returns the deserialization method for - // the "ActivityStreamsInvite" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) - // DeserializeJoinActivityStreams returns the deserialization method for - // the "ActivityStreamsJoin" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) - // DeserializeLeaveActivityStreams returns the deserialization method for - // the "ActivityStreamsLeave" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) - // DeserializeLikeActivityStreams returns the deserialization method for - // the "ActivityStreamsLike" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) - // DeserializeListenActivityStreams returns the deserialization method for - // the "ActivityStreamsListen" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) - // DeserializeMoveActivityStreams returns the deserialization method for - // the "ActivityStreamsMove" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) - // DeserializeNoteActivityStreams returns the deserialization method for - // the "ActivityStreamsNote" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) - // DeserializeObjectActivityStreams returns the deserialization method for - // the "ActivityStreamsObject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) - // DeserializeOfferActivityStreams returns the deserialization method for - // the "ActivityStreamsOffer" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) - // DeserializeOrganizationActivityStreams returns the deserialization - // method for the "ActivityStreamsOrganization" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) - // DeserializePageActivityStreams returns the deserialization method for - // the "ActivityStreamsPage" non-functional property in the vocabulary - // "ActivityStreams" - DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) - // DeserializePlaceActivityStreams returns the deserialization method for - // the "ActivityStreamsPlace" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) - // DeserializeProfileActivityStreams returns the deserialization method - // for the "ActivityStreamsProfile" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePropertyValueSchema returns the deserialization method for - // the "SchemaPropertyValue" non-functional property in the vocabulary - // "Schema" - DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" - DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) - // DeserializeReadActivityStreams returns the deserialization method for - // the "ActivityStreamsRead" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) - // DeserializeRejectActivityStreams returns the deserialization method for - // the "ActivityStreamsReject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) - // DeserializeRelationshipActivityStreams returns the deserialization - // method for the "ActivityStreamsRelationship" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) - // DeserializeRemoveActivityStreams returns the deserialization method for - // 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" - DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) - // DeserializeTentativeAcceptActivityStreams returns the deserialization - // method for the "ActivityStreamsTentativeAccept" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) - // DeserializeTentativeRejectActivityStreams returns the deserialization - // 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" - DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) - // DeserializeTravelActivityStreams returns the deserialization method for - // the "ActivityStreamsTravel" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) - // DeserializeUndoActivityStreams returns the deserialization method for - // the "ActivityStreamsUndo" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) - // DeserializeUpdateActivityStreams returns the deserialization method for - // the "ActivityStreamsUpdate" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) - // DeserializeVideoActivityStreams returns the deserialization method for - // the "ActivityStreamsVideo" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) - // DeserializeViewActivityStreams returns the deserialization method for - // the "ActivityStreamsView" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_property_forgefed_ticketsTrackedBy.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_property_forgefed_ticketsTrackedBy.go deleted file mode 100644 index 4b16f716b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby/gen_property_forgefed_ticketsTrackedBy.go +++ /dev/null @@ -1,2979 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertyticketstrackedby - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedTicketsTrackedByProperty is the functional property "ticketsTrackedBy". -// It is permitted to be one of multiple value types. At most, one type of -// value can be present, or none at all. Setting a value will clear the other -// types of values so that only one of the 'Is' methods will return true. It -// is possible to clear all values, so that this property is empty. -type ForgeFedTicketsTrackedByProperty struct { - activitystreamsObjectMember vocab.ActivityStreamsObject - activitystreamsAcceptMember vocab.ActivityStreamsAccept - activitystreamsActivityMember vocab.ActivityStreamsActivity - activitystreamsAddMember vocab.ActivityStreamsAdd - activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce - activitystreamsApplicationMember vocab.ActivityStreamsApplication - activitystreamsArriveMember vocab.ActivityStreamsArrive - 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 - activitystreamsDocumentMember vocab.ActivityStreamsDocument - tootEmojiMember vocab.TootEmoji - activitystreamsEventMember vocab.ActivityStreamsEvent - activitystreamsFlagMember vocab.ActivityStreamsFlag - activitystreamsFollowMember vocab.ActivityStreamsFollow - activitystreamsGroupMember vocab.ActivityStreamsGroup - tootIdentityProofMember vocab.TootIdentityProof - activitystreamsIgnoreMember vocab.ActivityStreamsIgnore - activitystreamsImageMember vocab.ActivityStreamsImage - activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity - activitystreamsInviteMember vocab.ActivityStreamsInvite - activitystreamsJoinMember vocab.ActivityStreamsJoin - activitystreamsLeaveMember vocab.ActivityStreamsLeave - activitystreamsLikeMember vocab.ActivityStreamsLike - activitystreamsListenMember vocab.ActivityStreamsListen - activitystreamsMoveMember vocab.ActivityStreamsMove - activitystreamsNoteMember vocab.ActivityStreamsNote - activitystreamsOfferMember vocab.ActivityStreamsOffer - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - activitystreamsOrganizationMember vocab.ActivityStreamsOrganization - activitystreamsPageMember vocab.ActivityStreamsPage - activitystreamsPersonMember vocab.ActivityStreamsPerson - activitystreamsPlaceMember vocab.ActivityStreamsPlace - activitystreamsProfileMember vocab.ActivityStreamsProfile - schemaPropertyValueMember vocab.SchemaPropertyValue - 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 - activitystreamsUpdateMember vocab.ActivityStreamsUpdate - activitystreamsVideoMember vocab.ActivityStreamsVideo - activitystreamsViewMember vocab.ActivityStreamsView - unknown interface{} - iri *url.URL - alias string -} - -// DeserializeTicketsTrackedByProperty creates a "ticketsTrackedBy" property from -// an interface representation that has been unmarshalled from a text or -// binary format. -func DeserializeTicketsTrackedByProperty(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedTicketsTrackedByProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "ticketsTrackedBy" - if len(alias) > 0 { - // Use alias both to find the property, and set within the property. - propName = fmt.Sprintf("%s:%s", alias, "ticketsTrackedBy") - } - i, ok := m[propName] - - if ok { - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsObjectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsAddMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsAnnounceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsApplicationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsArriveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsArticleMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsAudioMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsBlockMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsCreateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsDeleteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsDislikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsDocumentMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - tootEmojiMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsEventMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsFlagMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsFollowMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsGroupMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - tootIdentityProofMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsIgnoreMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsImageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsIntransitiveActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsInviteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsJoinMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsLeaveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsLikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsListenMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsMoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsNoteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsOfferMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsOrganizationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsPlaceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsProfileMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePropertyValueSchema()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - schemaPropertyValueMember: v, - } - return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedPushMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsQuestionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsReadMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsRelationshipMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsRemoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsServiceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsTentativeAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsTentativeRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsTombstoneMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsTravelMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsUndoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsUpdateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsVideoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTicketsTrackedByProperty{ - activitystreamsViewMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedTicketsTrackedByProperty{ - alias: alias, - unknown: i, - } - return this, nil - } - return nil, nil -} - -// NewForgeFedTicketsTrackedByProperty creates a new ticketsTrackedBy property. -func NewForgeFedTicketsTrackedByProperty() *ForgeFedTicketsTrackedByProperty { - return &ForgeFedTicketsTrackedByProperty{alias: ""} -} - -// Clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedTicketsTrackedByProperty) Clear() { - this.activitystreamsObjectMember = nil - this.activitystreamsAcceptMember = nil - this.activitystreamsActivityMember = nil - this.activitystreamsAddMember = nil - this.activitystreamsAnnounceMember = nil - this.activitystreamsApplicationMember = nil - this.activitystreamsArriveMember = nil - 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 - this.activitystreamsDocumentMember = nil - this.tootEmojiMember = nil - this.activitystreamsEventMember = nil - this.activitystreamsFlagMember = nil - this.activitystreamsFollowMember = nil - this.activitystreamsGroupMember = nil - this.tootIdentityProofMember = nil - this.activitystreamsIgnoreMember = nil - this.activitystreamsImageMember = nil - this.activitystreamsIntransitiveActivityMember = nil - this.activitystreamsInviteMember = nil - this.activitystreamsJoinMember = nil - this.activitystreamsLeaveMember = nil - this.activitystreamsLikeMember = nil - this.activitystreamsListenMember = nil - this.activitystreamsMoveMember = nil - this.activitystreamsNoteMember = nil - this.activitystreamsOfferMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.activitystreamsOrganizationMember = nil - this.activitystreamsPageMember = nil - this.activitystreamsPersonMember = nil - this.activitystreamsPlaceMember = nil - this.activitystreamsProfileMember = nil - this.schemaPropertyValueMember = 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 - this.activitystreamsUpdateMember = nil - this.activitystreamsVideoMember = nil - this.activitystreamsViewMember = nil - this.unknown = nil - this.iri = nil -} - -// GetActivityStreamsAccept returns the value of this property. When -// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsAccept() vocab.ActivityStreamsAccept { - return this.activitystreamsAcceptMember -} - -// GetActivityStreamsActivity returns the value of this property. When -// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsActivity() vocab.ActivityStreamsActivity { - return this.activitystreamsActivityMember -} - -// GetActivityStreamsAdd returns the value of this property. When -// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsAdd() vocab.ActivityStreamsAdd { - return this.activitystreamsAddMember -} - -// GetActivityStreamsAnnounce returns the value of this property. When -// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce { - return this.activitystreamsAnnounceMember -} - -// GetActivityStreamsApplication returns the value of this property. When -// IsActivityStreamsApplication returns false, GetActivityStreamsApplication -// will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsApplication() vocab.ActivityStreamsApplication { - return this.activitystreamsApplicationMember -} - -// GetActivityStreamsArrive returns the value of this property. When -// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsArrive() vocab.ActivityStreamsArrive { - return this.activitystreamsArriveMember -} - -// GetActivityStreamsArticle returns the value of this property. When -// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsArticle() vocab.ActivityStreamsArticle { - return this.activitystreamsArticleMember -} - -// GetActivityStreamsAudio returns the value of this property. When -// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsAudio() vocab.ActivityStreamsAudio { - return this.activitystreamsAudioMember -} - -// GetActivityStreamsBlock returns the value of this property. When -// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsBlock() vocab.ActivityStreamsBlock { - return this.activitystreamsBlockMember -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsCreate returns the value of this property. When -// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsCreate() vocab.ActivityStreamsCreate { - return this.activitystreamsCreateMember -} - -// GetActivityStreamsDelete returns the value of this property. When -// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsDelete() vocab.ActivityStreamsDelete { - return this.activitystreamsDeleteMember -} - -// GetActivityStreamsDislike returns the value of this property. When -// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsDislike() vocab.ActivityStreamsDislike { - return this.activitystreamsDislikeMember -} - -// GetActivityStreamsDocument returns the value of this property. When -// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsDocument() vocab.ActivityStreamsDocument { - return this.activitystreamsDocumentMember -} - -// GetActivityStreamsEvent returns the value of this property. When -// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsEvent() vocab.ActivityStreamsEvent { - return this.activitystreamsEventMember -} - -// GetActivityStreamsFlag returns the value of this property. When -// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsFlag() vocab.ActivityStreamsFlag { - return this.activitystreamsFlagMember -} - -// GetActivityStreamsFollow returns the value of this property. When -// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsFollow() vocab.ActivityStreamsFollow { - return this.activitystreamsFollowMember -} - -// GetActivityStreamsGroup returns the value of this property. When -// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsGroup() vocab.ActivityStreamsGroup { - return this.activitystreamsGroupMember -} - -// GetActivityStreamsIgnore returns the value of this property. When -// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore { - return this.activitystreamsIgnoreMember -} - -// GetActivityStreamsImage returns the value of this property. When -// IsActivityStreamsImage returns false, GetActivityStreamsImage will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsImage() vocab.ActivityStreamsImage { - return this.activitystreamsImageMember -} - -// GetActivityStreamsIntransitiveActivity returns the value of this property. When -// IsActivityStreamsIntransitiveActivity returns false, -// GetActivityStreamsIntransitiveActivity will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity { - return this.activitystreamsIntransitiveActivityMember -} - -// GetActivityStreamsInvite returns the value of this property. When -// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsInvite() vocab.ActivityStreamsInvite { - return this.activitystreamsInviteMember -} - -// GetActivityStreamsJoin returns the value of this property. When -// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsJoin() vocab.ActivityStreamsJoin { - return this.activitystreamsJoinMember -} - -// GetActivityStreamsLeave returns the value of this property. When -// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsLeave() vocab.ActivityStreamsLeave { - return this.activitystreamsLeaveMember -} - -// GetActivityStreamsLike returns the value of this property. When -// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsLike() vocab.ActivityStreamsLike { - return this.activitystreamsLikeMember -} - -// GetActivityStreamsListen returns the value of this property. When -// IsActivityStreamsListen returns false, GetActivityStreamsListen will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsListen() vocab.ActivityStreamsListen { - return this.activitystreamsListenMember -} - -// GetActivityStreamsMove returns the value of this property. When -// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsMove() vocab.ActivityStreamsMove { - return this.activitystreamsMoveMember -} - -// GetActivityStreamsNote returns the value of this property. When -// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsNote() vocab.ActivityStreamsNote { - return this.activitystreamsNoteMember -} - -// GetActivityStreamsObject returns the value of this property. When -// IsActivityStreamsObject returns false, GetActivityStreamsObject will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsObject() vocab.ActivityStreamsObject { - return this.activitystreamsObjectMember -} - -// GetActivityStreamsOffer returns the value of this property. When -// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsOffer() vocab.ActivityStreamsOffer { - return this.activitystreamsOfferMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetActivityStreamsOrganization returns the value of this property. When -// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization -// will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization { - return this.activitystreamsOrganizationMember -} - -// GetActivityStreamsPage returns the value of this property. When -// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsPage() vocab.ActivityStreamsPage { - return this.activitystreamsPageMember -} - -// GetActivityStreamsPerson returns the value of this property. When -// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsPerson() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetActivityStreamsPlace returns the value of this property. When -// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsPlace() vocab.ActivityStreamsPlace { - return this.activitystreamsPlaceMember -} - -// GetActivityStreamsProfile returns the value of this property. When -// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsProfile() vocab.ActivityStreamsProfile { - return this.activitystreamsProfileMember -} - -// GetActivityStreamsQuestion returns the value of this property. When -// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion { - return this.activitystreamsQuestionMember -} - -// GetActivityStreamsRead returns the value of this property. When -// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsRead() vocab.ActivityStreamsRead { - return this.activitystreamsReadMember -} - -// GetActivityStreamsReject returns the value of this property. When -// IsActivityStreamsReject returns false, GetActivityStreamsReject will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsReject() vocab.ActivityStreamsReject { - return this.activitystreamsRejectMember -} - -// GetActivityStreamsRelationship returns the value of this property. When -// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship -// will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship { - return this.activitystreamsRelationshipMember -} - -// GetActivityStreamsRemove returns the value of this property. When -// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsRemove() vocab.ActivityStreamsRemove { - return this.activitystreamsRemoveMember -} - -// GetActivityStreamsService returns the value of this property. When -// IsActivityStreamsService returns false, GetActivityStreamsService will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsService() vocab.ActivityStreamsService { - return this.activitystreamsServiceMember -} - -// GetActivityStreamsTentativeAccept returns the value of this property. When -// IsActivityStreamsTentativeAccept returns false, -// GetActivityStreamsTentativeAccept will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept { - return this.activitystreamsTentativeAcceptMember -} - -// GetActivityStreamsTentativeReject returns the value of this property. When -// IsActivityStreamsTentativeReject returns false, -// GetActivityStreamsTentativeReject will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject { - return this.activitystreamsTentativeRejectMember -} - -// GetActivityStreamsTombstone returns the value of this property. When -// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will -// return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone { - return this.activitystreamsTombstoneMember -} - -// GetActivityStreamsTravel returns the value of this property. When -// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsTravel() vocab.ActivityStreamsTravel { - return this.activitystreamsTravelMember -} - -// GetActivityStreamsUndo returns the value of this property. When -// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsUndo() vocab.ActivityStreamsUndo { - return this.activitystreamsUndoMember -} - -// GetActivityStreamsUpdate returns the value of this property. When -// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate { - return this.activitystreamsUpdateMember -} - -// GetActivityStreamsVideo returns the value of this property. When -// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return -// an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsVideo() vocab.ActivityStreamsVideo { - return this.activitystreamsVideoMember -} - -// GetActivityStreamsView returns the value of this property. When -// IsActivityStreamsView returns false, GetActivityStreamsView will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetActivityStreamsView() vocab.ActivityStreamsView { - return this.activitystreamsViewMember -} - -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) GetIRI() *url.URL { - return this.iri -} - -// GetSchemaPropertyValue returns the value of this property. When -// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetSchemaPropertyValue() vocab.SchemaPropertyValue { - return this.schemaPropertyValueMember -} - -// GetTootEmoji returns the value of this property. When IsTootEmoji returns -// false, GetTootEmoji will return an arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetTootEmoji() vocab.TootEmoji { - return this.tootEmojiMember -} - -// GetTootIdentityProof returns the value of this property. When -// IsTootIdentityProof returns false, GetTootIdentityProof will return an -// arbitrary value. -func (this ForgeFedTicketsTrackedByProperty) GetTootIdentityProof() vocab.TootIdentityProof { - return this.tootIdentityProofMember -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedTicketsTrackedByProperty) GetType() vocab.Type { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject() - } - if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept() - } - if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity() - } - if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd() - } - if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce() - } - if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication() - } - if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive() - } - if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle() - } - if this.IsActivityStreamsAudio() { - return this.GetActivityStreamsAudio() - } - 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() - } - if this.IsActivityStreamsDelete() { - return this.GetActivityStreamsDelete() - } - if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike() - } - if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument() - } - if this.IsTootEmoji() { - return this.GetTootEmoji() - } - if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent() - } - if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag() - } - if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow() - } - if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup() - } - if this.IsTootIdentityProof() { - return this.GetTootIdentityProof() - } - if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore() - } - if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage() - } - if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity() - } - if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite() - } - if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin() - } - if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave() - } - if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike() - } - if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen() - } - if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove() - } - if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote() - } - if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization() - } - if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage() - } - if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson() - } - if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace() - } - if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile() - } - if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue() - } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } - if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion() - } - if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead() - } - if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject() - } - if this.IsActivityStreamsRelationship() { - return this.GetActivityStreamsRelationship() - } - if this.IsActivityStreamsRemove() { - return this.GetActivityStreamsRemove() - } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } - if this.IsActivityStreamsService() { - return this.GetActivityStreamsService() - } - if this.IsActivityStreamsTentativeAccept() { - return this.GetActivityStreamsTentativeAccept() - } - if this.IsActivityStreamsTentativeReject() { - return this.GetActivityStreamsTentativeReject() - } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } - if this.IsActivityStreamsTombstone() { - return this.GetActivityStreamsTombstone() - } - if this.IsActivityStreamsTravel() { - return this.GetActivityStreamsTravel() - } - if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo() - } - if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate() - } - if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo() - } - if this.IsActivityStreamsView() { - return this.GetActivityStreamsView() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedTicketsTrackedByProperty) HasAny() bool { - return this.IsActivityStreamsObject() || - this.IsActivityStreamsAccept() || - this.IsActivityStreamsActivity() || - this.IsActivityStreamsAdd() || - this.IsActivityStreamsAnnounce() || - this.IsActivityStreamsApplication() || - this.IsActivityStreamsArrive() || - this.IsActivityStreamsArticle() || - this.IsActivityStreamsAudio() || - this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || - this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || - this.IsActivityStreamsCreate() || - this.IsActivityStreamsDelete() || - this.IsActivityStreamsDislike() || - this.IsActivityStreamsDocument() || - this.IsTootEmoji() || - this.IsActivityStreamsEvent() || - this.IsActivityStreamsFlag() || - this.IsActivityStreamsFollow() || - this.IsActivityStreamsGroup() || - this.IsTootIdentityProof() || - this.IsActivityStreamsIgnore() || - this.IsActivityStreamsImage() || - this.IsActivityStreamsIntransitiveActivity() || - this.IsActivityStreamsInvite() || - this.IsActivityStreamsJoin() || - this.IsActivityStreamsLeave() || - this.IsActivityStreamsLike() || - this.IsActivityStreamsListen() || - this.IsActivityStreamsMove() || - this.IsActivityStreamsNote() || - this.IsActivityStreamsOffer() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.IsActivityStreamsOrganization() || - this.IsActivityStreamsPage() || - this.IsActivityStreamsPerson() || - this.IsActivityStreamsPlace() || - this.IsActivityStreamsProfile() || - this.IsSchemaPropertyValue() || - 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() || - this.IsActivityStreamsUpdate() || - this.IsActivityStreamsVideo() || - this.IsActivityStreamsView() || - this.iri != nil -} - -// IsActivityStreamsAccept returns true if this property has a type of "Accept". -// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsAccept() bool { - return this.activitystreamsAcceptMember != nil -} - -// IsActivityStreamsActivity returns true if this property has a type of -// "Activity". When true, use the GetActivityStreamsActivity and -// SetActivityStreamsActivity methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsActivity() bool { - return this.activitystreamsActivityMember != nil -} - -// IsActivityStreamsAdd returns true if this property has a type of "Add". When -// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsAdd() bool { - return this.activitystreamsAddMember != nil -} - -// IsActivityStreamsAnnounce returns true if this property has a type of -// "Announce". When true, use the GetActivityStreamsAnnounce and -// SetActivityStreamsAnnounce methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsAnnounce() bool { - return this.activitystreamsAnnounceMember != nil -} - -// IsActivityStreamsApplication returns true if this property has a type of -// "Application". When true, use the GetActivityStreamsApplication and -// SetActivityStreamsApplication methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsApplication() bool { - return this.activitystreamsApplicationMember != nil -} - -// IsActivityStreamsArrive returns true if this property has a type of "Arrive". -// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsArrive() bool { - return this.activitystreamsArriveMember != nil -} - -// IsActivityStreamsArticle returns true if this property has a type of "Article". -// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsArticle() bool { - return this.activitystreamsArticleMember != nil -} - -// IsActivityStreamsAudio returns true if this property has a type of "Audio". -// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsAudio() bool { - return this.activitystreamsAudioMember != nil -} - -// IsActivityStreamsBlock returns true if this property has a type of "Block". -// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsBlock() bool { - return this.activitystreamsBlockMember != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsCreate returns true if this property has a type of "Create". -// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsCreate() bool { - return this.activitystreamsCreateMember != nil -} - -// IsActivityStreamsDelete returns true if this property has a type of "Delete". -// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsDelete() bool { - return this.activitystreamsDeleteMember != nil -} - -// IsActivityStreamsDislike returns true if this property has a type of "Dislike". -// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsDislike() bool { - return this.activitystreamsDislikeMember != nil -} - -// IsActivityStreamsDocument returns true if this property has a type of -// "Document". When true, use the GetActivityStreamsDocument and -// SetActivityStreamsDocument methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsDocument() bool { - return this.activitystreamsDocumentMember != nil -} - -// IsActivityStreamsEvent returns true if this property has a type of "Event". -// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsEvent() bool { - return this.activitystreamsEventMember != nil -} - -// IsActivityStreamsFlag returns true if this property has a type of "Flag". When -// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsFlag() bool { - return this.activitystreamsFlagMember != nil -} - -// IsActivityStreamsFollow returns true if this property has a type of "Follow". -// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsFollow() bool { - return this.activitystreamsFollowMember != nil -} - -// IsActivityStreamsGroup returns true if this property has a type of "Group". -// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsGroup() bool { - return this.activitystreamsGroupMember != nil -} - -// IsActivityStreamsIgnore returns true if this property has a type of "Ignore". -// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsIgnore() bool { - return this.activitystreamsIgnoreMember != nil -} - -// IsActivityStreamsImage returns true if this property has a type of "Image". -// When true, use the GetActivityStreamsImage and SetActivityStreamsImage -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsImage() bool { - return this.activitystreamsImageMember != nil -} - -// IsActivityStreamsIntransitiveActivity returns true if this property has a type -// of "IntransitiveActivity". When true, use the -// GetActivityStreamsIntransitiveActivity and -// SetActivityStreamsIntransitiveActivity methods to access and set this -// property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsIntransitiveActivity() bool { - return this.activitystreamsIntransitiveActivityMember != nil -} - -// IsActivityStreamsInvite returns true if this property has a type of "Invite". -// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsInvite() bool { - return this.activitystreamsInviteMember != nil -} - -// IsActivityStreamsJoin returns true if this property has a type of "Join". When -// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsJoin() bool { - return this.activitystreamsJoinMember != nil -} - -// IsActivityStreamsLeave returns true if this property has a type of "Leave". -// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsLeave() bool { - return this.activitystreamsLeaveMember != nil -} - -// IsActivityStreamsLike returns true if this property has a type of "Like". When -// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsLike() bool { - return this.activitystreamsLikeMember != nil -} - -// IsActivityStreamsListen returns true if this property has a type of "Listen". -// When true, use the GetActivityStreamsListen and SetActivityStreamsListen -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsListen() bool { - return this.activitystreamsListenMember != nil -} - -// IsActivityStreamsMove returns true if this property has a type of "Move". When -// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsMove() bool { - return this.activitystreamsMoveMember != nil -} - -// IsActivityStreamsNote returns true if this property has a type of "Note". When -// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsNote() bool { - return this.activitystreamsNoteMember != nil -} - -// IsActivityStreamsObject returns true if this property has a type of "Object". -// When true, use the GetActivityStreamsObject and SetActivityStreamsObject -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsObject() bool { - return this.activitystreamsObjectMember != nil -} - -// IsActivityStreamsOffer returns true if this property has a type of "Offer". -// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsOffer() bool { - return this.activitystreamsOfferMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsActivityStreamsOrganization returns true if this property has a type of -// "Organization". When true, use the GetActivityStreamsOrganization and -// SetActivityStreamsOrganization methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsOrganization() bool { - return this.activitystreamsOrganizationMember != nil -} - -// IsActivityStreamsPage returns true if this property has a type of "Page". When -// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsPage() bool { - return this.activitystreamsPageMember != nil -} - -// IsActivityStreamsPerson returns true if this property has a type of "Person". -// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsActivityStreamsPlace returns true if this property has a type of "Place". -// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsPlace() bool { - return this.activitystreamsPlaceMember != nil -} - -// IsActivityStreamsProfile returns true if this property has a type of "Profile". -// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsProfile() bool { - return this.activitystreamsProfileMember != nil -} - -// IsActivityStreamsQuestion returns true if this property has a type of -// "Question". When true, use the GetActivityStreamsQuestion and -// SetActivityStreamsQuestion methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsQuestion() bool { - return this.activitystreamsQuestionMember != nil -} - -// IsActivityStreamsRead returns true if this property has a type of "Read". When -// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsRead() bool { - return this.activitystreamsReadMember != nil -} - -// IsActivityStreamsReject returns true if this property has a type of "Reject". -// When true, use the GetActivityStreamsReject and SetActivityStreamsReject -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsReject() bool { - return this.activitystreamsRejectMember != nil -} - -// IsActivityStreamsRelationship returns true if this property has a type of -// "Relationship". When true, use the GetActivityStreamsRelationship and -// SetActivityStreamsRelationship methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsRelationship() bool { - return this.activitystreamsRelationshipMember != nil -} - -// IsActivityStreamsRemove returns true if this property has a type of "Remove". -// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsRemove() bool { - return this.activitystreamsRemoveMember != nil -} - -// IsActivityStreamsService returns true if this property has a type of "Service". -// When true, use the GetActivityStreamsService and SetActivityStreamsService -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsService() bool { - return this.activitystreamsServiceMember != nil -} - -// IsActivityStreamsTentativeAccept returns true if this property has a type of -// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and -// SetActivityStreamsTentativeAccept methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsTentativeAccept() bool { - return this.activitystreamsTentativeAcceptMember != nil -} - -// IsActivityStreamsTentativeReject returns true if this property has a type of -// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and -// SetActivityStreamsTentativeReject methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsTentativeReject() bool { - return this.activitystreamsTentativeRejectMember != nil -} - -// IsActivityStreamsTombstone returns true if this property has a type of -// "Tombstone". When true, use the GetActivityStreamsTombstone and -// SetActivityStreamsTombstone methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsTombstone() bool { - return this.activitystreamsTombstoneMember != nil -} - -// IsActivityStreamsTravel returns true if this property has a type of "Travel". -// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsTravel() bool { - return this.activitystreamsTravelMember != nil -} - -// IsActivityStreamsUndo returns true if this property has a type of "Undo". When -// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsUndo() bool { - return this.activitystreamsUndoMember != nil -} - -// IsActivityStreamsUpdate returns true if this property has a type of "Update". -// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsUpdate() bool { - return this.activitystreamsUpdateMember != nil -} - -// IsActivityStreamsVideo returns true if this property has a type of "Video". -// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo -// methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsActivityStreamsVideo() bool { - return this.activitystreamsVideoMember != nil -} - -// IsActivityStreamsView returns true if this property has a type of "View". When -// true, use the GetActivityStreamsView and SetActivityStreamsView methods to -// access and set this property. -func (this ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) 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 ForgeFedTicketsTrackedByProperty) IsIRI() bool { - return this.iri != nil -} - -// IsSchemaPropertyValue returns true if this property has a type of -// "PropertyValue". When true, use the GetSchemaPropertyValue and -// SetSchemaPropertyValue methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsSchemaPropertyValue() bool { - return this.schemaPropertyValueMember != nil -} - -// IsTootEmoji returns true if this property has a type of "Emoji". When true, use -// the GetTootEmoji and SetTootEmoji methods to access and set this property. -func (this ForgeFedTicketsTrackedByProperty) IsTootEmoji() bool { - return this.tootEmojiMember != 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. -func (this ForgeFedTicketsTrackedByProperty) IsTootIdentityProof() bool { - return this.tootIdentityProofMember != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedTicketsTrackedByProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsObject() { - child = this.GetActivityStreamsObject().JSONLDContext() - } else if this.IsActivityStreamsAccept() { - child = this.GetActivityStreamsAccept().JSONLDContext() - } else if this.IsActivityStreamsActivity() { - child = this.GetActivityStreamsActivity().JSONLDContext() - } else if this.IsActivityStreamsAdd() { - child = this.GetActivityStreamsAdd().JSONLDContext() - } else if this.IsActivityStreamsAnnounce() { - child = this.GetActivityStreamsAnnounce().JSONLDContext() - } else if this.IsActivityStreamsApplication() { - child = this.GetActivityStreamsApplication().JSONLDContext() - } else if this.IsActivityStreamsArrive() { - child = this.GetActivityStreamsArrive().JSONLDContext() - } else if this.IsActivityStreamsArticle() { - child = this.GetActivityStreamsArticle().JSONLDContext() - } else if this.IsActivityStreamsAudio() { - 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() { - child = this.GetActivityStreamsDelete().JSONLDContext() - } else if this.IsActivityStreamsDislike() { - child = this.GetActivityStreamsDislike().JSONLDContext() - } else if this.IsActivityStreamsDocument() { - child = this.GetActivityStreamsDocument().JSONLDContext() - } else if this.IsTootEmoji() { - child = this.GetTootEmoji().JSONLDContext() - } else if this.IsActivityStreamsEvent() { - child = this.GetActivityStreamsEvent().JSONLDContext() - } else if this.IsActivityStreamsFlag() { - child = this.GetActivityStreamsFlag().JSONLDContext() - } else if this.IsActivityStreamsFollow() { - child = this.GetActivityStreamsFollow().JSONLDContext() - } else if this.IsActivityStreamsGroup() { - child = this.GetActivityStreamsGroup().JSONLDContext() - } else if this.IsTootIdentityProof() { - child = this.GetTootIdentityProof().JSONLDContext() - } else if this.IsActivityStreamsIgnore() { - child = this.GetActivityStreamsIgnore().JSONLDContext() - } else if this.IsActivityStreamsImage() { - child = this.GetActivityStreamsImage().JSONLDContext() - } else if this.IsActivityStreamsIntransitiveActivity() { - child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext() - } else if this.IsActivityStreamsInvite() { - child = this.GetActivityStreamsInvite().JSONLDContext() - } else if this.IsActivityStreamsJoin() { - child = this.GetActivityStreamsJoin().JSONLDContext() - } else if this.IsActivityStreamsLeave() { - child = this.GetActivityStreamsLeave().JSONLDContext() - } else if this.IsActivityStreamsLike() { - child = this.GetActivityStreamsLike().JSONLDContext() - } else if this.IsActivityStreamsListen() { - child = this.GetActivityStreamsListen().JSONLDContext() - } else if this.IsActivityStreamsMove() { - child = this.GetActivityStreamsMove().JSONLDContext() - } else if this.IsActivityStreamsNote() { - child = this.GetActivityStreamsNote().JSONLDContext() - } else if this.IsActivityStreamsOffer() { - child = this.GetActivityStreamsOffer().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrganization() { - child = this.GetActivityStreamsOrganization().JSONLDContext() - } else if this.IsActivityStreamsPage() { - child = this.GetActivityStreamsPage().JSONLDContext() - } else if this.IsActivityStreamsPerson() { - child = this.GetActivityStreamsPerson().JSONLDContext() - } else if this.IsActivityStreamsPlace() { - child = this.GetActivityStreamsPlace().JSONLDContext() - } else if this.IsActivityStreamsProfile() { - child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsSchemaPropertyValue() { - child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() - } else if this.IsActivityStreamsQuestion() { - child = this.GetActivityStreamsQuestion().JSONLDContext() - } else if this.IsActivityStreamsRead() { - child = this.GetActivityStreamsRead().JSONLDContext() - } else if this.IsActivityStreamsReject() { - child = this.GetActivityStreamsReject().JSONLDContext() - } else if this.IsActivityStreamsRelationship() { - 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() { - child = this.GetActivityStreamsTravel().JSONLDContext() - } else if this.IsActivityStreamsUndo() { - child = this.GetActivityStreamsUndo().JSONLDContext() - } else if this.IsActivityStreamsUpdate() { - child = this.GetActivityStreamsUpdate().JSONLDContext() - } else if this.IsActivityStreamsVideo() { - child = this.GetActivityStreamsVideo().JSONLDContext() - } else if this.IsActivityStreamsView() { - child = this.GetActivityStreamsView().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedTicketsTrackedByProperty) KindIndex() int { - if this.IsActivityStreamsObject() { - return 0 - } - if this.IsActivityStreamsAccept() { - return 1 - } - if this.IsActivityStreamsActivity() { - return 2 - } - if this.IsActivityStreamsAdd() { - return 3 - } - if this.IsActivityStreamsAnnounce() { - return 4 - } - if this.IsActivityStreamsApplication() { - return 5 - } - if this.IsActivityStreamsArrive() { - return 6 - } - if this.IsActivityStreamsArticle() { - return 7 - } - if this.IsActivityStreamsAudio() { - return 8 - } - if this.IsActivityStreamsBlock() { - return 9 - } - if this.IsForgeFedBranch() { - return 10 - } - if this.IsActivityStreamsCollection() { - return 11 - } - if this.IsActivityStreamsCollectionPage() { - return 12 - } - if this.IsForgeFedCommit() { - return 13 - } - if this.IsActivityStreamsCreate() { - return 14 - } - if this.IsActivityStreamsDelete() { - return 15 - } - if this.IsActivityStreamsDislike() { - return 16 - } - if this.IsActivityStreamsDocument() { - return 17 - } - if this.IsTootEmoji() { - return 18 - } - if this.IsActivityStreamsEvent() { - return 19 - } - if this.IsActivityStreamsFlag() { - return 20 - } - if this.IsActivityStreamsFollow() { - return 21 - } - if this.IsActivityStreamsGroup() { - return 22 - } - if this.IsTootIdentityProof() { - return 23 - } - if this.IsActivityStreamsIgnore() { - return 24 - } - if this.IsActivityStreamsImage() { - return 25 - } - if this.IsActivityStreamsIntransitiveActivity() { - return 26 - } - if this.IsActivityStreamsInvite() { - return 27 - } - if this.IsActivityStreamsJoin() { - return 28 - } - if this.IsActivityStreamsLeave() { - return 29 - } - if this.IsActivityStreamsLike() { - return 30 - } - if this.IsActivityStreamsListen() { - return 31 - } - if this.IsActivityStreamsMove() { - return 32 - } - if this.IsActivityStreamsNote() { - return 33 - } - if this.IsActivityStreamsOffer() { - return 34 - } - if this.IsActivityStreamsOrderedCollection() { - return 35 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 36 - } - if this.IsActivityStreamsOrganization() { - return 37 - } - if this.IsActivityStreamsPage() { - return 38 - } - if this.IsActivityStreamsPerson() { - return 39 - } - if this.IsActivityStreamsPlace() { - return 40 - } - if this.IsActivityStreamsProfile() { - return 41 - } - if this.IsSchemaPropertyValue() { - return 42 - } - if this.IsForgeFedPush() { - return 43 - } - if this.IsActivityStreamsQuestion() { - return 44 - } - if this.IsActivityStreamsRead() { - return 45 - } - if this.IsActivityStreamsReject() { - return 46 - } - if this.IsActivityStreamsRelationship() { - return 47 - } - if this.IsActivityStreamsRemove() { - return 48 - } - if this.IsForgeFedRepository() { - return 49 - } - if this.IsActivityStreamsService() { - return 50 - } - if this.IsActivityStreamsTentativeAccept() { - return 51 - } - if this.IsActivityStreamsTentativeReject() { - return 52 - } - if this.IsForgeFedTicket() { - return 53 - } - if this.IsForgeFedTicketDependency() { - 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 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedTicketsTrackedByProperty) LessThan(o vocab.ForgeFedTicketsTrackedByProperty) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject()) - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept()) - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity()) - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd()) - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive()) - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle()) - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete()) - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike()) - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument()) - } else if this.IsTootEmoji() { - return this.GetTootEmoji().LessThan(o.GetTootEmoji()) - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent()) - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag()) - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore()) - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity()) - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite()) - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin()) - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave()) - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove()) - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote()) - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization()) - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage()) - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson()) - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead()) - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject()) - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel()) - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo()) - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate()) - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo()) - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "ticketsTrackedBy". -func (this ForgeFedTicketsTrackedByProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ticketsTrackedBy" - } else { - return "ticketsTrackedBy" - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedTicketsTrackedByProperty) Serialize() (interface{}, error) { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().Serialize() - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().Serialize() - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().Serialize() - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().Serialize() - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().Serialize() - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().Serialize() - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().Serialize() - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().Serialize() - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().Serialize() - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().Serialize() - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().Serialize() - } else if this.IsTootEmoji() { - return this.GetTootEmoji().Serialize() - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().Serialize() - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().Serialize() - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().Serialize() - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().Serialize() - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().Serialize() - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().Serialize() - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().Serialize() - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().Serialize() - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().Serialize() - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().Serialize() - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().Serialize() - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().Serialize() - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().Serialize() - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().Serialize() - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().Serialize() - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().Serialize() - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().Serialize() - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().Serialize() - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().Serialize() - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().Serialize() - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().Serialize() - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().Serialize() - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().Serialize() - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().Serialize() - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().Serialize() - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().Serialize() - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().Serialize() - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// SetActivityStreamsAccept sets the value of this property. Calling -// IsActivityStreamsAccept afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.Clear() - this.activitystreamsAcceptMember = v -} - -// SetActivityStreamsActivity sets the value of this property. Calling -// IsActivityStreamsActivity afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.Clear() - this.activitystreamsActivityMember = v -} - -// SetActivityStreamsAdd sets the value of this property. Calling -// IsActivityStreamsAdd afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.Clear() - this.activitystreamsAddMember = v -} - -// SetActivityStreamsAnnounce sets the value of this property. Calling -// IsActivityStreamsAnnounce afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.Clear() - this.activitystreamsAnnounceMember = v -} - -// SetActivityStreamsApplication sets the value of this property. Calling -// IsActivityStreamsApplication afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.Clear() - this.activitystreamsApplicationMember = v -} - -// SetActivityStreamsArrive sets the value of this property. Calling -// IsActivityStreamsArrive afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.Clear() - this.activitystreamsArriveMember = v -} - -// SetActivityStreamsArticle sets the value of this property. Calling -// IsActivityStreamsArticle afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.Clear() - this.activitystreamsArticleMember = v -} - -// SetActivityStreamsAudio sets the value of this property. Calling -// IsActivityStreamsAudio afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.Clear() - this.activitystreamsAudioMember = v -} - -// SetActivityStreamsBlock sets the value of this property. Calling -// IsActivityStreamsBlock afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.Clear() - this.activitystreamsBlockMember = v -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.Clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.Clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsCreate sets the value of this property. Calling -// IsActivityStreamsCreate afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.Clear() - this.activitystreamsCreateMember = v -} - -// SetActivityStreamsDelete sets the value of this property. Calling -// IsActivityStreamsDelete afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.Clear() - this.activitystreamsDeleteMember = v -} - -// SetActivityStreamsDislike sets the value of this property. Calling -// IsActivityStreamsDislike afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.Clear() - this.activitystreamsDislikeMember = v -} - -// SetActivityStreamsDocument sets the value of this property. Calling -// IsActivityStreamsDocument afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.Clear() - this.activitystreamsDocumentMember = v -} - -// SetActivityStreamsEvent sets the value of this property. Calling -// IsActivityStreamsEvent afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.Clear() - this.activitystreamsEventMember = v -} - -// SetActivityStreamsFlag sets the value of this property. Calling -// IsActivityStreamsFlag afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.Clear() - this.activitystreamsFlagMember = v -} - -// SetActivityStreamsFollow sets the value of this property. Calling -// IsActivityStreamsFollow afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.Clear() - this.activitystreamsFollowMember = v -} - -// SetActivityStreamsGroup sets the value of this property. Calling -// IsActivityStreamsGroup afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.Clear() - this.activitystreamsGroupMember = v -} - -// SetActivityStreamsIgnore sets the value of this property. Calling -// IsActivityStreamsIgnore afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.Clear() - this.activitystreamsIgnoreMember = v -} - -// SetActivityStreamsImage sets the value of this property. Calling -// IsActivityStreamsImage afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.Clear() - this.activitystreamsImageMember = v -} - -// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling -// IsActivityStreamsIntransitiveActivity afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.Clear() - this.activitystreamsIntransitiveActivityMember = v -} - -// SetActivityStreamsInvite sets the value of this property. Calling -// IsActivityStreamsInvite afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.Clear() - this.activitystreamsInviteMember = v -} - -// SetActivityStreamsJoin sets the value of this property. Calling -// IsActivityStreamsJoin afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.Clear() - this.activitystreamsJoinMember = v -} - -// SetActivityStreamsLeave sets the value of this property. Calling -// IsActivityStreamsLeave afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.Clear() - this.activitystreamsLeaveMember = v -} - -// SetActivityStreamsLike sets the value of this property. Calling -// IsActivityStreamsLike afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.Clear() - this.activitystreamsLikeMember = v -} - -// SetActivityStreamsListen sets the value of this property. Calling -// IsActivityStreamsListen afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.Clear() - this.activitystreamsListenMember = v -} - -// SetActivityStreamsMove sets the value of this property. Calling -// IsActivityStreamsMove afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.Clear() - this.activitystreamsMoveMember = v -} - -// SetActivityStreamsNote sets the value of this property. Calling -// IsActivityStreamsNote afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.Clear() - this.activitystreamsNoteMember = v -} - -// SetActivityStreamsObject sets the value of this property. Calling -// IsActivityStreamsObject afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.Clear() - this.activitystreamsObjectMember = v -} - -// SetActivityStreamsOffer sets the value of this property. Calling -// IsActivityStreamsOffer afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.Clear() - this.activitystreamsOfferMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.Clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.Clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetActivityStreamsOrganization sets the value of this property. Calling -// IsActivityStreamsOrganization afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.Clear() - this.activitystreamsOrganizationMember = v -} - -// SetActivityStreamsPage sets the value of this property. Calling -// IsActivityStreamsPage afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.Clear() - this.activitystreamsPageMember = v -} - -// SetActivityStreamsPerson sets the value of this property. Calling -// IsActivityStreamsPerson afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.Clear() - this.activitystreamsPersonMember = v -} - -// SetActivityStreamsPlace sets the value of this property. Calling -// IsActivityStreamsPlace afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.Clear() - this.activitystreamsPlaceMember = v -} - -// SetActivityStreamsProfile sets the value of this property. Calling -// IsActivityStreamsProfile afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.Clear() - this.activitystreamsProfileMember = v -} - -// SetActivityStreamsQuestion sets the value of this property. Calling -// IsActivityStreamsQuestion afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.Clear() - this.activitystreamsQuestionMember = v -} - -// SetActivityStreamsRead sets the value of this property. Calling -// IsActivityStreamsRead afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.Clear() - this.activitystreamsReadMember = v -} - -// SetActivityStreamsReject sets the value of this property. Calling -// IsActivityStreamsReject afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.Clear() - this.activitystreamsRejectMember = v -} - -// SetActivityStreamsRelationship sets the value of this property. Calling -// IsActivityStreamsRelationship afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.Clear() - this.activitystreamsRelationshipMember = v -} - -// SetActivityStreamsRemove sets the value of this property. Calling -// IsActivityStreamsRemove afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.Clear() - this.activitystreamsRemoveMember = v -} - -// SetActivityStreamsService sets the value of this property. Calling -// IsActivityStreamsService afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsService(v vocab.ActivityStreamsService) { - this.Clear() - this.activitystreamsServiceMember = v -} - -// SetActivityStreamsTentativeAccept sets the value of this property. Calling -// IsActivityStreamsTentativeAccept afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.Clear() - this.activitystreamsTentativeAcceptMember = v -} - -// SetActivityStreamsTentativeReject sets the value of this property. Calling -// IsActivityStreamsTentativeReject afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.Clear() - this.activitystreamsTentativeRejectMember = v -} - -// SetActivityStreamsTombstone sets the value of this property. Calling -// IsActivityStreamsTombstone afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.Clear() - this.activitystreamsTombstoneMember = v -} - -// SetActivityStreamsTravel sets the value of this property. Calling -// IsActivityStreamsTravel afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.Clear() - this.activitystreamsTravelMember = v -} - -// SetActivityStreamsUndo sets the value of this property. Calling -// IsActivityStreamsUndo afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.Clear() - this.activitystreamsUndoMember = v -} - -// SetActivityStreamsUpdate sets the value of this property. Calling -// IsActivityStreamsUpdate afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.Clear() - this.activitystreamsUpdateMember = v -} - -// SetActivityStreamsVideo sets the value of this property. Calling -// IsActivityStreamsVideo afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.Clear() - this.activitystreamsVideoMember = v -} - -// SetActivityStreamsView sets the value of this property. Calling -// IsActivityStreamsView afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetActivityStreamsView(v vocab.ActivityStreamsView) { - this.Clear() - this.activitystreamsViewMember = v -} - -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.Clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.Clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedPush(v vocab.ForgeFedPush) { - this.Clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.Clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.Clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.Clear() - this.forgefedTicketDependencyMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetIRI(v *url.URL) { - this.Clear() - this.iri = v -} - -// SetSchemaPropertyValue sets the value of this property. Calling -// IsSchemaPropertyValue afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.Clear() - this.schemaPropertyValueMember = v -} - -// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards -// returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetTootEmoji(v vocab.TootEmoji) { - this.Clear() - this.tootEmojiMember = v -} - -// SetTootIdentityProof sets the value of this property. Calling -// IsTootIdentityProof afterwards returns true. -func (this *ForgeFedTicketsTrackedByProperty) SetTootIdentityProof(v vocab.TootIdentityProof) { - this.Clear() - this.tootIdentityProofMember = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedTicketsTrackedByProperty) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsObject); ok { - this.SetActivityStreamsObject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAccept); ok { - this.SetActivityStreamsAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsActivity); ok { - this.SetActivityStreamsActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAdd); ok { - this.SetActivityStreamsAdd(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAnnounce); ok { - this.SetActivityStreamsAnnounce(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsApplication); ok { - this.SetActivityStreamsApplication(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArrive); ok { - this.SetActivityStreamsArrive(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArticle); ok { - this.SetActivityStreamsArticle(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAudio); ok { - this.SetActivityStreamsAudio(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsBlock); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsDelete); ok { - this.SetActivityStreamsDelete(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDislike); ok { - this.SetActivityStreamsDislike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDocument); ok { - this.SetActivityStreamsDocument(v) - return nil - } - if v, ok := t.(vocab.TootEmoji); ok { - this.SetTootEmoji(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsEvent); ok { - this.SetActivityStreamsEvent(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFlag); ok { - this.SetActivityStreamsFlag(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFollow); ok { - this.SetActivityStreamsFollow(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsGroup); ok { - this.SetActivityStreamsGroup(v) - return nil - } - if v, ok := t.(vocab.TootIdentityProof); ok { - this.SetTootIdentityProof(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIgnore); ok { - this.SetActivityStreamsIgnore(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsImage); ok { - this.SetActivityStreamsImage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok { - this.SetActivityStreamsIntransitiveActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsInvite); ok { - this.SetActivityStreamsInvite(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsJoin); ok { - this.SetActivityStreamsJoin(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLeave); ok { - this.SetActivityStreamsLeave(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLike); ok { - this.SetActivityStreamsLike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsListen); ok { - this.SetActivityStreamsListen(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMove); ok { - this.SetActivityStreamsMove(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsNote); ok { - this.SetActivityStreamsNote(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOffer); ok { - this.SetActivityStreamsOffer(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrganization); ok { - this.SetActivityStreamsOrganization(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPage); ok { - this.SetActivityStreamsPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.SetActivityStreamsPerson(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPlace); ok { - this.SetActivityStreamsPlace(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsProfile); ok { - this.SetActivityStreamsProfile(v) - return nil - } - if v, ok := t.(vocab.SchemaPropertyValue); ok { - this.SetSchemaPropertyValue(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 - } - if v, ok := t.(vocab.ActivityStreamsRead); ok { - this.SetActivityStreamsRead(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsReject); ok { - this.SetActivityStreamsReject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRelationship); ok { - this.SetActivityStreamsRelationship(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRemove); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok { - this.SetActivityStreamsTentativeAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTravel); ok { - this.SetActivityStreamsTravel(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUndo); ok { - this.SetActivityStreamsUndo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUpdate); ok { - this.SetActivityStreamsUpdate(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsVideo); ok { - this.SetActivityStreamsVideo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsView); ok { - this.SetActivityStreamsView(v) - return nil - } - - return fmt.Errorf("illegal type to set on ticketsTrackedBy property: %T", t) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_doc.go deleted file mode 100644 index 6b98a7452..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package propertytracksticketsfor contains the implementation for the -// tracksTicketsFor property. All applications are strongly encouraged to use -// the interface instead of this concrete definition. The interfaces allow -// applications to consume only the types and properties needed and be -// independent of the go-fed implementation if another alternative -// implementation is created. This package is code-generated and subject to -// the same license as the go-fed tool used to generate it. -// -// This package is independent of other types' and properties' implementations -// by having a Manager injected into it to act as a factory for the concrete -// implementations. The implementations have been generated into their own -// separate subpackages for each vocabulary. -// -// Strongly consider using the interfaces instead of this package. -package propertytracksticketsfor diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_pkg.go deleted file mode 100644 index e17fb84b9..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_pkg.go +++ /dev/null @@ -1,261 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertytracksticketsfor - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAcceptActivityStreams returns the deserialization method for - // the "ActivityStreamsAccept" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAccept, error) - // DeserializeActivityActivityStreams returns the deserialization method - // for the "ActivityStreamsActivity" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActivity, error) - // DeserializeAddActivityStreams returns the deserialization method for - // the "ActivityStreamsAdd" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeAddActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAdd, error) - // DeserializeAnnounceActivityStreams returns the deserialization method - // for the "ActivityStreamsAnnounce" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAnnounceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAnnounce, error) - // DeserializeApplicationActivityStreams returns the deserialization - // method for the "ActivityStreamsApplication" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeApplicationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsApplication, error) - // DeserializeArriveActivityStreams returns the deserialization method for - // the "ActivityStreamsArrive" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArriveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArrive, error) - // DeserializeArticleActivityStreams returns the deserialization method - // for the "ActivityStreamsArticle" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeArticleActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsArticle, error) - // DeserializeAudioActivityStreams returns the deserialization method for - // the "ActivityStreamsAudio" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeAudioActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudio, error) - // DeserializeBlockActivityStreams returns the deserialization method for - // 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" - DeserializeCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollection, error) - // DeserializeCollectionPageActivityStreams returns the deserialization - // 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" - DeserializeCreateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCreate, error) - // DeserializeDeleteActivityStreams returns the deserialization method for - // the "ActivityStreamsDelete" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDeleteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDelete, error) - // DeserializeDislikeActivityStreams returns the deserialization method - // for the "ActivityStreamsDislike" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDislikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDislike, error) - // DeserializeDocumentActivityStreams returns the deserialization method - // for the "ActivityStreamsDocument" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeDocumentActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDocument, error) - // DeserializeEmojiToot returns the deserialization method for the - // "TootEmoji" non-functional property in the vocabulary "Toot" - DeserializeEmojiToot() func(map[string]interface{}, map[string]string) (vocab.TootEmoji, error) - // DeserializeEventActivityStreams returns the deserialization method for - // the "ActivityStreamsEvent" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeEventActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEvent, error) - // DeserializeFlagActivityStreams returns the deserialization method for - // the "ActivityStreamsFlag" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeFlagActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFlag, error) - // DeserializeFollowActivityStreams returns the deserialization method for - // the "ActivityStreamsFollow" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeFollowActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsFollow, error) - // DeserializeGroupActivityStreams returns the deserialization method for - // the "ActivityStreamsGroup" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeGroupActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGroup, 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) - // DeserializeIgnoreActivityStreams returns the deserialization method for - // the "ActivityStreamsIgnore" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeIgnoreActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIgnore, error) - // DeserializeImageActivityStreams returns the deserialization method for - // the "ActivityStreamsImage" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeImageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImage, error) - // DeserializeIntransitiveActivityActivityStreams returns the - // deserialization method for the - // "ActivityStreamsIntransitiveActivity" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeIntransitiveActivityActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIntransitiveActivity, error) - // DeserializeInviteActivityStreams returns the deserialization method for - // the "ActivityStreamsInvite" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeInviteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInvite, error) - // DeserializeJoinActivityStreams returns the deserialization method for - // the "ActivityStreamsJoin" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeJoinActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsJoin, error) - // DeserializeLeaveActivityStreams returns the deserialization method for - // the "ActivityStreamsLeave" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeLeaveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLeave, error) - // DeserializeLikeActivityStreams returns the deserialization method for - // the "ActivityStreamsLike" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeLikeActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLike, error) - // DeserializeListenActivityStreams returns the deserialization method for - // the "ActivityStreamsListen" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeListenActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsListen, error) - // DeserializeMoveActivityStreams returns the deserialization method for - // the "ActivityStreamsMove" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeMoveActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMove, error) - // DeserializeNoteActivityStreams returns the deserialization method for - // the "ActivityStreamsNote" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeNoteActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNote, error) - // DeserializeObjectActivityStreams returns the deserialization method for - // the "ActivityStreamsObject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeObjectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObject, error) - // DeserializeOfferActivityStreams returns the deserialization method for - // the "ActivityStreamsOffer" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeOfferActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOffer, error) - // DeserializeOrderedCollectionActivityStreams returns the deserialization - // method for the "ActivityStreamsOrderedCollection" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrderedCollectionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollection, error) - // DeserializeOrderedCollectionPageActivityStreams returns the - // deserialization method for the - // "ActivityStreamsOrderedCollectionPage" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, error) - // DeserializeOrganizationActivityStreams returns the deserialization - // method for the "ActivityStreamsOrganization" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOrganizationActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrganization, error) - // DeserializePageActivityStreams returns the deserialization method for - // the "ActivityStreamsPage" non-functional property in the vocabulary - // "ActivityStreams" - DeserializePageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPage, error) - // DeserializePersonActivityStreams returns the deserialization method for - // the "ActivityStreamsPerson" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePersonActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPerson, error) - // DeserializePlaceActivityStreams returns the deserialization method for - // the "ActivityStreamsPlace" non-functional property in the - // vocabulary "ActivityStreams" - DeserializePlaceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPlace, error) - // DeserializeProfileActivityStreams returns the deserialization method - // for the "ActivityStreamsProfile" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeProfileActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsProfile, error) - // DeserializePropertyValueSchema returns the deserialization method for - // the "SchemaPropertyValue" non-functional property in the vocabulary - // "Schema" - DeserializePropertyValueSchema() func(map[string]interface{}, map[string]string) (vocab.SchemaPropertyValue, 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" - DeserializeQuestionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsQuestion, error) - // DeserializeReadActivityStreams returns the deserialization method for - // the "ActivityStreamsRead" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeReadActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRead, error) - // DeserializeRejectActivityStreams returns the deserialization method for - // the "ActivityStreamsReject" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeRejectActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsReject, error) - // DeserializeRelationshipActivityStreams returns the deserialization - // method for the "ActivityStreamsRelationship" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRelationshipActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationship, error) - // DeserializeRemoveActivityStreams returns the deserialization method for - // 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" - DeserializeServiceActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsService, error) - // DeserializeTentativeAcceptActivityStreams returns the deserialization - // method for the "ActivityStreamsTentativeAccept" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTentativeAcceptActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTentativeAccept, error) - // DeserializeTentativeRejectActivityStreams returns the deserialization - // 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" - DeserializeTombstoneActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTombstone, error) - // DeserializeTravelActivityStreams returns the deserialization method for - // the "ActivityStreamsTravel" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeTravelActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTravel, error) - // DeserializeUndoActivityStreams returns the deserialization method for - // the "ActivityStreamsUndo" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeUndoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUndo, error) - // DeserializeUpdateActivityStreams returns the deserialization method for - // the "ActivityStreamsUpdate" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeUpdateActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdate, error) - // DeserializeVideoActivityStreams returns the deserialization method for - // the "ActivityStreamsVideo" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeVideoActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsVideo, error) - // DeserializeViewActivityStreams returns the deserialization method for - // the "ActivityStreamsView" non-functional property in the vocabulary - // "ActivityStreams" - DeserializeViewActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsView, error) -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_property_forgefed_tracksTicketsFor.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_property_forgefed_tracksTicketsFor.go deleted file mode 100644 index 858a6f25e..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor/gen_property_forgefed_tracksTicketsFor.go +++ /dev/null @@ -1,6986 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package propertytracksticketsfor - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "net/url" -) - -// ForgeFedTracksTicketsForPropertyIterator is an iterator for a property. It is -// permitted to be one of multiple value types. At most, one type of value can -// be present, or none at all. Setting a value will clear the other types of -// values so that only one of the 'Is' methods will return true. It is -// possible to clear all values, so that this property is empty. -type ForgeFedTracksTicketsForPropertyIterator struct { - activitystreamsObjectMember vocab.ActivityStreamsObject - activitystreamsAcceptMember vocab.ActivityStreamsAccept - activitystreamsActivityMember vocab.ActivityStreamsActivity - activitystreamsAddMember vocab.ActivityStreamsAdd - activitystreamsAnnounceMember vocab.ActivityStreamsAnnounce - activitystreamsApplicationMember vocab.ActivityStreamsApplication - activitystreamsArriveMember vocab.ActivityStreamsArrive - 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 - activitystreamsDocumentMember vocab.ActivityStreamsDocument - tootEmojiMember vocab.TootEmoji - activitystreamsEventMember vocab.ActivityStreamsEvent - activitystreamsFlagMember vocab.ActivityStreamsFlag - activitystreamsFollowMember vocab.ActivityStreamsFollow - activitystreamsGroupMember vocab.ActivityStreamsGroup - tootIdentityProofMember vocab.TootIdentityProof - activitystreamsIgnoreMember vocab.ActivityStreamsIgnore - activitystreamsImageMember vocab.ActivityStreamsImage - activitystreamsIntransitiveActivityMember vocab.ActivityStreamsIntransitiveActivity - activitystreamsInviteMember vocab.ActivityStreamsInvite - activitystreamsJoinMember vocab.ActivityStreamsJoin - activitystreamsLeaveMember vocab.ActivityStreamsLeave - activitystreamsLikeMember vocab.ActivityStreamsLike - activitystreamsListenMember vocab.ActivityStreamsListen - activitystreamsMoveMember vocab.ActivityStreamsMove - activitystreamsNoteMember vocab.ActivityStreamsNote - activitystreamsOfferMember vocab.ActivityStreamsOffer - activitystreamsOrderedCollectionMember vocab.ActivityStreamsOrderedCollection - activitystreamsOrderedCollectionPageMember vocab.ActivityStreamsOrderedCollectionPage - activitystreamsOrganizationMember vocab.ActivityStreamsOrganization - activitystreamsPageMember vocab.ActivityStreamsPage - activitystreamsPersonMember vocab.ActivityStreamsPerson - activitystreamsPlaceMember vocab.ActivityStreamsPlace - activitystreamsProfileMember vocab.ActivityStreamsProfile - schemaPropertyValueMember vocab.SchemaPropertyValue - 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 - activitystreamsUpdateMember vocab.ActivityStreamsUpdate - activitystreamsVideoMember vocab.ActivityStreamsVideo - activitystreamsViewMember vocab.ActivityStreamsView - unknown interface{} - iri *url.URL - alias string - myIdx int - parent vocab.ForgeFedTracksTicketsForProperty -} - -// NewForgeFedTracksTicketsForPropertyIterator creates a new -// ForgeFedTracksTicketsFor property. -func NewForgeFedTracksTicketsForPropertyIterator() *ForgeFedTracksTicketsForPropertyIterator { - return &ForgeFedTracksTicketsForPropertyIterator{alias: ""} -} - -// deserializeForgeFedTracksTicketsForPropertyIterator creates an iterator from an -// element that has been unmarshalled from a text or binary format. -func deserializeForgeFedTracksTicketsForPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedTracksTicketsForPropertyIterator, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - if s, ok := i.(string); ok { - u, err := url.Parse(s) - // If error exists, don't error out -- skip this and treat as unknown string ([]byte) at worst - // Also, if no scheme exists, don't treat it as a URL -- net/url is greedy - if err == nil && len(u.Scheme) > 0 { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - iri: u, - } - return this, nil - } - } - if m, ok := i.(map[string]interface{}); ok { - if v, err := mgr.DeserializeObjectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsObjectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAddActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAddMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAnnounceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeApplicationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsApplicationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArriveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArriveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeArticleActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArticleMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeAudioActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAudioMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBlockActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsBlockMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeBranchForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedBranchMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeCommitForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedCommitMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeCreateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCreateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDeleteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDeleteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDislikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDislikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeDocumentActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDocumentMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeEmojiToot()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - tootEmojiMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeEventActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsEventMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFlagActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFlagMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeFollowActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFollowMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeGroupActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsGroupMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIdentityProofToot()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - tootIdentityProofMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeIgnoreActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeImageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsImageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeIntransitiveActivityActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeInviteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsInviteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeJoinActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsJoinMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLeaveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLeaveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeLikeActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLikeMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeListenActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsListenMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeMoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsMoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeNoteActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsNoteMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOfferActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOfferMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrderedCollectionPageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeOrganizationActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePageActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPageMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePersonActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPersonMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePlaceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPlaceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeProfileActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsProfileMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializePropertyValueSchema()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - schemaPropertyValueMember: v, - } - return this, nil - } else if v, err := mgr.DeserializePushForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedPushMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeQuestionActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsQuestionMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeReadActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsReadMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRelationshipActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRemoveActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRemoveMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeRepositoryForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedRepositoryMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeServiceActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsServiceMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeAcceptActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTentativeRejectActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedTicketMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTicketDependencyForgeFed()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - forgefedTicketDependencyMember: v, - } - return this, nil - } else if v, err := mgr.DeserializeTombstoneActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeTravelActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTravelMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUndoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUndoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeUpdateActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUpdateMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeVideoActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsVideoMember: v, - alias: alias, - } - return this, nil - } else if v, err := mgr.DeserializeViewActivityStreams()(m, aliasMap); err == nil { - this := &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsViewMember: v, - alias: alias, - } - return this, nil - } - } - this := &ForgeFedTracksTicketsForPropertyIterator{ - alias: alias, - unknown: i, - } - return this, nil -} - -// GetActivityStreamsAccept returns the value of this property. When -// IsActivityStreamsAccept returns false, GetActivityStreamsAccept will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsAccept() vocab.ActivityStreamsAccept { - return this.activitystreamsAcceptMember -} - -// GetActivityStreamsActivity returns the value of this property. When -// IsActivityStreamsActivity returns false, GetActivityStreamsActivity will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsActivity() vocab.ActivityStreamsActivity { - return this.activitystreamsActivityMember -} - -// GetActivityStreamsAdd returns the value of this property. When -// IsActivityStreamsAdd returns false, GetActivityStreamsAdd will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsAdd() vocab.ActivityStreamsAdd { - return this.activitystreamsAddMember -} - -// GetActivityStreamsAnnounce returns the value of this property. When -// IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsAnnounce() vocab.ActivityStreamsAnnounce { - return this.activitystreamsAnnounceMember -} - -// GetActivityStreamsApplication returns the value of this property. When -// IsActivityStreamsApplication returns false, GetActivityStreamsApplication -// will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsApplication() vocab.ActivityStreamsApplication { - return this.activitystreamsApplicationMember -} - -// GetActivityStreamsArrive returns the value of this property. When -// IsActivityStreamsArrive returns false, GetActivityStreamsArrive will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsArrive() vocab.ActivityStreamsArrive { - return this.activitystreamsArriveMember -} - -// GetActivityStreamsArticle returns the value of this property. When -// IsActivityStreamsArticle returns false, GetActivityStreamsArticle will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsArticle() vocab.ActivityStreamsArticle { - return this.activitystreamsArticleMember -} - -// GetActivityStreamsAudio returns the value of this property. When -// IsActivityStreamsAudio returns false, GetActivityStreamsAudio will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsAudio() vocab.ActivityStreamsAudio { - return this.activitystreamsAudioMember -} - -// GetActivityStreamsBlock returns the value of this property. When -// IsActivityStreamsBlock returns false, GetActivityStreamsBlock will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsBlock() vocab.ActivityStreamsBlock { - return this.activitystreamsBlockMember -} - -// GetActivityStreamsCollection returns the value of this property. When -// IsActivityStreamsCollection returns false, GetActivityStreamsCollection -// will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsCollection() vocab.ActivityStreamsCollection { - return this.activitystreamsCollectionMember -} - -// GetActivityStreamsCollectionPage returns the value of this property. When -// IsActivityStreamsCollectionPage returns false, -// GetActivityStreamsCollectionPage will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsCollectionPage() vocab.ActivityStreamsCollectionPage { - return this.activitystreamsCollectionPageMember -} - -// GetActivityStreamsCreate returns the value of this property. When -// IsActivityStreamsCreate returns false, GetActivityStreamsCreate will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsCreate() vocab.ActivityStreamsCreate { - return this.activitystreamsCreateMember -} - -// GetActivityStreamsDelete returns the value of this property. When -// IsActivityStreamsDelete returns false, GetActivityStreamsDelete will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsDelete() vocab.ActivityStreamsDelete { - return this.activitystreamsDeleteMember -} - -// GetActivityStreamsDislike returns the value of this property. When -// IsActivityStreamsDislike returns false, GetActivityStreamsDislike will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsDislike() vocab.ActivityStreamsDislike { - return this.activitystreamsDislikeMember -} - -// GetActivityStreamsDocument returns the value of this property. When -// IsActivityStreamsDocument returns false, GetActivityStreamsDocument will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsDocument() vocab.ActivityStreamsDocument { - return this.activitystreamsDocumentMember -} - -// GetActivityStreamsEvent returns the value of this property. When -// IsActivityStreamsEvent returns false, GetActivityStreamsEvent will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsEvent() vocab.ActivityStreamsEvent { - return this.activitystreamsEventMember -} - -// GetActivityStreamsFlag returns the value of this property. When -// IsActivityStreamsFlag returns false, GetActivityStreamsFlag will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsFlag() vocab.ActivityStreamsFlag { - return this.activitystreamsFlagMember -} - -// GetActivityStreamsFollow returns the value of this property. When -// IsActivityStreamsFollow returns false, GetActivityStreamsFollow will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsFollow() vocab.ActivityStreamsFollow { - return this.activitystreamsFollowMember -} - -// GetActivityStreamsGroup returns the value of this property. When -// IsActivityStreamsGroup returns false, GetActivityStreamsGroup will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsGroup() vocab.ActivityStreamsGroup { - return this.activitystreamsGroupMember -} - -// GetActivityStreamsIgnore returns the value of this property. When -// IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsIgnore() vocab.ActivityStreamsIgnore { - return this.activitystreamsIgnoreMember -} - -// GetActivityStreamsImage returns the value of this property. When -// IsActivityStreamsImage returns false, GetActivityStreamsImage will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsImage() vocab.ActivityStreamsImage { - return this.activitystreamsImageMember -} - -// GetActivityStreamsIntransitiveActivity returns the value of this property. When -// IsActivityStreamsIntransitiveActivity returns false, -// GetActivityStreamsIntransitiveActivity will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsIntransitiveActivity() vocab.ActivityStreamsIntransitiveActivity { - return this.activitystreamsIntransitiveActivityMember -} - -// GetActivityStreamsInvite returns the value of this property. When -// IsActivityStreamsInvite returns false, GetActivityStreamsInvite will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsInvite() vocab.ActivityStreamsInvite { - return this.activitystreamsInviteMember -} - -// GetActivityStreamsJoin returns the value of this property. When -// IsActivityStreamsJoin returns false, GetActivityStreamsJoin will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsJoin() vocab.ActivityStreamsJoin { - return this.activitystreamsJoinMember -} - -// GetActivityStreamsLeave returns the value of this property. When -// IsActivityStreamsLeave returns false, GetActivityStreamsLeave will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsLeave() vocab.ActivityStreamsLeave { - return this.activitystreamsLeaveMember -} - -// GetActivityStreamsLike returns the value of this property. When -// IsActivityStreamsLike returns false, GetActivityStreamsLike will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsLike() vocab.ActivityStreamsLike { - return this.activitystreamsLikeMember -} - -// GetActivityStreamsListen returns the value of this property. When -// IsActivityStreamsListen returns false, GetActivityStreamsListen will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsListen() vocab.ActivityStreamsListen { - return this.activitystreamsListenMember -} - -// GetActivityStreamsMove returns the value of this property. When -// IsActivityStreamsMove returns false, GetActivityStreamsMove will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsMove() vocab.ActivityStreamsMove { - return this.activitystreamsMoveMember -} - -// GetActivityStreamsNote returns the value of this property. When -// IsActivityStreamsNote returns false, GetActivityStreamsNote will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsNote() vocab.ActivityStreamsNote { - return this.activitystreamsNoteMember -} - -// GetActivityStreamsObject returns the value of this property. When -// IsActivityStreamsObject returns false, GetActivityStreamsObject will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsObject() vocab.ActivityStreamsObject { - return this.activitystreamsObjectMember -} - -// GetActivityStreamsOffer returns the value of this property. When -// IsActivityStreamsOffer returns false, GetActivityStreamsOffer will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsOffer() vocab.ActivityStreamsOffer { - return this.activitystreamsOfferMember -} - -// GetActivityStreamsOrderedCollection returns the value of this property. When -// IsActivityStreamsOrderedCollection returns false, -// GetActivityStreamsOrderedCollection will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsOrderedCollection() vocab.ActivityStreamsOrderedCollection { - return this.activitystreamsOrderedCollectionMember -} - -// GetActivityStreamsOrderedCollectionPage returns the value of this property. -// When IsActivityStreamsOrderedCollectionPage returns false, -// GetActivityStreamsOrderedCollectionPage will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsOrderedCollectionPage() vocab.ActivityStreamsOrderedCollectionPage { - return this.activitystreamsOrderedCollectionPageMember -} - -// GetActivityStreamsOrganization returns the value of this property. When -// IsActivityStreamsOrganization returns false, GetActivityStreamsOrganization -// will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsOrganization() vocab.ActivityStreamsOrganization { - return this.activitystreamsOrganizationMember -} - -// GetActivityStreamsPage returns the value of this property. When -// IsActivityStreamsPage returns false, GetActivityStreamsPage will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsPage() vocab.ActivityStreamsPage { - return this.activitystreamsPageMember -} - -// GetActivityStreamsPerson returns the value of this property. When -// IsActivityStreamsPerson returns false, GetActivityStreamsPerson will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsPerson() vocab.ActivityStreamsPerson { - return this.activitystreamsPersonMember -} - -// GetActivityStreamsPlace returns the value of this property. When -// IsActivityStreamsPlace returns false, GetActivityStreamsPlace will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsPlace() vocab.ActivityStreamsPlace { - return this.activitystreamsPlaceMember -} - -// GetActivityStreamsProfile returns the value of this property. When -// IsActivityStreamsProfile returns false, GetActivityStreamsProfile will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsProfile() vocab.ActivityStreamsProfile { - return this.activitystreamsProfileMember -} - -// GetActivityStreamsQuestion returns the value of this property. When -// IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsQuestion() vocab.ActivityStreamsQuestion { - return this.activitystreamsQuestionMember -} - -// GetActivityStreamsRead returns the value of this property. When -// IsActivityStreamsRead returns false, GetActivityStreamsRead will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsRead() vocab.ActivityStreamsRead { - return this.activitystreamsReadMember -} - -// GetActivityStreamsReject returns the value of this property. When -// IsActivityStreamsReject returns false, GetActivityStreamsReject will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsReject() vocab.ActivityStreamsReject { - return this.activitystreamsRejectMember -} - -// GetActivityStreamsRelationship returns the value of this property. When -// IsActivityStreamsRelationship returns false, GetActivityStreamsRelationship -// will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationship { - return this.activitystreamsRelationshipMember -} - -// GetActivityStreamsRemove returns the value of this property. When -// IsActivityStreamsRemove returns false, GetActivityStreamsRemove will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsRemove() vocab.ActivityStreamsRemove { - return this.activitystreamsRemoveMember -} - -// GetActivityStreamsService returns the value of this property. When -// IsActivityStreamsService returns false, GetActivityStreamsService will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsService() vocab.ActivityStreamsService { - return this.activitystreamsServiceMember -} - -// GetActivityStreamsTentativeAccept returns the value of this property. When -// IsActivityStreamsTentativeAccept returns false, -// GetActivityStreamsTentativeAccept will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsTentativeAccept() vocab.ActivityStreamsTentativeAccept { - return this.activitystreamsTentativeAcceptMember -} - -// GetActivityStreamsTentativeReject returns the value of this property. When -// IsActivityStreamsTentativeReject returns false, -// GetActivityStreamsTentativeReject will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsTentativeReject() vocab.ActivityStreamsTentativeReject { - return this.activitystreamsTentativeRejectMember -} - -// GetActivityStreamsTombstone returns the value of this property. When -// IsActivityStreamsTombstone returns false, GetActivityStreamsTombstone will -// return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsTombstone() vocab.ActivityStreamsTombstone { - return this.activitystreamsTombstoneMember -} - -// GetActivityStreamsTravel returns the value of this property. When -// IsActivityStreamsTravel returns false, GetActivityStreamsTravel will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsTravel() vocab.ActivityStreamsTravel { - return this.activitystreamsTravelMember -} - -// GetActivityStreamsUndo returns the value of this property. When -// IsActivityStreamsUndo returns false, GetActivityStreamsUndo will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsUndo() vocab.ActivityStreamsUndo { - return this.activitystreamsUndoMember -} - -// GetActivityStreamsUpdate returns the value of this property. When -// IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsUpdate() vocab.ActivityStreamsUpdate { - return this.activitystreamsUpdateMember -} - -// GetActivityStreamsVideo returns the value of this property. When -// IsActivityStreamsVideo returns false, GetActivityStreamsVideo will return -// an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsVideo() vocab.ActivityStreamsVideo { - return this.activitystreamsVideoMember -} - -// GetActivityStreamsView returns the value of this property. When -// IsActivityStreamsView returns false, GetActivityStreamsView will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetActivityStreamsView() vocab.ActivityStreamsView { - return this.activitystreamsViewMember -} - -// GetForgeFedBranch returns the value of this property. When IsForgeFedBranch -// returns false, GetForgeFedBranch will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) GetIRI() *url.URL { - return this.iri -} - -// GetSchemaPropertyValue returns the value of this property. When -// IsSchemaPropertyValue returns false, GetSchemaPropertyValue will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetSchemaPropertyValue() vocab.SchemaPropertyValue { - return this.schemaPropertyValueMember -} - -// GetTootEmoji returns the value of this property. When IsTootEmoji returns -// false, GetTootEmoji will return an arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetTootEmoji() vocab.TootEmoji { - return this.tootEmojiMember -} - -// GetTootIdentityProof returns the value of this property. When -// IsTootIdentityProof returns false, GetTootIdentityProof will return an -// arbitrary value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetTootIdentityProof() vocab.TootIdentityProof { - return this.tootIdentityProofMember -} - -// GetType returns the value in this property as a Type. Returns nil if the value -// is not an ActivityStreams type, such as an IRI or another value. -func (this ForgeFedTracksTicketsForPropertyIterator) GetType() vocab.Type { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject() - } - if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept() - } - if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity() - } - if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd() - } - if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce() - } - if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication() - } - if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive() - } - if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle() - } - if this.IsActivityStreamsAudio() { - return this.GetActivityStreamsAudio() - } - 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() - } - if this.IsActivityStreamsDelete() { - return this.GetActivityStreamsDelete() - } - if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike() - } - if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument() - } - if this.IsTootEmoji() { - return this.GetTootEmoji() - } - if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent() - } - if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag() - } - if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow() - } - if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup() - } - if this.IsTootIdentityProof() { - return this.GetTootIdentityProof() - } - if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore() - } - if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage() - } - if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity() - } - if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite() - } - if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin() - } - if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave() - } - if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike() - } - if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen() - } - if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove() - } - if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote() - } - if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer() - } - if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection() - } - if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage() - } - if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization() - } - if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage() - } - if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson() - } - if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace() - } - if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile() - } - if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue() - } - if this.IsForgeFedPush() { - return this.GetForgeFedPush() - } - if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion() - } - if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead() - } - if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject() - } - if this.IsActivityStreamsRelationship() { - return this.GetActivityStreamsRelationship() - } - if this.IsActivityStreamsRemove() { - return this.GetActivityStreamsRemove() - } - if this.IsForgeFedRepository() { - return this.GetForgeFedRepository() - } - if this.IsActivityStreamsService() { - return this.GetActivityStreamsService() - } - if this.IsActivityStreamsTentativeAccept() { - return this.GetActivityStreamsTentativeAccept() - } - if this.IsActivityStreamsTentativeReject() { - return this.GetActivityStreamsTentativeReject() - } - if this.IsForgeFedTicket() { - return this.GetForgeFedTicket() - } - if this.IsForgeFedTicketDependency() { - return this.GetForgeFedTicketDependency() - } - if this.IsActivityStreamsTombstone() { - return this.GetActivityStreamsTombstone() - } - if this.IsActivityStreamsTravel() { - return this.GetActivityStreamsTravel() - } - if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo() - } - if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate() - } - if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo() - } - if this.IsActivityStreamsView() { - return this.GetActivityStreamsView() - } - - return nil -} - -// HasAny returns true if any of the different values is set. -func (this ForgeFedTracksTicketsForPropertyIterator) HasAny() bool { - return this.IsActivityStreamsObject() || - this.IsActivityStreamsAccept() || - this.IsActivityStreamsActivity() || - this.IsActivityStreamsAdd() || - this.IsActivityStreamsAnnounce() || - this.IsActivityStreamsApplication() || - this.IsActivityStreamsArrive() || - this.IsActivityStreamsArticle() || - this.IsActivityStreamsAudio() || - this.IsActivityStreamsBlock() || - this.IsForgeFedBranch() || - this.IsActivityStreamsCollection() || - this.IsActivityStreamsCollectionPage() || - this.IsForgeFedCommit() || - this.IsActivityStreamsCreate() || - this.IsActivityStreamsDelete() || - this.IsActivityStreamsDislike() || - this.IsActivityStreamsDocument() || - this.IsTootEmoji() || - this.IsActivityStreamsEvent() || - this.IsActivityStreamsFlag() || - this.IsActivityStreamsFollow() || - this.IsActivityStreamsGroup() || - this.IsTootIdentityProof() || - this.IsActivityStreamsIgnore() || - this.IsActivityStreamsImage() || - this.IsActivityStreamsIntransitiveActivity() || - this.IsActivityStreamsInvite() || - this.IsActivityStreamsJoin() || - this.IsActivityStreamsLeave() || - this.IsActivityStreamsLike() || - this.IsActivityStreamsListen() || - this.IsActivityStreamsMove() || - this.IsActivityStreamsNote() || - this.IsActivityStreamsOffer() || - this.IsActivityStreamsOrderedCollection() || - this.IsActivityStreamsOrderedCollectionPage() || - this.IsActivityStreamsOrganization() || - this.IsActivityStreamsPage() || - this.IsActivityStreamsPerson() || - this.IsActivityStreamsPlace() || - this.IsActivityStreamsProfile() || - this.IsSchemaPropertyValue() || - 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() || - this.IsActivityStreamsUpdate() || - this.IsActivityStreamsVideo() || - this.IsActivityStreamsView() || - this.iri != nil -} - -// IsActivityStreamsAccept returns true if this property has a type of "Accept". -// When true, use the GetActivityStreamsAccept and SetActivityStreamsAccept -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsAccept() bool { - return this.activitystreamsAcceptMember != nil -} - -// IsActivityStreamsActivity returns true if this property has a type of -// "Activity". When true, use the GetActivityStreamsActivity and -// SetActivityStreamsActivity methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsActivity() bool { - return this.activitystreamsActivityMember != nil -} - -// IsActivityStreamsAdd returns true if this property has a type of "Add". When -// true, use the GetActivityStreamsAdd and SetActivityStreamsAdd methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsAdd() bool { - return this.activitystreamsAddMember != nil -} - -// IsActivityStreamsAnnounce returns true if this property has a type of -// "Announce". When true, use the GetActivityStreamsAnnounce and -// SetActivityStreamsAnnounce methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsAnnounce() bool { - return this.activitystreamsAnnounceMember != nil -} - -// IsActivityStreamsApplication returns true if this property has a type of -// "Application". When true, use the GetActivityStreamsApplication and -// SetActivityStreamsApplication methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsApplication() bool { - return this.activitystreamsApplicationMember != nil -} - -// IsActivityStreamsArrive returns true if this property has a type of "Arrive". -// When true, use the GetActivityStreamsArrive and SetActivityStreamsArrive -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsArrive() bool { - return this.activitystreamsArriveMember != nil -} - -// IsActivityStreamsArticle returns true if this property has a type of "Article". -// When true, use the GetActivityStreamsArticle and SetActivityStreamsArticle -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsArticle() bool { - return this.activitystreamsArticleMember != nil -} - -// IsActivityStreamsAudio returns true if this property has a type of "Audio". -// When true, use the GetActivityStreamsAudio and SetActivityStreamsAudio -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsAudio() bool { - return this.activitystreamsAudioMember != nil -} - -// IsActivityStreamsBlock returns true if this property has a type of "Block". -// When true, use the GetActivityStreamsBlock and SetActivityStreamsBlock -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsBlock() bool { - return this.activitystreamsBlockMember != nil -} - -// IsActivityStreamsCollection returns true if this property has a type of -// "Collection". When true, use the GetActivityStreamsCollection and -// SetActivityStreamsCollection methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsCollection() bool { - return this.activitystreamsCollectionMember != nil -} - -// IsActivityStreamsCollectionPage returns true if this property has a type of -// "CollectionPage". When true, use the GetActivityStreamsCollectionPage and -// SetActivityStreamsCollectionPage methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsCollectionPage() bool { - return this.activitystreamsCollectionPageMember != nil -} - -// IsActivityStreamsCreate returns true if this property has a type of "Create". -// When true, use the GetActivityStreamsCreate and SetActivityStreamsCreate -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsCreate() bool { - return this.activitystreamsCreateMember != nil -} - -// IsActivityStreamsDelete returns true if this property has a type of "Delete". -// When true, use the GetActivityStreamsDelete and SetActivityStreamsDelete -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsDelete() bool { - return this.activitystreamsDeleteMember != nil -} - -// IsActivityStreamsDislike returns true if this property has a type of "Dislike". -// When true, use the GetActivityStreamsDislike and SetActivityStreamsDislike -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsDislike() bool { - return this.activitystreamsDislikeMember != nil -} - -// IsActivityStreamsDocument returns true if this property has a type of -// "Document". When true, use the GetActivityStreamsDocument and -// SetActivityStreamsDocument methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsDocument() bool { - return this.activitystreamsDocumentMember != nil -} - -// IsActivityStreamsEvent returns true if this property has a type of "Event". -// When true, use the GetActivityStreamsEvent and SetActivityStreamsEvent -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsEvent() bool { - return this.activitystreamsEventMember != nil -} - -// IsActivityStreamsFlag returns true if this property has a type of "Flag". When -// true, use the GetActivityStreamsFlag and SetActivityStreamsFlag methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsFlag() bool { - return this.activitystreamsFlagMember != nil -} - -// IsActivityStreamsFollow returns true if this property has a type of "Follow". -// When true, use the GetActivityStreamsFollow and SetActivityStreamsFollow -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsFollow() bool { - return this.activitystreamsFollowMember != nil -} - -// IsActivityStreamsGroup returns true if this property has a type of "Group". -// When true, use the GetActivityStreamsGroup and SetActivityStreamsGroup -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsGroup() bool { - return this.activitystreamsGroupMember != nil -} - -// IsActivityStreamsIgnore returns true if this property has a type of "Ignore". -// When true, use the GetActivityStreamsIgnore and SetActivityStreamsIgnore -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsIgnore() bool { - return this.activitystreamsIgnoreMember != nil -} - -// IsActivityStreamsImage returns true if this property has a type of "Image". -// When true, use the GetActivityStreamsImage and SetActivityStreamsImage -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsImage() bool { - return this.activitystreamsImageMember != nil -} - -// IsActivityStreamsIntransitiveActivity returns true if this property has a type -// of "IntransitiveActivity". When true, use the -// GetActivityStreamsIntransitiveActivity and -// SetActivityStreamsIntransitiveActivity methods to access and set this -// property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsIntransitiveActivity() bool { - return this.activitystreamsIntransitiveActivityMember != nil -} - -// IsActivityStreamsInvite returns true if this property has a type of "Invite". -// When true, use the GetActivityStreamsInvite and SetActivityStreamsInvite -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsInvite() bool { - return this.activitystreamsInviteMember != nil -} - -// IsActivityStreamsJoin returns true if this property has a type of "Join". When -// true, use the GetActivityStreamsJoin and SetActivityStreamsJoin methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsJoin() bool { - return this.activitystreamsJoinMember != nil -} - -// IsActivityStreamsLeave returns true if this property has a type of "Leave". -// When true, use the GetActivityStreamsLeave and SetActivityStreamsLeave -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsLeave() bool { - return this.activitystreamsLeaveMember != nil -} - -// IsActivityStreamsLike returns true if this property has a type of "Like". When -// true, use the GetActivityStreamsLike and SetActivityStreamsLike methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsLike() bool { - return this.activitystreamsLikeMember != nil -} - -// IsActivityStreamsListen returns true if this property has a type of "Listen". -// When true, use the GetActivityStreamsListen and SetActivityStreamsListen -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsListen() bool { - return this.activitystreamsListenMember != nil -} - -// IsActivityStreamsMove returns true if this property has a type of "Move". When -// true, use the GetActivityStreamsMove and SetActivityStreamsMove methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsMove() bool { - return this.activitystreamsMoveMember != nil -} - -// IsActivityStreamsNote returns true if this property has a type of "Note". When -// true, use the GetActivityStreamsNote and SetActivityStreamsNote methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsNote() bool { - return this.activitystreamsNoteMember != nil -} - -// IsActivityStreamsObject returns true if this property has a type of "Object". -// When true, use the GetActivityStreamsObject and SetActivityStreamsObject -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsObject() bool { - return this.activitystreamsObjectMember != nil -} - -// IsActivityStreamsOffer returns true if this property has a type of "Offer". -// When true, use the GetActivityStreamsOffer and SetActivityStreamsOffer -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsOffer() bool { - return this.activitystreamsOfferMember != nil -} - -// IsActivityStreamsOrderedCollection returns true if this property has a type of -// "OrderedCollection". When true, use the GetActivityStreamsOrderedCollection -// and SetActivityStreamsOrderedCollection methods to access and set this -// property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsOrderedCollection() bool { - return this.activitystreamsOrderedCollectionMember != nil -} - -// IsActivityStreamsOrderedCollectionPage returns true if this property has a type -// of "OrderedCollectionPage". When true, use the -// GetActivityStreamsOrderedCollectionPage and -// SetActivityStreamsOrderedCollectionPage methods to access and set this -// property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsOrderedCollectionPage() bool { - return this.activitystreamsOrderedCollectionPageMember != nil -} - -// IsActivityStreamsOrganization returns true if this property has a type of -// "Organization". When true, use the GetActivityStreamsOrganization and -// SetActivityStreamsOrganization methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsOrganization() bool { - return this.activitystreamsOrganizationMember != nil -} - -// IsActivityStreamsPage returns true if this property has a type of "Page". When -// true, use the GetActivityStreamsPage and SetActivityStreamsPage methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsPage() bool { - return this.activitystreamsPageMember != nil -} - -// IsActivityStreamsPerson returns true if this property has a type of "Person". -// When true, use the GetActivityStreamsPerson and SetActivityStreamsPerson -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsPerson() bool { - return this.activitystreamsPersonMember != nil -} - -// IsActivityStreamsPlace returns true if this property has a type of "Place". -// When true, use the GetActivityStreamsPlace and SetActivityStreamsPlace -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsPlace() bool { - return this.activitystreamsPlaceMember != nil -} - -// IsActivityStreamsProfile returns true if this property has a type of "Profile". -// When true, use the GetActivityStreamsProfile and SetActivityStreamsProfile -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsProfile() bool { - return this.activitystreamsProfileMember != nil -} - -// IsActivityStreamsQuestion returns true if this property has a type of -// "Question". When true, use the GetActivityStreamsQuestion and -// SetActivityStreamsQuestion methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsQuestion() bool { - return this.activitystreamsQuestionMember != nil -} - -// IsActivityStreamsRead returns true if this property has a type of "Read". When -// true, use the GetActivityStreamsRead and SetActivityStreamsRead methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsRead() bool { - return this.activitystreamsReadMember != nil -} - -// IsActivityStreamsReject returns true if this property has a type of "Reject". -// When true, use the GetActivityStreamsReject and SetActivityStreamsReject -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsReject() bool { - return this.activitystreamsRejectMember != nil -} - -// IsActivityStreamsRelationship returns true if this property has a type of -// "Relationship". When true, use the GetActivityStreamsRelationship and -// SetActivityStreamsRelationship methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsRelationship() bool { - return this.activitystreamsRelationshipMember != nil -} - -// IsActivityStreamsRemove returns true if this property has a type of "Remove". -// When true, use the GetActivityStreamsRemove and SetActivityStreamsRemove -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsRemove() bool { - return this.activitystreamsRemoveMember != nil -} - -// IsActivityStreamsService returns true if this property has a type of "Service". -// When true, use the GetActivityStreamsService and SetActivityStreamsService -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsService() bool { - return this.activitystreamsServiceMember != nil -} - -// IsActivityStreamsTentativeAccept returns true if this property has a type of -// "TentativeAccept". When true, use the GetActivityStreamsTentativeAccept and -// SetActivityStreamsTentativeAccept methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsTentativeAccept() bool { - return this.activitystreamsTentativeAcceptMember != nil -} - -// IsActivityStreamsTentativeReject returns true if this property has a type of -// "TentativeReject". When true, use the GetActivityStreamsTentativeReject and -// SetActivityStreamsTentativeReject methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsTentativeReject() bool { - return this.activitystreamsTentativeRejectMember != nil -} - -// IsActivityStreamsTombstone returns true if this property has a type of -// "Tombstone". When true, use the GetActivityStreamsTombstone and -// SetActivityStreamsTombstone methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsTombstone() bool { - return this.activitystreamsTombstoneMember != nil -} - -// IsActivityStreamsTravel returns true if this property has a type of "Travel". -// When true, use the GetActivityStreamsTravel and SetActivityStreamsTravel -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsTravel() bool { - return this.activitystreamsTravelMember != nil -} - -// IsActivityStreamsUndo returns true if this property has a type of "Undo". When -// true, use the GetActivityStreamsUndo and SetActivityStreamsUndo methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsUndo() bool { - return this.activitystreamsUndoMember != nil -} - -// IsActivityStreamsUpdate returns true if this property has a type of "Update". -// When true, use the GetActivityStreamsUpdate and SetActivityStreamsUpdate -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsUpdate() bool { - return this.activitystreamsUpdateMember != nil -} - -// IsActivityStreamsVideo returns true if this property has a type of "Video". -// When true, use the GetActivityStreamsVideo and SetActivityStreamsVideo -// methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsActivityStreamsVideo() bool { - return this.activitystreamsVideoMember != nil -} - -// IsActivityStreamsView returns true if this property has a type of "View". When -// true, use the GetActivityStreamsView and SetActivityStreamsView methods to -// access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) 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 ForgeFedTracksTicketsForPropertyIterator) IsIRI() bool { - return this.iri != nil -} - -// IsSchemaPropertyValue returns true if this property has a type of -// "PropertyValue". When true, use the GetSchemaPropertyValue and -// SetSchemaPropertyValue methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsSchemaPropertyValue() bool { - return this.schemaPropertyValueMember != nil -} - -// IsTootEmoji returns true if this property has a type of "Emoji". When true, use -// the GetTootEmoji and SetTootEmoji methods to access and set this property. -func (this ForgeFedTracksTicketsForPropertyIterator) IsTootEmoji() bool { - return this.tootEmojiMember != 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. -func (this ForgeFedTracksTicketsForPropertyIterator) IsTootIdentityProof() bool { - return this.tootIdentityProofMember != nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedTracksTicketsForPropertyIterator) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - var child map[string]string - if this.IsActivityStreamsObject() { - child = this.GetActivityStreamsObject().JSONLDContext() - } else if this.IsActivityStreamsAccept() { - child = this.GetActivityStreamsAccept().JSONLDContext() - } else if this.IsActivityStreamsActivity() { - child = this.GetActivityStreamsActivity().JSONLDContext() - } else if this.IsActivityStreamsAdd() { - child = this.GetActivityStreamsAdd().JSONLDContext() - } else if this.IsActivityStreamsAnnounce() { - child = this.GetActivityStreamsAnnounce().JSONLDContext() - } else if this.IsActivityStreamsApplication() { - child = this.GetActivityStreamsApplication().JSONLDContext() - } else if this.IsActivityStreamsArrive() { - child = this.GetActivityStreamsArrive().JSONLDContext() - } else if this.IsActivityStreamsArticle() { - child = this.GetActivityStreamsArticle().JSONLDContext() - } else if this.IsActivityStreamsAudio() { - 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() { - child = this.GetActivityStreamsDelete().JSONLDContext() - } else if this.IsActivityStreamsDislike() { - child = this.GetActivityStreamsDislike().JSONLDContext() - } else if this.IsActivityStreamsDocument() { - child = this.GetActivityStreamsDocument().JSONLDContext() - } else if this.IsTootEmoji() { - child = this.GetTootEmoji().JSONLDContext() - } else if this.IsActivityStreamsEvent() { - child = this.GetActivityStreamsEvent().JSONLDContext() - } else if this.IsActivityStreamsFlag() { - child = this.GetActivityStreamsFlag().JSONLDContext() - } else if this.IsActivityStreamsFollow() { - child = this.GetActivityStreamsFollow().JSONLDContext() - } else if this.IsActivityStreamsGroup() { - child = this.GetActivityStreamsGroup().JSONLDContext() - } else if this.IsTootIdentityProof() { - child = this.GetTootIdentityProof().JSONLDContext() - } else if this.IsActivityStreamsIgnore() { - child = this.GetActivityStreamsIgnore().JSONLDContext() - } else if this.IsActivityStreamsImage() { - child = this.GetActivityStreamsImage().JSONLDContext() - } else if this.IsActivityStreamsIntransitiveActivity() { - child = this.GetActivityStreamsIntransitiveActivity().JSONLDContext() - } else if this.IsActivityStreamsInvite() { - child = this.GetActivityStreamsInvite().JSONLDContext() - } else if this.IsActivityStreamsJoin() { - child = this.GetActivityStreamsJoin().JSONLDContext() - } else if this.IsActivityStreamsLeave() { - child = this.GetActivityStreamsLeave().JSONLDContext() - } else if this.IsActivityStreamsLike() { - child = this.GetActivityStreamsLike().JSONLDContext() - } else if this.IsActivityStreamsListen() { - child = this.GetActivityStreamsListen().JSONLDContext() - } else if this.IsActivityStreamsMove() { - child = this.GetActivityStreamsMove().JSONLDContext() - } else if this.IsActivityStreamsNote() { - child = this.GetActivityStreamsNote().JSONLDContext() - } else if this.IsActivityStreamsOffer() { - child = this.GetActivityStreamsOffer().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollection() { - child = this.GetActivityStreamsOrderedCollection().JSONLDContext() - } else if this.IsActivityStreamsOrderedCollectionPage() { - child = this.GetActivityStreamsOrderedCollectionPage().JSONLDContext() - } else if this.IsActivityStreamsOrganization() { - child = this.GetActivityStreamsOrganization().JSONLDContext() - } else if this.IsActivityStreamsPage() { - child = this.GetActivityStreamsPage().JSONLDContext() - } else if this.IsActivityStreamsPerson() { - child = this.GetActivityStreamsPerson().JSONLDContext() - } else if this.IsActivityStreamsPlace() { - child = this.GetActivityStreamsPlace().JSONLDContext() - } else if this.IsActivityStreamsProfile() { - child = this.GetActivityStreamsProfile().JSONLDContext() - } else if this.IsSchemaPropertyValue() { - child = this.GetSchemaPropertyValue().JSONLDContext() - } else if this.IsForgeFedPush() { - child = this.GetForgeFedPush().JSONLDContext() - } else if this.IsActivityStreamsQuestion() { - child = this.GetActivityStreamsQuestion().JSONLDContext() - } else if this.IsActivityStreamsRead() { - child = this.GetActivityStreamsRead().JSONLDContext() - } else if this.IsActivityStreamsReject() { - child = this.GetActivityStreamsReject().JSONLDContext() - } else if this.IsActivityStreamsRelationship() { - 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() { - child = this.GetActivityStreamsTravel().JSONLDContext() - } else if this.IsActivityStreamsUndo() { - child = this.GetActivityStreamsUndo().JSONLDContext() - } else if this.IsActivityStreamsUpdate() { - child = this.GetActivityStreamsUpdate().JSONLDContext() - } else if this.IsActivityStreamsVideo() { - child = this.GetActivityStreamsVideo().JSONLDContext() - } else if this.IsActivityStreamsView() { - child = this.GetActivityStreamsView().JSONLDContext() - } - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API detail only for folks looking to replace the go-fed -// implementation. Applications should not use this method. -func (this ForgeFedTracksTicketsForPropertyIterator) KindIndex() int { - if this.IsActivityStreamsObject() { - return 0 - } - if this.IsActivityStreamsAccept() { - return 1 - } - if this.IsActivityStreamsActivity() { - return 2 - } - if this.IsActivityStreamsAdd() { - return 3 - } - if this.IsActivityStreamsAnnounce() { - return 4 - } - if this.IsActivityStreamsApplication() { - return 5 - } - if this.IsActivityStreamsArrive() { - return 6 - } - if this.IsActivityStreamsArticle() { - return 7 - } - if this.IsActivityStreamsAudio() { - return 8 - } - if this.IsActivityStreamsBlock() { - return 9 - } - if this.IsForgeFedBranch() { - return 10 - } - if this.IsActivityStreamsCollection() { - return 11 - } - if this.IsActivityStreamsCollectionPage() { - return 12 - } - if this.IsForgeFedCommit() { - return 13 - } - if this.IsActivityStreamsCreate() { - return 14 - } - if this.IsActivityStreamsDelete() { - return 15 - } - if this.IsActivityStreamsDislike() { - return 16 - } - if this.IsActivityStreamsDocument() { - return 17 - } - if this.IsTootEmoji() { - return 18 - } - if this.IsActivityStreamsEvent() { - return 19 - } - if this.IsActivityStreamsFlag() { - return 20 - } - if this.IsActivityStreamsFollow() { - return 21 - } - if this.IsActivityStreamsGroup() { - return 22 - } - if this.IsTootIdentityProof() { - return 23 - } - if this.IsActivityStreamsIgnore() { - return 24 - } - if this.IsActivityStreamsImage() { - return 25 - } - if this.IsActivityStreamsIntransitiveActivity() { - return 26 - } - if this.IsActivityStreamsInvite() { - return 27 - } - if this.IsActivityStreamsJoin() { - return 28 - } - if this.IsActivityStreamsLeave() { - return 29 - } - if this.IsActivityStreamsLike() { - return 30 - } - if this.IsActivityStreamsListen() { - return 31 - } - if this.IsActivityStreamsMove() { - return 32 - } - if this.IsActivityStreamsNote() { - return 33 - } - if this.IsActivityStreamsOffer() { - return 34 - } - if this.IsActivityStreamsOrderedCollection() { - return 35 - } - if this.IsActivityStreamsOrderedCollectionPage() { - return 36 - } - if this.IsActivityStreamsOrganization() { - return 37 - } - if this.IsActivityStreamsPage() { - return 38 - } - if this.IsActivityStreamsPerson() { - return 39 - } - if this.IsActivityStreamsPlace() { - return 40 - } - if this.IsActivityStreamsProfile() { - return 41 - } - if this.IsSchemaPropertyValue() { - return 42 - } - if this.IsForgeFedPush() { - return 43 - } - if this.IsActivityStreamsQuestion() { - return 44 - } - if this.IsActivityStreamsRead() { - return 45 - } - if this.IsActivityStreamsReject() { - return 46 - } - if this.IsActivityStreamsRelationship() { - return 47 - } - if this.IsActivityStreamsRemove() { - return 48 - } - if this.IsForgeFedRepository() { - return 49 - } - if this.IsActivityStreamsService() { - return 50 - } - if this.IsActivityStreamsTentativeAccept() { - return 51 - } - if this.IsActivityStreamsTentativeReject() { - return 52 - } - if this.IsForgeFedTicket() { - return 53 - } - if this.IsForgeFedTicketDependency() { - 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 - } - if this.IsIRI() { - return -2 - } - return -1 -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedTracksTicketsForPropertyIterator) LessThan(o vocab.ForgeFedTracksTicketsForPropertyIterator) bool { - idx1 := this.KindIndex() - idx2 := o.KindIndex() - if idx1 < idx2 { - return true - } else if idx1 > idx2 { - return false - } else if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().LessThan(o.GetActivityStreamsObject()) - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().LessThan(o.GetActivityStreamsAccept()) - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().LessThan(o.GetActivityStreamsActivity()) - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().LessThan(o.GetActivityStreamsAdd()) - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().LessThan(o.GetActivityStreamsAnnounce()) - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().LessThan(o.GetActivityStreamsApplication()) - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().LessThan(o.GetActivityStreamsArrive()) - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().LessThan(o.GetActivityStreamsArticle()) - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().LessThan(o.GetActivityStreamsDelete()) - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().LessThan(o.GetActivityStreamsDislike()) - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().LessThan(o.GetActivityStreamsDocument()) - } else if this.IsTootEmoji() { - return this.GetTootEmoji().LessThan(o.GetTootEmoji()) - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().LessThan(o.GetActivityStreamsEvent()) - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().LessThan(o.GetActivityStreamsFlag()) - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().LessThan(o.GetActivityStreamsFollow()) - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().LessThan(o.GetActivityStreamsGroup()) - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().LessThan(o.GetTootIdentityProof()) - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().LessThan(o.GetActivityStreamsIgnore()) - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().LessThan(o.GetActivityStreamsImage()) - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().LessThan(o.GetActivityStreamsIntransitiveActivity()) - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().LessThan(o.GetActivityStreamsInvite()) - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().LessThan(o.GetActivityStreamsJoin()) - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().LessThan(o.GetActivityStreamsLeave()) - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().LessThan(o.GetActivityStreamsLike()) - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().LessThan(o.GetActivityStreamsListen()) - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().LessThan(o.GetActivityStreamsMove()) - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().LessThan(o.GetActivityStreamsNote()) - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().LessThan(o.GetActivityStreamsOffer()) - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().LessThan(o.GetActivityStreamsOrderedCollection()) - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().LessThan(o.GetActivityStreamsOrderedCollectionPage()) - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().LessThan(o.GetActivityStreamsOrganization()) - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().LessThan(o.GetActivityStreamsPage()) - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().LessThan(o.GetActivityStreamsPerson()) - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().LessThan(o.GetActivityStreamsPlace()) - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().LessThan(o.GetActivityStreamsProfile()) - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().LessThan(o.GetSchemaPropertyValue()) - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().LessThan(o.GetForgeFedPush()) - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().LessThan(o.GetActivityStreamsQuestion()) - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().LessThan(o.GetActivityStreamsRead()) - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().LessThan(o.GetActivityStreamsReject()) - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().LessThan(o.GetActivityStreamsTravel()) - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().LessThan(o.GetActivityStreamsUndo()) - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().LessThan(o.GetActivityStreamsUpdate()) - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().LessThan(o.GetActivityStreamsVideo()) - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().LessThan(o.GetActivityStreamsView()) - } else if this.IsIRI() { - return this.iri.String() < o.GetIRI().String() - } - return false -} - -// Name returns the name of this property: "ForgeFedTracksTicketsFor". -func (this ForgeFedTracksTicketsForPropertyIterator) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "ForgeFedTracksTicketsFor" - } else { - return "ForgeFedTracksTicketsFor" - } -} - -// Next returns the next iterator, or nil if there is no next iterator. -func (this ForgeFedTracksTicketsForPropertyIterator) Next() vocab.ForgeFedTracksTicketsForPropertyIterator { - if this.myIdx+1 >= this.parent.Len() { - return nil - } else { - return this.parent.At(this.myIdx + 1) - } -} - -// Prev returns the previous iterator, or nil if there is no previous iterator. -func (this ForgeFedTracksTicketsForPropertyIterator) Prev() vocab.ForgeFedTracksTicketsForPropertyIterator { - if this.myIdx-1 < 0 { - return nil - } else { - return this.parent.At(this.myIdx - 1) - } -} - -// SetActivityStreamsAccept sets the value of this property. Calling -// IsActivityStreamsAccept afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.clear() - this.activitystreamsAcceptMember = v -} - -// SetActivityStreamsActivity sets the value of this property. Calling -// IsActivityStreamsActivity afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.clear() - this.activitystreamsActivityMember = v -} - -// SetActivityStreamsAdd sets the value of this property. Calling -// IsActivityStreamsAdd afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.clear() - this.activitystreamsAddMember = v -} - -// SetActivityStreamsAnnounce sets the value of this property. Calling -// IsActivityStreamsAnnounce afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.clear() - this.activitystreamsAnnounceMember = v -} - -// SetActivityStreamsApplication sets the value of this property. Calling -// IsActivityStreamsApplication afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.clear() - this.activitystreamsApplicationMember = v -} - -// SetActivityStreamsArrive sets the value of this property. Calling -// IsActivityStreamsArrive afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.clear() - this.activitystreamsArriveMember = v -} - -// SetActivityStreamsArticle sets the value of this property. Calling -// IsActivityStreamsArticle afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.clear() - this.activitystreamsArticleMember = v -} - -// SetActivityStreamsAudio sets the value of this property. Calling -// IsActivityStreamsAudio afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.clear() - this.activitystreamsAudioMember = v -} - -// SetActivityStreamsBlock sets the value of this property. Calling -// IsActivityStreamsBlock afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.clear() - this.activitystreamsBlockMember = v -} - -// SetActivityStreamsCollection sets the value of this property. Calling -// IsActivityStreamsCollection afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.clear() - this.activitystreamsCollectionMember = v -} - -// SetActivityStreamsCollectionPage sets the value of this property. Calling -// IsActivityStreamsCollectionPage afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.clear() - this.activitystreamsCollectionPageMember = v -} - -// SetActivityStreamsCreate sets the value of this property. Calling -// IsActivityStreamsCreate afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.clear() - this.activitystreamsCreateMember = v -} - -// SetActivityStreamsDelete sets the value of this property. Calling -// IsActivityStreamsDelete afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.clear() - this.activitystreamsDeleteMember = v -} - -// SetActivityStreamsDislike sets the value of this property. Calling -// IsActivityStreamsDislike afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.clear() - this.activitystreamsDislikeMember = v -} - -// SetActivityStreamsDocument sets the value of this property. Calling -// IsActivityStreamsDocument afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.clear() - this.activitystreamsDocumentMember = v -} - -// SetActivityStreamsEvent sets the value of this property. Calling -// IsActivityStreamsEvent afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.clear() - this.activitystreamsEventMember = v -} - -// SetActivityStreamsFlag sets the value of this property. Calling -// IsActivityStreamsFlag afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.clear() - this.activitystreamsFlagMember = v -} - -// SetActivityStreamsFollow sets the value of this property. Calling -// IsActivityStreamsFollow afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.clear() - this.activitystreamsFollowMember = v -} - -// SetActivityStreamsGroup sets the value of this property. Calling -// IsActivityStreamsGroup afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.clear() - this.activitystreamsGroupMember = v -} - -// SetActivityStreamsIgnore sets the value of this property. Calling -// IsActivityStreamsIgnore afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.clear() - this.activitystreamsIgnoreMember = v -} - -// SetActivityStreamsImage sets the value of this property. Calling -// IsActivityStreamsImage afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.clear() - this.activitystreamsImageMember = v -} - -// SetActivityStreamsIntransitiveActivity sets the value of this property. Calling -// IsActivityStreamsIntransitiveActivity afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.clear() - this.activitystreamsIntransitiveActivityMember = v -} - -// SetActivityStreamsInvite sets the value of this property. Calling -// IsActivityStreamsInvite afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.clear() - this.activitystreamsInviteMember = v -} - -// SetActivityStreamsJoin sets the value of this property. Calling -// IsActivityStreamsJoin afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.clear() - this.activitystreamsJoinMember = v -} - -// SetActivityStreamsLeave sets the value of this property. Calling -// IsActivityStreamsLeave afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.clear() - this.activitystreamsLeaveMember = v -} - -// SetActivityStreamsLike sets the value of this property. Calling -// IsActivityStreamsLike afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.clear() - this.activitystreamsLikeMember = v -} - -// SetActivityStreamsListen sets the value of this property. Calling -// IsActivityStreamsListen afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.clear() - this.activitystreamsListenMember = v -} - -// SetActivityStreamsMove sets the value of this property. Calling -// IsActivityStreamsMove afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.clear() - this.activitystreamsMoveMember = v -} - -// SetActivityStreamsNote sets the value of this property. Calling -// IsActivityStreamsNote afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.clear() - this.activitystreamsNoteMember = v -} - -// SetActivityStreamsObject sets the value of this property. Calling -// IsActivityStreamsObject afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.clear() - this.activitystreamsObjectMember = v -} - -// SetActivityStreamsOffer sets the value of this property. Calling -// IsActivityStreamsOffer afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.clear() - this.activitystreamsOfferMember = v -} - -// SetActivityStreamsOrderedCollection sets the value of this property. Calling -// IsActivityStreamsOrderedCollection afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.clear() - this.activitystreamsOrderedCollectionMember = v -} - -// SetActivityStreamsOrderedCollectionPage sets the value of this property. -// Calling IsActivityStreamsOrderedCollectionPage afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.clear() - this.activitystreamsOrderedCollectionPageMember = v -} - -// SetActivityStreamsOrganization sets the value of this property. Calling -// IsActivityStreamsOrganization afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.clear() - this.activitystreamsOrganizationMember = v -} - -// SetActivityStreamsPage sets the value of this property. Calling -// IsActivityStreamsPage afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.clear() - this.activitystreamsPageMember = v -} - -// SetActivityStreamsPerson sets the value of this property. Calling -// IsActivityStreamsPerson afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.clear() - this.activitystreamsPersonMember = v -} - -// SetActivityStreamsPlace sets the value of this property. Calling -// IsActivityStreamsPlace afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.clear() - this.activitystreamsPlaceMember = v -} - -// SetActivityStreamsProfile sets the value of this property. Calling -// IsActivityStreamsProfile afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.clear() - this.activitystreamsProfileMember = v -} - -// SetActivityStreamsQuestion sets the value of this property. Calling -// IsActivityStreamsQuestion afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.clear() - this.activitystreamsQuestionMember = v -} - -// SetActivityStreamsRead sets the value of this property. Calling -// IsActivityStreamsRead afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.clear() - this.activitystreamsReadMember = v -} - -// SetActivityStreamsReject sets the value of this property. Calling -// IsActivityStreamsReject afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.clear() - this.activitystreamsRejectMember = v -} - -// SetActivityStreamsRelationship sets the value of this property. Calling -// IsActivityStreamsRelationship afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.clear() - this.activitystreamsRelationshipMember = v -} - -// SetActivityStreamsRemove sets the value of this property. Calling -// IsActivityStreamsRemove afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.clear() - this.activitystreamsRemoveMember = v -} - -// SetActivityStreamsService sets the value of this property. Calling -// IsActivityStreamsService afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsService(v vocab.ActivityStreamsService) { - this.clear() - this.activitystreamsServiceMember = v -} - -// SetActivityStreamsTentativeAccept sets the value of this property. Calling -// IsActivityStreamsTentativeAccept afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.clear() - this.activitystreamsTentativeAcceptMember = v -} - -// SetActivityStreamsTentativeReject sets the value of this property. Calling -// IsActivityStreamsTentativeReject afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.clear() - this.activitystreamsTentativeRejectMember = v -} - -// SetActivityStreamsTombstone sets the value of this property. Calling -// IsActivityStreamsTombstone afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.clear() - this.activitystreamsTombstoneMember = v -} - -// SetActivityStreamsTravel sets the value of this property. Calling -// IsActivityStreamsTravel afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.clear() - this.activitystreamsTravelMember = v -} - -// SetActivityStreamsUndo sets the value of this property. Calling -// IsActivityStreamsUndo afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.clear() - this.activitystreamsUndoMember = v -} - -// SetActivityStreamsUpdate sets the value of this property. Calling -// IsActivityStreamsUpdate afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.clear() - this.activitystreamsUpdateMember = v -} - -// SetActivityStreamsVideo sets the value of this property. Calling -// IsActivityStreamsVideo afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.clear() - this.activitystreamsVideoMember = v -} - -// SetActivityStreamsView sets the value of this property. Calling -// IsActivityStreamsView afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetActivityStreamsView(v vocab.ActivityStreamsView) { - this.clear() - this.activitystreamsViewMember = v -} - -// SetForgeFedBranch sets the value of this property. Calling IsForgeFedBranch -// afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedBranch(v vocab.ForgeFedBranch) { - this.clear() - this.forgefedBranchMember = v -} - -// SetForgeFedCommit sets the value of this property. Calling IsForgeFedCommit -// afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedCommit(v vocab.ForgeFedCommit) { - this.clear() - this.forgefedCommitMember = v -} - -// SetForgeFedPush sets the value of this property. Calling IsForgeFedPush -// afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedPush(v vocab.ForgeFedPush) { - this.clear() - this.forgefedPushMember = v -} - -// SetForgeFedRepository sets the value of this property. Calling -// IsForgeFedRepository afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedRepository(v vocab.ForgeFedRepository) { - this.clear() - this.forgefedRepositoryMember = v -} - -// SetForgeFedTicket sets the value of this property. Calling IsForgeFedTicket -// afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedTicket(v vocab.ForgeFedTicket) { - this.clear() - this.forgefedTicketMember = v -} - -// SetForgeFedTicketDependency sets the value of this property. Calling -// IsForgeFedTicketDependency afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.clear() - this.forgefedTicketDependencyMember = v -} - -// SetIRI sets the value of this property. Calling IsIRI afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetIRI(v *url.URL) { - this.clear() - this.iri = v -} - -// SetSchemaPropertyValue sets the value of this property. Calling -// IsSchemaPropertyValue afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.clear() - this.schemaPropertyValueMember = v -} - -// SetTootEmoji sets the value of this property. Calling IsTootEmoji afterwards -// returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetTootEmoji(v vocab.TootEmoji) { - this.clear() - this.tootEmojiMember = v -} - -// SetTootIdentityProof sets the value of this property. Calling -// IsTootIdentityProof afterwards returns true. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetTootIdentityProof(v vocab.TootIdentityProof) { - this.clear() - this.tootIdentityProofMember = v -} - -// SetType attempts to set the property for the arbitrary type. Returns an error -// if it is not a valid type to set on this property. -func (this *ForgeFedTracksTicketsForPropertyIterator) SetType(t vocab.Type) error { - if v, ok := t.(vocab.ActivityStreamsObject); ok { - this.SetActivityStreamsObject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAccept); ok { - this.SetActivityStreamsAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsActivity); ok { - this.SetActivityStreamsActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAdd); ok { - this.SetActivityStreamsAdd(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAnnounce); ok { - this.SetActivityStreamsAnnounce(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsApplication); ok { - this.SetActivityStreamsApplication(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArrive); ok { - this.SetActivityStreamsArrive(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsArticle); ok { - this.SetActivityStreamsArticle(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsAudio); ok { - this.SetActivityStreamsAudio(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsBlock); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsCollectionPage); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsDelete); ok { - this.SetActivityStreamsDelete(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDislike); ok { - this.SetActivityStreamsDislike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsDocument); ok { - this.SetActivityStreamsDocument(v) - return nil - } - if v, ok := t.(vocab.TootEmoji); ok { - this.SetTootEmoji(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsEvent); ok { - this.SetActivityStreamsEvent(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFlag); ok { - this.SetActivityStreamsFlag(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsFollow); ok { - this.SetActivityStreamsFollow(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsGroup); ok { - this.SetActivityStreamsGroup(v) - return nil - } - if v, ok := t.(vocab.TootIdentityProof); ok { - this.SetTootIdentityProof(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIgnore); ok { - this.SetActivityStreamsIgnore(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsImage); ok { - this.SetActivityStreamsImage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsIntransitiveActivity); ok { - this.SetActivityStreamsIntransitiveActivity(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsInvite); ok { - this.SetActivityStreamsInvite(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsJoin); ok { - this.SetActivityStreamsJoin(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLeave); ok { - this.SetActivityStreamsLeave(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsLike); ok { - this.SetActivityStreamsLike(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsListen); ok { - this.SetActivityStreamsListen(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsMove); ok { - this.SetActivityStreamsMove(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsNote); ok { - this.SetActivityStreamsNote(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOffer); ok { - this.SetActivityStreamsOffer(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollection); ok { - this.SetActivityStreamsOrderedCollection(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrderedCollectionPage); ok { - this.SetActivityStreamsOrderedCollectionPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsOrganization); ok { - this.SetActivityStreamsOrganization(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPage); ok { - this.SetActivityStreamsPage(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPerson); ok { - this.SetActivityStreamsPerson(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsPlace); ok { - this.SetActivityStreamsPlace(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsProfile); ok { - this.SetActivityStreamsProfile(v) - return nil - } - if v, ok := t.(vocab.SchemaPropertyValue); ok { - this.SetSchemaPropertyValue(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 - } - if v, ok := t.(vocab.ActivityStreamsRead); ok { - this.SetActivityStreamsRead(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsReject); ok { - this.SetActivityStreamsReject(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRelationship); ok { - this.SetActivityStreamsRelationship(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsRemove); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTentativeAccept); ok { - this.SetActivityStreamsTentativeAccept(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsTentativeReject); ok { - 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 - } - if v, ok := t.(vocab.ActivityStreamsTravel); ok { - this.SetActivityStreamsTravel(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUndo); ok { - this.SetActivityStreamsUndo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsUpdate); ok { - this.SetActivityStreamsUpdate(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsVideo); ok { - this.SetActivityStreamsVideo(v) - return nil - } - if v, ok := t.(vocab.ActivityStreamsView); ok { - this.SetActivityStreamsView(v) - return nil - } - - return fmt.Errorf("illegal type to set on ForgeFedTracksTicketsFor property: %T", t) -} - -// clear ensures no value of this property is set. Calling HasAny or any of the -// 'Is' methods afterwards will return false. -func (this *ForgeFedTracksTicketsForPropertyIterator) clear() { - this.activitystreamsObjectMember = nil - this.activitystreamsAcceptMember = nil - this.activitystreamsActivityMember = nil - this.activitystreamsAddMember = nil - this.activitystreamsAnnounceMember = nil - this.activitystreamsApplicationMember = nil - this.activitystreamsArriveMember = nil - 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 - this.activitystreamsDocumentMember = nil - this.tootEmojiMember = nil - this.activitystreamsEventMember = nil - this.activitystreamsFlagMember = nil - this.activitystreamsFollowMember = nil - this.activitystreamsGroupMember = nil - this.tootIdentityProofMember = nil - this.activitystreamsIgnoreMember = nil - this.activitystreamsImageMember = nil - this.activitystreamsIntransitiveActivityMember = nil - this.activitystreamsInviteMember = nil - this.activitystreamsJoinMember = nil - this.activitystreamsLeaveMember = nil - this.activitystreamsLikeMember = nil - this.activitystreamsListenMember = nil - this.activitystreamsMoveMember = nil - this.activitystreamsNoteMember = nil - this.activitystreamsOfferMember = nil - this.activitystreamsOrderedCollectionMember = nil - this.activitystreamsOrderedCollectionPageMember = nil - this.activitystreamsOrganizationMember = nil - this.activitystreamsPageMember = nil - this.activitystreamsPersonMember = nil - this.activitystreamsPlaceMember = nil - this.activitystreamsProfileMember = nil - this.schemaPropertyValueMember = 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 - this.activitystreamsUpdateMember = nil - this.activitystreamsVideoMember = nil - this.activitystreamsViewMember = nil - this.unknown = nil - this.iri = nil -} - -// serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedTracksTicketsForPropertyIterator) serialize() (interface{}, error) { - if this.IsActivityStreamsObject() { - return this.GetActivityStreamsObject().Serialize() - } else if this.IsActivityStreamsAccept() { - return this.GetActivityStreamsAccept().Serialize() - } else if this.IsActivityStreamsActivity() { - return this.GetActivityStreamsActivity().Serialize() - } else if this.IsActivityStreamsAdd() { - return this.GetActivityStreamsAdd().Serialize() - } else if this.IsActivityStreamsAnnounce() { - return this.GetActivityStreamsAnnounce().Serialize() - } else if this.IsActivityStreamsApplication() { - return this.GetActivityStreamsApplication().Serialize() - } else if this.IsActivityStreamsArrive() { - return this.GetActivityStreamsArrive().Serialize() - } else if this.IsActivityStreamsArticle() { - return this.GetActivityStreamsArticle().Serialize() - } else if this.IsActivityStreamsAudio() { - 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() { - return this.GetActivityStreamsDelete().Serialize() - } else if this.IsActivityStreamsDislike() { - return this.GetActivityStreamsDislike().Serialize() - } else if this.IsActivityStreamsDocument() { - return this.GetActivityStreamsDocument().Serialize() - } else if this.IsTootEmoji() { - return this.GetTootEmoji().Serialize() - } else if this.IsActivityStreamsEvent() { - return this.GetActivityStreamsEvent().Serialize() - } else if this.IsActivityStreamsFlag() { - return this.GetActivityStreamsFlag().Serialize() - } else if this.IsActivityStreamsFollow() { - return this.GetActivityStreamsFollow().Serialize() - } else if this.IsActivityStreamsGroup() { - return this.GetActivityStreamsGroup().Serialize() - } else if this.IsTootIdentityProof() { - return this.GetTootIdentityProof().Serialize() - } else if this.IsActivityStreamsIgnore() { - return this.GetActivityStreamsIgnore().Serialize() - } else if this.IsActivityStreamsImage() { - return this.GetActivityStreamsImage().Serialize() - } else if this.IsActivityStreamsIntransitiveActivity() { - return this.GetActivityStreamsIntransitiveActivity().Serialize() - } else if this.IsActivityStreamsInvite() { - return this.GetActivityStreamsInvite().Serialize() - } else if this.IsActivityStreamsJoin() { - return this.GetActivityStreamsJoin().Serialize() - } else if this.IsActivityStreamsLeave() { - return this.GetActivityStreamsLeave().Serialize() - } else if this.IsActivityStreamsLike() { - return this.GetActivityStreamsLike().Serialize() - } else if this.IsActivityStreamsListen() { - return this.GetActivityStreamsListen().Serialize() - } else if this.IsActivityStreamsMove() { - return this.GetActivityStreamsMove().Serialize() - } else if this.IsActivityStreamsNote() { - return this.GetActivityStreamsNote().Serialize() - } else if this.IsActivityStreamsOffer() { - return this.GetActivityStreamsOffer().Serialize() - } else if this.IsActivityStreamsOrderedCollection() { - return this.GetActivityStreamsOrderedCollection().Serialize() - } else if this.IsActivityStreamsOrderedCollectionPage() { - return this.GetActivityStreamsOrderedCollectionPage().Serialize() - } else if this.IsActivityStreamsOrganization() { - return this.GetActivityStreamsOrganization().Serialize() - } else if this.IsActivityStreamsPage() { - return this.GetActivityStreamsPage().Serialize() - } else if this.IsActivityStreamsPerson() { - return this.GetActivityStreamsPerson().Serialize() - } else if this.IsActivityStreamsPlace() { - return this.GetActivityStreamsPlace().Serialize() - } else if this.IsActivityStreamsProfile() { - return this.GetActivityStreamsProfile().Serialize() - } else if this.IsSchemaPropertyValue() { - return this.GetSchemaPropertyValue().Serialize() - } else if this.IsForgeFedPush() { - return this.GetForgeFedPush().Serialize() - } else if this.IsActivityStreamsQuestion() { - return this.GetActivityStreamsQuestion().Serialize() - } else if this.IsActivityStreamsRead() { - return this.GetActivityStreamsRead().Serialize() - } else if this.IsActivityStreamsReject() { - return this.GetActivityStreamsReject().Serialize() - } else if this.IsActivityStreamsRelationship() { - 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() { - return this.GetActivityStreamsTravel().Serialize() - } else if this.IsActivityStreamsUndo() { - return this.GetActivityStreamsUndo().Serialize() - } else if this.IsActivityStreamsUpdate() { - return this.GetActivityStreamsUpdate().Serialize() - } else if this.IsActivityStreamsVideo() { - return this.GetActivityStreamsVideo().Serialize() - } else if this.IsActivityStreamsView() { - return this.GetActivityStreamsView().Serialize() - } else if this.IsIRI() { - return this.iri.String(), nil - } - return this.unknown, nil -} - -// ForgeFedTracksTicketsForProperty is the non-functional property -// "tracksTicketsFor". It is permitted to have one or more values, and of -// different value types. -type ForgeFedTracksTicketsForProperty struct { - properties []*ForgeFedTracksTicketsForPropertyIterator - alias string -} - -// DeserializeTracksTicketsForProperty creates a "tracksTicketsFor" property from -// an interface representation that has been unmarshalled from a text or -// binary format. -func DeserializeTracksTicketsForProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedTracksTicketsForProperty, error) { - alias := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - } - propName := "tracksTicketsFor" - if len(alias) > 0 { - propName = fmt.Sprintf("%s:%s", alias, "tracksTicketsFor") - } - i, ok := m[propName] - - if ok { - this := &ForgeFedTracksTicketsForProperty{ - alias: alias, - properties: []*ForgeFedTracksTicketsForPropertyIterator{}, - } - if list, ok := i.([]interface{}); ok { - for _, iterator := range list { - if p, err := deserializeForgeFedTracksTicketsForPropertyIterator(iterator, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - } else { - if p, err := deserializeForgeFedTracksTicketsForPropertyIterator(i, aliasMap); err != nil { - return this, err - } else if p != nil { - this.properties = append(this.properties, p) - } - } - // Set up the properties for iteration. - for idx, ele := range this.properties { - ele.parent = this - ele.myIdx = idx - } - return this, nil - } - return nil, nil -} - -// NewForgeFedTracksTicketsForProperty creates a new tracksTicketsFor property. -func NewForgeFedTracksTicketsForProperty() *ForgeFedTracksTicketsForProperty { - return &ForgeFedTracksTicketsForProperty{alias: ""} -} - -// AppendActivityStreamsAccept appends a Accept value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsActivity appends a Activity value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAdd appends a Add value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAnnounce appends a Announce value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsApplication appends a Application value to the back of a -// list of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsArrive appends a Arrive value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsArticle appends a Article value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsAudio appends a Audio value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsBlock appends a Block value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCollection appends a Collection value to the back of a -// list of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCollectionPage appends a CollectionPage value to the back -// of a list of the property "tracksTicketsFor". Invalidates iterators that -// are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsCreate appends a Create value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDelete appends a Delete value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDislike appends a Dislike value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsDocument appends a Document value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsEvent appends a Event value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsFlag appends a Flag value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsFollow appends a Follow value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsGroup appends a Group value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsIgnore appends a Ignore value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsImage appends a Image value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsIntransitiveActivity appends a IntransitiveActivity value -// to the back of a list of the property "tracksTicketsFor". Invalidates -// iterators that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsInvite appends a Invite value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsJoin appends a Join value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsLeave appends a Leave value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsLike appends a Like value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsListen appends a Listen value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsMove appends a Move value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsNote appends a Note value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsObject appends a Object value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOffer appends a Offer value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrderedCollection appends a OrderedCollection value to the -// back of a list of the property "tracksTicketsFor". Invalidates iterators -// that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrderedCollectionPage appends a OrderedCollectionPage -// value to the back of a list of the property "tracksTicketsFor". Invalidates -// iterators that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsOrganization appends a Organization value to the back of a -// list of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPage appends a Page value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPerson appends a Person value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsPlace appends a Place value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsProfile appends a Profile value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsQuestion appends a Question value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRead appends a Read value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsReject appends a Reject value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRelationship appends a Relationship value to the back of a -// list of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsRemove appends a Remove value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsService appends a Service value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsService(v vocab.ActivityStreamsService) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTentativeAccept appends a TentativeAccept value to the -// back of a list of the property "tracksTicketsFor". Invalidates iterators -// that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTentativeReject appends a TentativeReject value to the -// back of a list of the property "tracksTicketsFor". Invalidates iterators -// that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTombstone appends a Tombstone value to the back of a list -// of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsTravel appends a Travel value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsUndo appends a Undo value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsUpdate appends a Update value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsVideo appends a Video value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendActivityStreamsView appends a View value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendActivityStreamsView(v vocab.ActivityStreamsView) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedBranch appends a Branch value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedCommit appends a Commit value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedPush appends a Push value to the back of a list of the property -// "tracksTicketsFor". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedRepository appends a Repository value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicket appends a Ticket value to the back of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendForgeFedTicketDependency appends a TicketDependency value to the back of -// a list of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendIRI appends an IRI value to the back of a list of the property -// "tracksTicketsFor" -func (this *ForgeFedTracksTicketsForProperty) AppendIRI(v *url.URL) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: this.Len(), - parent: this, - }) -} - -// AppendSchemaPropertyValue appends a PropertyValue value to the back of a list -// of the property "tracksTicketsFor". Invalidates iterators that are -// traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - schemaPropertyValueMember: v, - }) -} - -// AppendTootEmoji appends a Emoji value to the back of a list of the property -// "tracksTicketsFor". Invalidates iterators that are traversing using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendTootEmoji(v vocab.TootEmoji) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - tootEmojiMember: v, - }) -} - -// AppendTootIdentityProof appends a IdentityProof value to the back of a list of -// the property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. -func (this *ForgeFedTracksTicketsForProperty) AppendTootIdentityProof(v vocab.TootIdentityProof) { - this.properties = append(this.properties, &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - tootIdentityProofMember: v, - }) -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "tracksTicketsFor". Invalidates iterators that are traversing -// using Prev. Returns an error if the type is not a valid one to set for this -// property. -func (this *ForgeFedTracksTicketsForProperty) AppendType(t vocab.Type) error { - n := &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: this.Len(), - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, n) - return nil -} - -// At returns the property value for the specified index. Panics if the index is -// out of bounds. -func (this ForgeFedTracksTicketsForProperty) At(index int) vocab.ForgeFedTracksTicketsForPropertyIterator { - return this.properties[index] -} - -// Begin returns the first iterator, or nil if empty. Can be used with the -// iterator's Next method and this property's End method to iterate from front -// to back through all values. -func (this ForgeFedTracksTicketsForProperty) Begin() vocab.ForgeFedTracksTicketsForPropertyIterator { - if this.Empty() { - return nil - } else { - return this.properties[0] - } -} - -// Empty returns returns true if there are no elements. -func (this ForgeFedTracksTicketsForProperty) Empty() bool { - return this.Len() == 0 -} - -// End returns beyond-the-last iterator, which is nil. Can be used with the -// iterator's Next method and this property's Begin method to iterate from -// front to back through all values. -func (this ForgeFedTracksTicketsForProperty) End() vocab.ForgeFedTracksTicketsForPropertyIterator { - return nil -} - -// InsertActivityStreamsAccept inserts a Accept value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsActivity inserts a Activity value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAdd inserts a Add value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAnnounce inserts a Announce value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsApplication inserts a Application value at the specified -// index for a property "tracksTicketsFor". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsArrive inserts a Arrive value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsArticle inserts a Article value at the specified index for -// a property "tracksTicketsFor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsAudio inserts a Audio value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsBlock inserts a Block value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCollection inserts a Collection value at the specified -// index for a property "tracksTicketsFor". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCollectionPage inserts a CollectionPage value at the -// specified index for a property "tracksTicketsFor". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsCreate inserts a Create value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDelete inserts a Delete value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDislike inserts a Dislike value at the specified index for -// a property "tracksTicketsFor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsDocument inserts a Document value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsEvent inserts a Event value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsFlag inserts a Flag value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsFollow inserts a Follow value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsGroup inserts a Group value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsIgnore inserts a Ignore value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsImage inserts a Image value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsIntransitiveActivity inserts a IntransitiveActivity value -// at the specified index for a property "tracksTicketsFor". Existing elements -// at that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsInvite inserts a Invite value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsJoin inserts a Join value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsLeave inserts a Leave value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsLike inserts a Like value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsListen inserts a Listen value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsMove inserts a Move value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsNote inserts a Note value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsObject inserts a Object value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOffer inserts a Offer value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrderedCollection inserts a OrderedCollection value at the -// specified index for a property "tracksTicketsFor". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrderedCollectionPage inserts a OrderedCollectionPage -// value at the specified index for a property "tracksTicketsFor". Existing -// elements at that index and higher are shifted back once. Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsOrganization inserts a Organization value at the specified -// index for a property "tracksTicketsFor". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPage inserts a Page value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPerson inserts a Person value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsPlace inserts a Place value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsProfile inserts a Profile value at the specified index for -// a property "tracksTicketsFor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsQuestion inserts a Question value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRead inserts a Read value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsReject inserts a Reject value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRelationship inserts a Relationship value at the specified -// index for a property "tracksTicketsFor". Existing elements at that index -// and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsRemove inserts a Remove value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsService inserts a Service value at the specified index for -// a property "tracksTicketsFor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsService(idx int, v vocab.ActivityStreamsService) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTentativeAccept inserts a TentativeAccept value at the -// specified index for a property "tracksTicketsFor". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTentativeReject inserts a TentativeReject value at the -// specified index for a property "tracksTicketsFor". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTombstone inserts a Tombstone value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsTravel inserts a Travel value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsUndo inserts a Undo value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsUpdate inserts a Update value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsVideo inserts a Video value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertActivityStreamsView inserts a View value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertActivityStreamsView(idx int, v vocab.ActivityStreamsView) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertForgeFedBranch inserts a Branch value at the specified index for a -// property "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 -// "tracksTicketsFor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedPush(idx int, v vocab.ForgeFedPush) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 "tracksTicketsFor". Existing elements at that index and higher -// are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 "tracksTicketsFor". Existing elements at that index and higher are -// shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 "tracksTicketsFor". Existing elements at -// that index and higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - 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 -// "tracksTicketsFor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertIRI(idx int, v *url.URL) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertSchemaPropertyValue inserts a PropertyValue value at the specified index -// for a property "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertSchemaPropertyValue(idx int, v vocab.SchemaPropertyValue) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - schemaPropertyValueMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// InsertTootEmoji inserts a Emoji value at the specified index for a property -// "tracksTicketsFor". Existing elements at that index and higher are shifted -// back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertTootEmoji(idx int, v vocab.TootEmoji) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootEmojiMember: 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 "tracksTicketsFor". Existing elements at that index and -// higher are shifted back once. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) InsertTootIdentityProof(idx int, v vocab.TootIdentityProof) { - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootIdentityProofMember: v, - } - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. Returns an error if -// the type is not a valid one to set for this property. -func (this *ForgeFedTracksTicketsForProperty) InsertType(idx int, t vocab.Type) error { - n := &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append(this.properties, nil) - copy(this.properties[idx+1:], this.properties[idx:]) - this.properties[idx] = n - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// JSONLDContext returns the JSONLD URIs required in the context string for this -// property and the specific values that are set. The value in the map is the -// alias used to import the property's value or values. -func (this ForgeFedTracksTicketsForProperty) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - for _, elem := range this.properties { - child := elem.JSONLDContext() - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - for k, v := range child { - m[k] = v - } - } - return m -} - -// KindIndex computes an arbitrary value for indexing this kind of value. This is -// a leaky API method specifically needed only for alternate implementations -// for go-fed. Applications should not use this method. Panics if the index is -// out of bounds. -func (this ForgeFedTracksTicketsForProperty) KindIndex(idx int) int { - return this.properties[idx].KindIndex() -} - -// Len returns the number of values that exist for the "tracksTicketsFor" property. -func (this ForgeFedTracksTicketsForProperty) Len() (length int) { - return len(this.properties) -} - -// Less computes whether another property is less than this one. Mixing types -// results in a consistent but arbitrary ordering -func (this ForgeFedTracksTicketsForProperty) Less(i, j int) bool { - idx1 := this.KindIndex(i) - idx2 := this.KindIndex(j) - if idx1 < idx2 { - return true - } else if idx1 == idx2 { - if idx1 == 0 { - lhs := this.properties[i].GetActivityStreamsObject() - rhs := this.properties[j].GetActivityStreamsObject() - return lhs.LessThan(rhs) - } else if idx1 == 1 { - lhs := this.properties[i].GetActivityStreamsAccept() - rhs := this.properties[j].GetActivityStreamsAccept() - return lhs.LessThan(rhs) - } else if idx1 == 2 { - lhs := this.properties[i].GetActivityStreamsActivity() - rhs := this.properties[j].GetActivityStreamsActivity() - return lhs.LessThan(rhs) - } else if idx1 == 3 { - lhs := this.properties[i].GetActivityStreamsAdd() - rhs := this.properties[j].GetActivityStreamsAdd() - return lhs.LessThan(rhs) - } else if idx1 == 4 { - lhs := this.properties[i].GetActivityStreamsAnnounce() - rhs := this.properties[j].GetActivityStreamsAnnounce() - return lhs.LessThan(rhs) - } else if idx1 == 5 { - lhs := this.properties[i].GetActivityStreamsApplication() - rhs := this.properties[j].GetActivityStreamsApplication() - return lhs.LessThan(rhs) - } else if idx1 == 6 { - lhs := this.properties[i].GetActivityStreamsArrive() - rhs := this.properties[j].GetActivityStreamsArrive() - return lhs.LessThan(rhs) - } else if idx1 == 7 { - lhs := this.properties[i].GetActivityStreamsArticle() - rhs := this.properties[j].GetActivityStreamsArticle() - return lhs.LessThan(rhs) - } else if idx1 == 8 { - lhs := this.properties[i].GetActivityStreamsAudio() - rhs := this.properties[j].GetActivityStreamsAudio() - return lhs.LessThan(rhs) - } else if idx1 == 9 { - lhs := this.properties[i].GetActivityStreamsBlock() - 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 { - 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 { - lhs := this.properties[i].GetActivityStreamsCreate() - rhs := this.properties[j].GetActivityStreamsCreate() - return lhs.LessThan(rhs) - } else if idx1 == 15 { - lhs := this.properties[i].GetActivityStreamsDelete() - rhs := this.properties[j].GetActivityStreamsDelete() - return lhs.LessThan(rhs) - } else if idx1 == 16 { - lhs := this.properties[i].GetActivityStreamsDislike() - rhs := this.properties[j].GetActivityStreamsDislike() - return lhs.LessThan(rhs) - } else if idx1 == 17 { - lhs := this.properties[i].GetActivityStreamsDocument() - rhs := this.properties[j].GetActivityStreamsDocument() - return lhs.LessThan(rhs) - } else if idx1 == 18 { - lhs := this.properties[i].GetTootEmoji() - rhs := this.properties[j].GetTootEmoji() - return lhs.LessThan(rhs) - } else if idx1 == 19 { - lhs := this.properties[i].GetActivityStreamsEvent() - rhs := this.properties[j].GetActivityStreamsEvent() - return lhs.LessThan(rhs) - } else if idx1 == 20 { - lhs := this.properties[i].GetActivityStreamsFlag() - rhs := this.properties[j].GetActivityStreamsFlag() - return lhs.LessThan(rhs) - } else if idx1 == 21 { - lhs := this.properties[i].GetActivityStreamsFollow() - rhs := this.properties[j].GetActivityStreamsFollow() - return lhs.LessThan(rhs) - } else if idx1 == 22 { - lhs := this.properties[i].GetActivityStreamsGroup() - rhs := this.properties[j].GetActivityStreamsGroup() - 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 == 24 { - lhs := this.properties[i].GetActivityStreamsIgnore() - rhs := this.properties[j].GetActivityStreamsIgnore() - return lhs.LessThan(rhs) - } else if idx1 == 25 { - lhs := this.properties[i].GetActivityStreamsImage() - rhs := this.properties[j].GetActivityStreamsImage() - return lhs.LessThan(rhs) - } else if idx1 == 26 { - lhs := this.properties[i].GetActivityStreamsIntransitiveActivity() - rhs := this.properties[j].GetActivityStreamsIntransitiveActivity() - return lhs.LessThan(rhs) - } else if idx1 == 27 { - lhs := this.properties[i].GetActivityStreamsInvite() - rhs := this.properties[j].GetActivityStreamsInvite() - return lhs.LessThan(rhs) - } else if idx1 == 28 { - lhs := this.properties[i].GetActivityStreamsJoin() - rhs := this.properties[j].GetActivityStreamsJoin() - return lhs.LessThan(rhs) - } else if idx1 == 29 { - lhs := this.properties[i].GetActivityStreamsLeave() - rhs := this.properties[j].GetActivityStreamsLeave() - return lhs.LessThan(rhs) - } else if idx1 == 30 { - lhs := this.properties[i].GetActivityStreamsLike() - rhs := this.properties[j].GetActivityStreamsLike() - return lhs.LessThan(rhs) - } else if idx1 == 31 { - lhs := this.properties[i].GetActivityStreamsListen() - rhs := this.properties[j].GetActivityStreamsListen() - return lhs.LessThan(rhs) - } else if idx1 == 32 { - lhs := this.properties[i].GetActivityStreamsMove() - rhs := this.properties[j].GetActivityStreamsMove() - return lhs.LessThan(rhs) - } else if idx1 == 33 { - lhs := this.properties[i].GetActivityStreamsNote() - rhs := this.properties[j].GetActivityStreamsNote() - return lhs.LessThan(rhs) - } else if idx1 == 34 { - lhs := this.properties[i].GetActivityStreamsOffer() - rhs := this.properties[j].GetActivityStreamsOffer() - return lhs.LessThan(rhs) - } else if idx1 == 35 { - lhs := this.properties[i].GetActivityStreamsOrderedCollection() - rhs := this.properties[j].GetActivityStreamsOrderedCollection() - return lhs.LessThan(rhs) - } else if idx1 == 36 { - lhs := this.properties[i].GetActivityStreamsOrderedCollectionPage() - rhs := this.properties[j].GetActivityStreamsOrderedCollectionPage() - return lhs.LessThan(rhs) - } else if idx1 == 37 { - lhs := this.properties[i].GetActivityStreamsOrganization() - rhs := this.properties[j].GetActivityStreamsOrganization() - return lhs.LessThan(rhs) - } else if idx1 == 38 { - lhs := this.properties[i].GetActivityStreamsPage() - rhs := this.properties[j].GetActivityStreamsPage() - return lhs.LessThan(rhs) - } else if idx1 == 39 { - lhs := this.properties[i].GetActivityStreamsPerson() - rhs := this.properties[j].GetActivityStreamsPerson() - return lhs.LessThan(rhs) - } else if idx1 == 40 { - lhs := this.properties[i].GetActivityStreamsPlace() - rhs := this.properties[j].GetActivityStreamsPlace() - return lhs.LessThan(rhs) - } else if idx1 == 41 { - lhs := this.properties[i].GetActivityStreamsProfile() - rhs := this.properties[j].GetActivityStreamsProfile() - return lhs.LessThan(rhs) - } else if idx1 == 42 { - lhs := this.properties[i].GetSchemaPropertyValue() - rhs := this.properties[j].GetSchemaPropertyValue() - 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 { - lhs := this.properties[i].GetActivityStreamsQuestion() - rhs := this.properties[j].GetActivityStreamsQuestion() - return lhs.LessThan(rhs) - } else if idx1 == 45 { - lhs := this.properties[i].GetActivityStreamsRead() - rhs := this.properties[j].GetActivityStreamsRead() - return lhs.LessThan(rhs) - } else if idx1 == 46 { - lhs := this.properties[i].GetActivityStreamsReject() - rhs := this.properties[j].GetActivityStreamsReject() - return lhs.LessThan(rhs) - } else if idx1 == 47 { - lhs := this.properties[i].GetActivityStreamsRelationship() - rhs := this.properties[j].GetActivityStreamsRelationship() - return lhs.LessThan(rhs) - } else if idx1 == 48 { - 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 { - lhs := this.properties[i].GetActivityStreamsService() - rhs := this.properties[j].GetActivityStreamsService() - return lhs.LessThan(rhs) - } else if idx1 == 51 { - lhs := this.properties[i].GetActivityStreamsTentativeAccept() - rhs := this.properties[j].GetActivityStreamsTentativeAccept() - return lhs.LessThan(rhs) - } else if idx1 == 52 { - 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 { - lhs := this.properties[i].GetActivityStreamsTombstone() - rhs := this.properties[j].GetActivityStreamsTombstone() - return lhs.LessThan(rhs) - } else if idx1 == 56 { - lhs := this.properties[i].GetActivityStreamsTravel() - rhs := this.properties[j].GetActivityStreamsTravel() - return lhs.LessThan(rhs) - } else if idx1 == 57 { - lhs := this.properties[i].GetActivityStreamsUndo() - rhs := this.properties[j].GetActivityStreamsUndo() - return lhs.LessThan(rhs) - } else if idx1 == 58 { - lhs := this.properties[i].GetActivityStreamsUpdate() - rhs := this.properties[j].GetActivityStreamsUpdate() - return lhs.LessThan(rhs) - } else if idx1 == 59 { - lhs := this.properties[i].GetActivityStreamsVideo() - rhs := this.properties[j].GetActivityStreamsVideo() - return lhs.LessThan(rhs) - } else if idx1 == 60 { - lhs := this.properties[i].GetActivityStreamsView() - rhs := this.properties[j].GetActivityStreamsView() - return lhs.LessThan(rhs) - } else if idx1 == -2 { - lhs := this.properties[i].GetIRI() - rhs := this.properties[j].GetIRI() - return lhs.String() < rhs.String() - } - } - return false -} - -// LessThan compares two instances of this property with an arbitrary but stable -// comparison. Applications should not use this because it is only meant to -// help alternative implementations to go-fed to be able to normalize -// nonfunctional properties. -func (this ForgeFedTracksTicketsForProperty) LessThan(o vocab.ForgeFedTracksTicketsForProperty) bool { - l1 := this.Len() - l2 := o.Len() - l := l1 - if l2 < l1 { - l = l2 - } - for i := 0; i < l; i++ { - if this.properties[i].LessThan(o.At(i)) { - return true - } else if o.At(i).LessThan(this.properties[i]) { - return false - } - } - return l1 < l2 -} - -// Name returns the name of this property ("tracksTicketsFor") with any alias. -func (this ForgeFedTracksTicketsForProperty) Name() string { - if len(this.alias) > 0 { - return this.alias + ":" + "tracksTicketsFor" - } else { - return "tracksTicketsFor" - } -} - -// PrependActivityStreamsAccept prepends a Accept value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsAccept(v vocab.ActivityStreamsAccept) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsActivity prepends a Activity value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsActivity(v vocab.ActivityStreamsActivity) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAdd prepends a Add value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsAdd(v vocab.ActivityStreamsAdd) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAnnounce prepends a Announce value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsAnnounce(v vocab.ActivityStreamsAnnounce) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsApplication prepends a Application value to the front of -// a list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsApplication(v vocab.ActivityStreamsApplication) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsArrive prepends a Arrive value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsArrive(v vocab.ActivityStreamsArrive) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsArticle prepends a Article value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsArticle(v vocab.ActivityStreamsArticle) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsAudio prepends a Audio value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsAudio(v vocab.ActivityStreamsAudio) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsBlock prepends a Block value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsBlock(v vocab.ActivityStreamsBlock) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCollection prepends a Collection value to the front of a -// list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsCollection(v vocab.ActivityStreamsCollection) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCollectionPage prepends a CollectionPage value to the -// front of a list of the property "tracksTicketsFor". Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsCollectionPage(v vocab.ActivityStreamsCollectionPage) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsCreate prepends a Create value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsCreate(v vocab.ActivityStreamsCreate) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDelete prepends a Delete value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsDelete(v vocab.ActivityStreamsDelete) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDislike prepends a Dislike value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsDislike(v vocab.ActivityStreamsDislike) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsDocument prepends a Document value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsDocument(v vocab.ActivityStreamsDocument) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsEvent prepends a Event value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsEvent(v vocab.ActivityStreamsEvent) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsFlag prepends a Flag value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsFlag(v vocab.ActivityStreamsFlag) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsFollow prepends a Follow value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsFollow(v vocab.ActivityStreamsFollow) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsGroup prepends a Group value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsGroup(v vocab.ActivityStreamsGroup) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsIgnore prepends a Ignore value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsIgnore(v vocab.ActivityStreamsIgnore) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsImage prepends a Image value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsImage(v vocab.ActivityStreamsImage) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsIntransitiveActivity prepends a IntransitiveActivity -// value to the front of a list of the property "tracksTicketsFor". -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsIntransitiveActivity(v vocab.ActivityStreamsIntransitiveActivity) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsInvite prepends a Invite value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsInvite(v vocab.ActivityStreamsInvite) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsJoin prepends a Join value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsJoin(v vocab.ActivityStreamsJoin) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsLeave prepends a Leave value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsLeave(v vocab.ActivityStreamsLeave) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsLike prepends a Like value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsLike(v vocab.ActivityStreamsLike) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsListen prepends a Listen value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsListen(v vocab.ActivityStreamsListen) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsMove prepends a Move value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsMove(v vocab.ActivityStreamsMove) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsNote prepends a Note value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsNote(v vocab.ActivityStreamsNote) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsObject prepends a Object value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsObject(v vocab.ActivityStreamsObject) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOffer prepends a Offer value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsOffer(v vocab.ActivityStreamsOffer) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrderedCollection prepends a OrderedCollection value to -// the front of a list of the property "tracksTicketsFor". Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsOrderedCollection(v vocab.ActivityStreamsOrderedCollection) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrderedCollectionPage prepends a OrderedCollectionPage -// value to the front of a list of the property "tracksTicketsFor". -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsOrderedCollectionPage(v vocab.ActivityStreamsOrderedCollectionPage) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsOrganization prepends a Organization value to the front -// of a list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsOrganization(v vocab.ActivityStreamsOrganization) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPage prepends a Page value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsPage(v vocab.ActivityStreamsPage) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPerson prepends a Person value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsPerson(v vocab.ActivityStreamsPerson) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsPlace prepends a Place value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsPlace(v vocab.ActivityStreamsPlace) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsProfile prepends a Profile value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsProfile(v vocab.ActivityStreamsProfile) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsQuestion prepends a Question value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsQuestion(v vocab.ActivityStreamsQuestion) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRead prepends a Read value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsRead(v vocab.ActivityStreamsRead) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsReject prepends a Reject value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsReject(v vocab.ActivityStreamsReject) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRelationship prepends a Relationship value to the front -// of a list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsRelationship(v vocab.ActivityStreamsRelationship) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsRemove prepends a Remove value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsRemove(v vocab.ActivityStreamsRemove) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsService prepends a Service value to the front of a list -// of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsService(v vocab.ActivityStreamsService) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTentativeAccept prepends a TentativeAccept value to the -// front of a list of the property "tracksTicketsFor". Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsTentativeAccept(v vocab.ActivityStreamsTentativeAccept) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTentativeReject prepends a TentativeReject value to the -// front of a list of the property "tracksTicketsFor". Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsTentativeReject(v vocab.ActivityStreamsTentativeReject) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTombstone prepends a Tombstone value to the front of a -// list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsTombstone(v vocab.ActivityStreamsTombstone) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsTravel prepends a Travel value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsTravel(v vocab.ActivityStreamsTravel) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsUndo prepends a Undo value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsUndo(v vocab.ActivityStreamsUndo) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsUpdate prepends a Update value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsUpdate(v vocab.ActivityStreamsUpdate) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsVideo prepends a Video value to the front of a list of -// the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsVideo(v vocab.ActivityStreamsVideo) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependActivityStreamsView prepends a View value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependActivityStreamsView(v vocab.ActivityStreamsView) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependForgeFedBranch prepends a Branch value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedBranch(v vocab.ForgeFedBranch) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedCommit(v vocab.ForgeFedCommit) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedPush(v vocab.ForgeFedPush) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedRepository(v vocab.ForgeFedRepository) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedTicket(v vocab.ForgeFedTicket) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependForgeFedTicketDependency(v vocab.ForgeFedTicketDependency) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - 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 -// "tracksTicketsFor". -func (this *ForgeFedTracksTicketsForProperty) PrependIRI(v *url.URL) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - alias: this.alias, - iri: v, - myIdx: 0, - parent: this, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependSchemaPropertyValue prepends a PropertyValue value to the front of a -// list of the property "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependSchemaPropertyValue(v vocab.SchemaPropertyValue) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - schemaPropertyValueMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependTootEmoji prepends a Emoji value to the front of a list of the property -// "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependTootEmoji(v vocab.TootEmoji) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - tootEmojiMember: 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 "tracksTicketsFor". Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) PrependTootIdentityProof(v vocab.TootIdentityProof) { - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{{ - alias: this.alias, - myIdx: 0, - parent: this, - tootIdentityProofMember: v, - }}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// PrependType prepends an arbitrary type value to the front of a list of the -// property "tracksTicketsFor". Invalidates all iterators. Returns an error if -// the type is not a valid one to set for this property. -func (this *ForgeFedTracksTicketsForProperty) PrependType(t vocab.Type) error { - n := &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: 0, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - this.properties = append([]*ForgeFedTracksTicketsForPropertyIterator{n}, this.properties...) - for i := 1; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } - return nil -} - -// Remove deletes an element at the specified index from a list of the property -// "tracksTicketsFor", regardless of its type. Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) Remove(idx int) { - (this.properties)[idx].parent = nil - copy((this.properties)[idx:], (this.properties)[idx+1:]) - (this.properties)[len(this.properties)-1] = &ForgeFedTracksTicketsForPropertyIterator{} - this.properties = (this.properties)[:len(this.properties)-1] - for i := idx; i < this.Len(); i++ { - (this.properties)[i].myIdx = i - } -} - -// Serialize converts this into an interface representation suitable for -// marshalling into a text or binary format. Applications should not need this -// function as most typical use cases serialize types instead of individual -// properties. It is exposed for alternatives to go-fed implementations to use. -func (this ForgeFedTracksTicketsForProperty) Serialize() (interface{}, error) { - s := make([]interface{}, 0, len(this.properties)) - for _, iterator := range this.properties { - if b, err := iterator.serialize(); err != nil { - return s, err - } else { - s = append(s, b) - } - } - // Shortcut: if serializing one value, don't return an array -- pretty sure other Fediverse software would choke on a "type" value with array, for example. - if len(s) == 1 { - return s[0], nil - } - return s, nil -} - -// SetActivityStreamsAccept sets a Accept value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsAccept(idx int, v vocab.ActivityStreamsAccept) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsActivity sets a Activity value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsActivity(idx int, v vocab.ActivityStreamsActivity) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAdd sets a Add value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsAdd(idx int, v vocab.ActivityStreamsAdd) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAddMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAnnounce sets a Announce value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsAnnounce(idx int, v vocab.ActivityStreamsAnnounce) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAnnounceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsApplication sets a Application value to be at the specified -// index for the property "tracksTicketsFor". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsApplication(idx int, v vocab.ActivityStreamsApplication) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsApplicationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsArrive sets a Arrive value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsArrive(idx int, v vocab.ActivityStreamsArrive) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArriveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsArticle sets a Article value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsArticle(idx int, v vocab.ActivityStreamsArticle) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsArticleMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsAudio sets a Audio value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsAudio(idx int, v vocab.ActivityStreamsAudio) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsAudioMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsBlock sets a Block value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsBlock(idx int, v vocab.ActivityStreamsBlock) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsBlockMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCollection sets a Collection value to be at the specified -// index for the property "tracksTicketsFor". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsCollection(idx int, v vocab.ActivityStreamsCollection) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCollectionPage sets a CollectionPage value to be at the -// specified index for the property "tracksTicketsFor". Panics if the index is -// out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsCollectionPage(idx int, v vocab.ActivityStreamsCollectionPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsCreate sets a Create value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsCreate(idx int, v vocab.ActivityStreamsCreate) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsCreateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDelete sets a Delete value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsDelete(idx int, v vocab.ActivityStreamsDelete) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDeleteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDislike sets a Dislike value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsDislike(idx int, v vocab.ActivityStreamsDislike) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDislikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsDocument sets a Document value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsDocument(idx int, v vocab.ActivityStreamsDocument) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsDocumentMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsEvent sets a Event value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsEvent(idx int, v vocab.ActivityStreamsEvent) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsEventMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsFlag sets a Flag value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsFlag(idx int, v vocab.ActivityStreamsFlag) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFlagMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsFollow sets a Follow value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsFollow(idx int, v vocab.ActivityStreamsFollow) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsFollowMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsGroup sets a Group value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsGroup(idx int, v vocab.ActivityStreamsGroup) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsGroupMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsIgnore sets a Ignore value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsIgnore(idx int, v vocab.ActivityStreamsIgnore) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIgnoreMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsImage sets a Image value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsImage(idx int, v vocab.ActivityStreamsImage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsImageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity value to be -// at the specified index for the property "tracksTicketsFor". Panics if the -// index is out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsIntransitiveActivity(idx int, v vocab.ActivityStreamsIntransitiveActivity) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsIntransitiveActivityMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsInvite sets a Invite value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsInvite(idx int, v vocab.ActivityStreamsInvite) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsInviteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsJoin sets a Join value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsJoin(idx int, v vocab.ActivityStreamsJoin) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsJoinMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsLeave sets a Leave value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsLeave(idx int, v vocab.ActivityStreamsLeave) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLeaveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsLike sets a Like value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsLike(idx int, v vocab.ActivityStreamsLike) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsLikeMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsListen sets a Listen value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsListen(idx int, v vocab.ActivityStreamsListen) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsListenMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsMove sets a Move value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsMove(idx int, v vocab.ActivityStreamsMove) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsMoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsNote sets a Note value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsNote(idx int, v vocab.ActivityStreamsNote) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsNoteMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsObject sets a Object value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsObject(idx int, v vocab.ActivityStreamsObject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsObjectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOffer sets a Offer value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsOffer(idx int, v vocab.ActivityStreamsOffer) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOfferMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrderedCollection sets a OrderedCollection value to be at the -// specified index for the property "tracksTicketsFor". Panics if the index is -// out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsOrderedCollection(idx int, v vocab.ActivityStreamsOrderedCollection) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage value to -// be at the specified index for the property "tracksTicketsFor". Panics if -// the index is out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsOrderedCollectionPage(idx int, v vocab.ActivityStreamsOrderedCollectionPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrderedCollectionPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsOrganization sets a Organization value to be at the specified -// index for the property "tracksTicketsFor". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsOrganization(idx int, v vocab.ActivityStreamsOrganization) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsOrganizationMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPage sets a Page value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsPage(idx int, v vocab.ActivityStreamsPage) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPageMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPerson sets a Person value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsPerson(idx int, v vocab.ActivityStreamsPerson) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPersonMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsPlace sets a Place value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsPlace(idx int, v vocab.ActivityStreamsPlace) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsPlaceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsProfile sets a Profile value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsProfile(idx int, v vocab.ActivityStreamsProfile) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsProfileMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsQuestion sets a Question value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsQuestion(idx int, v vocab.ActivityStreamsQuestion) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsQuestionMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRead sets a Read value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsRead(idx int, v vocab.ActivityStreamsRead) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsReadMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsReject sets a Reject value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsReject(idx int, v vocab.ActivityStreamsReject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRelationship sets a Relationship value to be at the specified -// index for the property "tracksTicketsFor". Panics if the index is out of -// bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsRelationship(idx int, v vocab.ActivityStreamsRelationship) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRelationshipMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsRemove sets a Remove value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsRemove(idx int, v vocab.ActivityStreamsRemove) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsRemoveMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsService sets a Service value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsService(idx int, v vocab.ActivityStreamsService) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsServiceMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at the -// specified index for the property "tracksTicketsFor". Panics if the index is -// out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsTentativeAccept(idx int, v vocab.ActivityStreamsTentativeAccept) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeAcceptMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTentativeReject sets a TentativeReject value to be at the -// specified index for the property "tracksTicketsFor". Panics if the index is -// out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsTentativeReject(idx int, v vocab.ActivityStreamsTentativeReject) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTentativeRejectMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTombstone sets a Tombstone value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsTombstone(idx int, v vocab.ActivityStreamsTombstone) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTombstoneMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsTravel sets a Travel value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsTravel(idx int, v vocab.ActivityStreamsTravel) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsTravelMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsUndo sets a Undo value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsUndo(idx int, v vocab.ActivityStreamsUndo) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUndoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsUpdate sets a Update value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsUpdate(idx int, v vocab.ActivityStreamsUpdate) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsUpdateMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsVideo sets a Video value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsVideo(idx int, v vocab.ActivityStreamsVideo) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsVideoMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetActivityStreamsView sets a View value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetActivityStreamsView(idx int, v vocab.ActivityStreamsView) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - activitystreamsViewMember: v, - alias: this.alias, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedBranch sets a Branch value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedBranch(idx int, v vocab.ForgeFedBranch) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedBranchMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedCommit sets a Commit value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedCommit(idx int, v vocab.ForgeFedCommit) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedCommitMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedPush sets a Push value to be at the specified index for the property -// "tracksTicketsFor". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedPush(idx int, v vocab.ForgeFedPush) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedPushMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedRepository sets a Repository value to be at the specified index for -// the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedRepository(idx int, v vocab.ForgeFedRepository) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedRepositoryMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicket sets a Ticket value to be at the specified index for the -// property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedTicket(idx int, v vocab.ForgeFedTicket) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedTicketMember: v, - myIdx: idx, - parent: this, - } -} - -// SetForgeFedTicketDependency sets a TicketDependency value to be at the -// specified index for the property "tracksTicketsFor". Panics if the index is -// out of bounds. Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetForgeFedTicketDependency(idx int, v vocab.ForgeFedTicketDependency) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - forgefedTicketDependencyMember: v, - myIdx: idx, - parent: this, - } -} - -// SetIRI sets an IRI value to be at the specified index for the property -// "tracksTicketsFor". Panics if the index is out of bounds. -func (this *ForgeFedTracksTicketsForProperty) SetIRI(idx int, v *url.URL) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - iri: v, - myIdx: idx, - parent: this, - } -} - -// SetSchemaPropertyValue sets a PropertyValue value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetSchemaPropertyValue(idx int, v vocab.SchemaPropertyValue) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - schemaPropertyValueMember: v, - } -} - -// SetTootEmoji sets a Emoji value to be at the specified index for the property -// "tracksTicketsFor". Panics if the index is out of bounds. Invalidates all -// iterators. -func (this *ForgeFedTracksTicketsForProperty) SetTootEmoji(idx int, v vocab.TootEmoji) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootEmojiMember: v, - } -} - -// SetTootIdentityProof sets a IdentityProof value to be at the specified index -// for the property "tracksTicketsFor". Panics if the index is out of bounds. -// Invalidates all iterators. -func (this *ForgeFedTracksTicketsForProperty) SetTootIdentityProof(idx int, v vocab.TootIdentityProof) { - (this.properties)[idx].parent = nil - (this.properties)[idx] = &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - tootIdentityProofMember: v, - } -} - -// SetType sets an arbitrary type value to the specified index of the property -// "tracksTicketsFor". Invalidates all iterators. Returns an error if the type -// is not a valid one to set for this property. Panics if the index is out of -// bounds. -func (this *ForgeFedTracksTicketsForProperty) SetType(idx int, t vocab.Type) error { - n := &ForgeFedTracksTicketsForPropertyIterator{ - alias: this.alias, - myIdx: idx, - parent: this, - } - if err := n.SetType(t); err != nil { - return err - } - (this.properties)[idx] = n - return nil -} - -// Swap swaps the location of values at two indices for the "tracksTicketsFor" -// property. -func (this ForgeFedTracksTicketsForProperty) Swap(i, j int) { - this.properties[i], this.properties[j] = this.properties[j], this.properties[i] -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_doc.go deleted file mode 100644 index c6836a19d..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typebranch contains the implementation for the Branch 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 typebranch diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_pkg.go deleted file mode 100644 index c29677046..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_pkg.go +++ /dev/null @@ -1,195 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typebranch - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAttachmentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsAttachmentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) - // DeserializeAttributedToPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsAttributedToProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) - // DeserializeAudiencePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAudienceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) - // DeserializeBccPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBccProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) - // DeserializeBtoPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBtoProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) - // DeserializeCcPropertyActivityStreams returns the deserialization method - // for the "ActivityStreamsCcProperty" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) - // DeserializeContentPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContentProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) - // DeserializeContextPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContextProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) - // DeserializeDurationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsDurationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEndTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsEndTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) - // DeserializeGeneratorPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsGeneratorProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) - // DeserializeIconPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsIconProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) - // DeserializeIdPropertyJSONLD returns the deserialization method for the - // "JSONLDIdProperty" non-functional property in the vocabulary - // "JSONLD" - DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) - // DeserializeImagePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsImageProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) - // DeserializeInReplyToPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsInReplyToProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRefPropertyForgeFed returns the deserialization method for - // the "ForgeFedRefProperty" non-functional property in the vocabulary - // "ForgeFed" - DeserializeRefPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedRefProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSummaryPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSummaryProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) - // DeserializeTagPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTagProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_type_forgefed_branch.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_type_forgefed_branch.go deleted file mode 100644 index ab815ba64..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch/gen_type_forgefed_branch.go +++ /dev/null @@ -1,1820 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typebranch - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Represents a named variable reference to a version of the Repository, typically -// used for committing changes in parallel to other development, and usually -// eventually merging the changes into the main history line. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "context": "https://example.org/luke/myrepo", -// "id": "https://example.org/luke/myrepo/branches/master", -// "name": "master", -// "ref": "refs/heads/master", -// "type": "Branch" -// } -type ForgeFedBranch 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 - ForgeFedRef vocab.ForgeFedRefProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - 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 - alias string - unknown map[string]interface{} -} - -// BranchIsDisjointWith returns true if the other provided type is disjoint with -// the Branch type. -func BranchIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// BranchIsExtendedBy returns true if the other provided type extends from the -// Branch type. Note that it returns false if the types are the same; see the -// "IsOrExtendsBranch" variant instead. -func BranchIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// DeserializeBranch creates a Branch from a map representation that has been -// unmarshalled from a text or binary format. -func DeserializeBranch(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedBranch, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedBranch{ - 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 != "Branch" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Branch", 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) == "Branch" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Branch") - } - // 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.DeserializeRefPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedRef = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSummary = p - } - if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTag = p - } - if p, err := mgr.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 { - 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 == "ref" { - continue - } else if k == "replies" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - continue - } else if k == "tag" { - continue - } else if k == "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" { - 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 -} - -// ForgeFedBranchExtends returns true if the Branch type extends from the other -// type. -func ForgeFedBranchExtends(other vocab.Type) bool { - extensions := []string{"Object"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsBranch returns true if the other provided type is the Branch type or -// extends from the Branch type. -func IsOrExtendsBranch(other vocab.Type) bool { - if other.GetTypeName() == "Branch" { - return true - } - return BranchIsExtendedBy(other) -} - -// NewForgeFedBranch creates a new Branch type -func NewForgeFedBranch() *ForgeFedBranch { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("Branch") - return &ForgeFedBranch{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedBranch) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedRef returns the "ref" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetForgeFedRef() vocab.ForgeFedRefProperty { - return this.ForgeFedRef -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedBranch) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedBranch) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedBranch) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedBranch) GetTypeName() string { - return "Branch" -} - -// GetUnknownProperties returns the unknown properties for the Branch 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 ForgeFedBranch) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the Branch type extends from the other type. -func (this ForgeFedBranch) IsExtending(other vocab.Type) bool { - return ForgeFedBranchExtends(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 ForgeFedBranch) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/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.ForgeFedRef, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) - m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this Branch is lesser, with an arbitrary but stable -// determination. -func (this ForgeFedBranch) LessThan(o vocab.ForgeFedBranch) 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 "ref" - if lhs, rhs := this.ForgeFedRef, o.GetForgeFedRef(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "summary" - if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "tag" - if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedBranch) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "Branch" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "Branch" - } - 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 "ref" - if this.ForgeFedRef != nil { - if i, err := this.ForgeFedRef.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedRef.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "summary" - if this.ActivityStreamsSummary != nil { - if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSummary.Name()] = i - } - } - // Maybe serialize property "tag" - if this.ActivityStreamsTag != nil { - if i, err := this.ActivityStreamsTag.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTag.Name()] = i - } - } - // Maybe serialize property "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 { - return nil, err - } else if i != nil { - 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 { - 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 *ForgeFedBranch) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedBranch) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedBranch) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedBranch) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedBranch) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedBranch) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedBranch) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedBranch) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedBranch) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedBranch) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedBranch) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedBranch) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedBranch) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedBranch) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedBranch) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedBranch) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedBranch) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedBranch) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedBranch) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedBranch) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedBranch) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedBranch) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedBranch) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedBranch) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedBranch) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedBranch) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedBranch) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedBranch) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedBranch) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedBranch) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedBranch) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedBranch) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedRef sets the "ref" property. -func (this *ForgeFedBranch) SetForgeFedRef(i vocab.ForgeFedRefProperty) { - this.ForgeFedRef = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedBranch) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedBranch) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedBranch) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedBranch) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedBranch) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedBranch) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedBranch) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_doc.go deleted file mode 100644 index d9954fc19..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typecommit contains the implementation for the Commit 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 typecommit diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_pkg.go deleted file mode 100644 index a2d2fe25b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_pkg.go +++ /dev/null @@ -1,219 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typecommit - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAttachmentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsAttachmentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) - // DeserializeAttributedToPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsAttributedToProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) - // DeserializeAudiencePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAudienceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) - // DeserializeBccPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBccProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) - // DeserializeBtoPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBtoProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) - // DeserializeCcPropertyActivityStreams returns the deserialization method - // for the "ActivityStreamsCcProperty" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) - // DeserializeCommittedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedCommittedByProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeCommittedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedByProperty, error) - // DeserializeCommittedPropertyForgeFed returns the deserialization method - // for the "ForgeFedCommittedProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeCommittedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedCommittedProperty, 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) - // DeserializeDescriptionPropertyForgeFed returns the deserialization - // method for the "ForgeFedDescriptionProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeDescriptionPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDescriptionProperty, 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) - // DeserializeFilesAddedPropertyForgeFed returns the deserialization - // method for the "ForgeFedFilesAddedProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeFilesAddedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesAddedProperty, error) - // DeserializeFilesModifiedPropertyForgeFed returns the deserialization - // method for the "ForgeFedFilesModifiedProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeFilesModifiedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesModifiedProperty, error) - // DeserializeFilesRemovedPropertyForgeFed returns the deserialization - // method for the "ForgeFedFilesRemovedProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeFilesRemovedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedFilesRemovedProperty, 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) - // DeserializeHashPropertyForgeFed returns the deserialization method for - // the "ForgeFedHashProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeHashPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedHashProperty, error) - // DeserializeIconPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsIconProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) - // DeserializeIdPropertyJSONLD returns the deserialization method for the - // "JSONLDIdProperty" non-functional property in the vocabulary - // "JSONLD" - DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) - // DeserializeImagePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsImageProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) - // DeserializeInReplyToPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsInReplyToProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSummaryPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSummaryProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) - // DeserializeTagPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTagProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_type_forgefed_commit.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_type_forgefed_commit.go deleted file mode 100644 index 593217f69..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit/gen_type_forgefed_commit.go +++ /dev/null @@ -1,2082 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typecommit - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Represents a named set of changes in the history of a Repository. This is -// called "commit" in Git, Mercurial and Monotone; "patch" in Darcs; sometimes -// called "change set". Note that Commit is a set of changes that already -// exists in a repo’s history, while a Patch is a separate proposed change -// set, that could be applied and pushed to a repo, resulting with a Commit. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "attributedTo": "https://example.org/bob", -// "committed": "2019-07-26T23:45:01Z", -// "committedBy": "https://example.org/alice", -// "context": "https://example.org/alice/myrepo", -// "created": "2019-07-11T12:34:56Z", -// "description": { -// "content": "It's about time people can install on their computers!", -// "mediaType": "text/plain" -// }, -// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "summary": "Add an installation script, fixes issue #89", -// "type": "Commit" -// } -type ForgeFedCommit struct { - ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty - ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty - ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty - ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty - ActivityStreamsBcc vocab.ActivityStreamsBccProperty - ActivityStreamsBto vocab.ActivityStreamsBtoProperty - ActivityStreamsCc vocab.ActivityStreamsCcProperty - ForgeFedCommitted vocab.ForgeFedCommittedProperty - ForgeFedCommittedBy vocab.ForgeFedCommittedByProperty - ActivityStreamsContent vocab.ActivityStreamsContentProperty - ActivityStreamsContext vocab.ActivityStreamsContextProperty - ForgeFedDescription vocab.ForgeFedDescriptionProperty - ActivityStreamsDuration vocab.ActivityStreamsDurationProperty - ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty - ForgeFedFilesAdded vocab.ForgeFedFilesAddedProperty - ForgeFedFilesModified vocab.ForgeFedFilesModifiedProperty - ForgeFedFilesRemoved vocab.ForgeFedFilesRemovedProperty - ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty - ForgeFedHash vocab.ForgeFedHashProperty - ActivityStreamsIcon vocab.ActivityStreamsIconProperty - JSONLDId vocab.JSONLDIdProperty - ActivityStreamsImage vocab.ActivityStreamsImageProperty - ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty - ActivityStreamsLikes vocab.ActivityStreamsLikesProperty - ActivityStreamsLocation vocab.ActivityStreamsLocationProperty - ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty - ActivityStreamsName vocab.ActivityStreamsNameProperty - ActivityStreamsObject vocab.ActivityStreamsObjectProperty - ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty - ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty - ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty - ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty - ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty - JSONLDType vocab.JSONLDTypeProperty - ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty - ActivityStreamsUrl vocab.ActivityStreamsUrlProperty - alias string - unknown map[string]interface{} -} - -// CommitIsDisjointWith returns true if the other provided type is disjoint with -// the Commit type. -func CommitIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// CommitIsExtendedBy returns true if the other provided type extends from the -// Commit type. Note that it returns false if the types are the same; see the -// "IsOrExtendsCommit" variant instead. -func CommitIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// DeserializeCommit creates a Commit from a map representation that has been -// unmarshalled from a text or binary format. -func DeserializeCommit(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedCommit, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedCommit{ - 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 != "Commit" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Commit", 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) == "Commit" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Commit") - } - // 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.DeserializeCommittedPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedCommitted = p - } - if p, err := mgr.DeserializeCommittedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedCommittedBy = 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.DeserializeDescriptionPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedDescription = 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.DeserializeFilesAddedPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedFilesAdded = p - } - if p, err := mgr.DeserializeFilesModifiedPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedFilesModified = p - } - if p, err := mgr.DeserializeFilesRemovedPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedFilesRemoved = p - } - if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsGenerator = p - } - if p, err := mgr.DeserializeHashPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedHash = p - } - if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsIcon = p - } - if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.JSONLDId = p - } - if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsImage = p - } - if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsInReplyTo = p - } - if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLikes = p - } - if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLocation = p - } - if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsMediaType = p - } - if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsName = p - } - if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsObject = p - } - if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPreview = p - } - if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPublished = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSummary = p - } - if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTag = p - } - if p, err := mgr.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 { - 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 == "committed" { - continue - } else if k == "committedBy" { - continue - } else if k == "content" { - continue - } else if k == "contentMap" { - continue - } else if k == "context" { - continue - } else if k == "description" { - continue - } else if k == "duration" { - continue - } else if k == "endTime" { - continue - } else if k == "filesAdded" { - continue - } else if k == "filesModified" { - continue - } else if k == "filesRemoved" { - continue - } else if k == "generator" { - continue - } else if k == "hash" { - continue - } else if k == "icon" { - continue - } else if k == "id" { - continue - } else if k == "image" { - continue - } else if k == "inReplyTo" { - continue - } else if k == "likes" { - continue - } else if k == "location" { - continue - } else if k == "mediaType" { - continue - } else if k == "name" { - continue - } else if k == "nameMap" { - continue - } else if k == "object" { - continue - } else if k == "preview" { - continue - } else if k == "published" { - continue - } else if k == "replies" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - continue - } else if k == "tag" { - continue - } else if k == "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" { - 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 -} - -// ForgeFedCommitExtends returns true if the Commit type extends from the other -// type. -func ForgeFedCommitExtends(other vocab.Type) bool { - extensions := []string{"Object"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsCommit returns true if the other provided type is the Commit type or -// extends from the Commit type. -func IsOrExtendsCommit(other vocab.Type) bool { - if other.GetTypeName() == "Commit" { - return true - } - return CommitIsExtendedBy(other) -} - -// NewForgeFedCommit creates a new Commit type -func NewForgeFedCommit() *ForgeFedCommit { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("Commit") - return &ForgeFedCommit{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedCommitted returns the "committed" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetForgeFedCommitted() vocab.ForgeFedCommittedProperty { - return this.ForgeFedCommitted -} - -// GetForgeFedCommittedBy returns the "committedBy" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetForgeFedCommittedBy() vocab.ForgeFedCommittedByProperty { - return this.ForgeFedCommittedBy -} - -// GetForgeFedDescription returns the "description" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetForgeFedDescription() vocab.ForgeFedDescriptionProperty { - return this.ForgeFedDescription -} - -// GetForgeFedFilesAdded returns the "filesAdded" property if it exists, and nil -// otherwise. -func (this ForgeFedCommit) GetForgeFedFilesAdded() vocab.ForgeFedFilesAddedProperty { - return this.ForgeFedFilesAdded -} - -// GetForgeFedFilesModified returns the "filesModified" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetForgeFedFilesModified() vocab.ForgeFedFilesModifiedProperty { - return this.ForgeFedFilesModified -} - -// GetForgeFedFilesRemoved returns the "filesRemoved" property if it exists, and -// nil otherwise. -func (this ForgeFedCommit) GetForgeFedFilesRemoved() vocab.ForgeFedFilesRemovedProperty { - return this.ForgeFedFilesRemoved -} - -// GetForgeFedHash returns the "hash" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetForgeFedHash() vocab.ForgeFedHashProperty { - return this.ForgeFedHash -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedCommit) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedCommit) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedCommit) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedCommit) GetTypeName() string { - return "Commit" -} - -// GetUnknownProperties returns the unknown properties for the Commit 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 ForgeFedCommit) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the Commit type extends from the other type. -func (this ForgeFedCommit) IsExtending(other vocab.Type) bool { - return ForgeFedCommitExtends(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 ForgeFedCommit) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/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.ForgeFedCommitted, m) - m = this.helperJSONLDContext(this.ForgeFedCommittedBy, m) - m = this.helperJSONLDContext(this.ActivityStreamsContent, m) - m = this.helperJSONLDContext(this.ActivityStreamsContext, m) - m = this.helperJSONLDContext(this.ForgeFedDescription, m) - m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) - m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) - m = this.helperJSONLDContext(this.ForgeFedFilesAdded, m) - m = this.helperJSONLDContext(this.ForgeFedFilesModified, m) - m = this.helperJSONLDContext(this.ForgeFedFilesRemoved, m) - m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) - m = this.helperJSONLDContext(this.ForgeFedHash, m) - m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) - m = this.helperJSONLDContext(this.JSONLDId, m) - m = this.helperJSONLDContext(this.ActivityStreamsImage, m) - m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) - m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) - m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) - m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) - m = this.helperJSONLDContext(this.ActivityStreamsName, m) - m = this.helperJSONLDContext(this.ActivityStreamsObject, m) - m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) - m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) - m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this Commit is lesser, with an arbitrary but stable -// determination. -func (this ForgeFedCommit) LessThan(o vocab.ForgeFedCommit) 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 "committed" - if lhs, rhs := this.ForgeFedCommitted, o.GetForgeFedCommitted(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "committedBy" - if lhs, rhs := this.ForgeFedCommittedBy, o.GetForgeFedCommittedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "description" - if lhs, rhs := this.ForgeFedDescription, o.GetForgeFedDescription(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "filesAdded" - if lhs, rhs := this.ForgeFedFilesAdded, o.GetForgeFedFilesAdded(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "filesModified" - if lhs, rhs := this.ForgeFedFilesModified, o.GetForgeFedFilesModified(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "filesRemoved" - if lhs, rhs := this.ForgeFedFilesRemoved, o.GetForgeFedFilesRemoved(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "hash" - if lhs, rhs := this.ForgeFedHash, o.GetForgeFedHash(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "icon" - if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "id" - if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "image" - if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "inReplyTo" - if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "likes" - if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "location" - if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "mediaType" - if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "name" - if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "object" - if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "preview" - if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "published" - if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "summary" - if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "tag" - if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedCommit) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "Commit" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "Commit" - } - 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 "committed" - if this.ForgeFedCommitted != nil { - if i, err := this.ForgeFedCommitted.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedCommitted.Name()] = i - } - } - // Maybe serialize property "committedBy" - if this.ForgeFedCommittedBy != nil { - if i, err := this.ForgeFedCommittedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedCommittedBy.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 "description" - if this.ForgeFedDescription != nil { - if i, err := this.ForgeFedDescription.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedDescription.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 "filesAdded" - if this.ForgeFedFilesAdded != nil { - if i, err := this.ForgeFedFilesAdded.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedFilesAdded.Name()] = i - } - } - // Maybe serialize property "filesModified" - if this.ForgeFedFilesModified != nil { - if i, err := this.ForgeFedFilesModified.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedFilesModified.Name()] = i - } - } - // Maybe serialize property "filesRemoved" - if this.ForgeFedFilesRemoved != nil { - if i, err := this.ForgeFedFilesRemoved.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedFilesRemoved.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 "hash" - if this.ForgeFedHash != nil { - if i, err := this.ForgeFedHash.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedHash.Name()] = i - } - } - // Maybe serialize property "icon" - if this.ActivityStreamsIcon != nil { - if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsIcon.Name()] = i - } - } - // Maybe serialize property "id" - if this.JSONLDId != nil { - if i, err := this.JSONLDId.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.JSONLDId.Name()] = i - } - } - // Maybe serialize property "image" - if this.ActivityStreamsImage != nil { - if i, err := this.ActivityStreamsImage.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsImage.Name()] = i - } - } - // Maybe serialize property "inReplyTo" - if this.ActivityStreamsInReplyTo != nil { - if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsInReplyTo.Name()] = i - } - } - // Maybe serialize property "likes" - if this.ActivityStreamsLikes != nil { - if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLikes.Name()] = i - } - } - // Maybe serialize property "location" - if this.ActivityStreamsLocation != nil { - if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLocation.Name()] = i - } - } - // Maybe serialize property "mediaType" - if this.ActivityStreamsMediaType != nil { - if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsMediaType.Name()] = i - } - } - // Maybe serialize property "name" - if this.ActivityStreamsName != nil { - if i, err := this.ActivityStreamsName.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsName.Name()] = i - } - } - // Maybe serialize property "object" - if this.ActivityStreamsObject != nil { - if i, err := this.ActivityStreamsObject.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsObject.Name()] = i - } - } - // Maybe serialize property "preview" - if this.ActivityStreamsPreview != nil { - if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPreview.Name()] = i - } - } - // Maybe serialize property "published" - if this.ActivityStreamsPublished != nil { - if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPublished.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "summary" - if this.ActivityStreamsSummary != nil { - if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSummary.Name()] = i - } - } - // Maybe serialize property "tag" - if this.ActivityStreamsTag != nil { - if i, err := this.ActivityStreamsTag.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTag.Name()] = i - } - } - // Maybe serialize property "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 { - return nil, err - } else if i != nil { - 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 { - 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 *ForgeFedCommit) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedCommit) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedCommit) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedCommit) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedCommit) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedCommit) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedCommit) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedCommit) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedCommit) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedCommit) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedCommit) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedCommit) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedCommit) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedCommit) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedCommit) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedCommit) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedCommit) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedCommit) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedCommit) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedCommit) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedCommit) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedCommit) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedCommit) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedCommit) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedCommit) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedCommit) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedCommit) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedCommit) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedCommit) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedCommit) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedCommit) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedCommit) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedCommitted sets the "committed" property. -func (this *ForgeFedCommit) SetForgeFedCommitted(i vocab.ForgeFedCommittedProperty) { - this.ForgeFedCommitted = i -} - -// SetForgeFedCommittedBy sets the "committedBy" property. -func (this *ForgeFedCommit) SetForgeFedCommittedBy(i vocab.ForgeFedCommittedByProperty) { - this.ForgeFedCommittedBy = i -} - -// SetForgeFedDescription sets the "description" property. -func (this *ForgeFedCommit) SetForgeFedDescription(i vocab.ForgeFedDescriptionProperty) { - this.ForgeFedDescription = i -} - -// SetForgeFedFilesAdded sets the "filesAdded" property. -func (this *ForgeFedCommit) SetForgeFedFilesAdded(i vocab.ForgeFedFilesAddedProperty) { - this.ForgeFedFilesAdded = i -} - -// SetForgeFedFilesModified sets the "filesModified" property. -func (this *ForgeFedCommit) SetForgeFedFilesModified(i vocab.ForgeFedFilesModifiedProperty) { - this.ForgeFedFilesModified = i -} - -// SetForgeFedFilesRemoved sets the "filesRemoved" property. -func (this *ForgeFedCommit) SetForgeFedFilesRemoved(i vocab.ForgeFedFilesRemovedProperty) { - this.ForgeFedFilesRemoved = i -} - -// SetForgeFedHash sets the "hash" property. -func (this *ForgeFedCommit) SetForgeFedHash(i vocab.ForgeFedHashProperty) { - this.ForgeFedHash = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedCommit) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedCommit) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedCommit) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedCommit) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedCommit) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedCommit) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedCommit) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_doc.go deleted file mode 100644 index f9a39c3ef..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typepush contains the implementation for the Push 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 typepush diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_pkg.go deleted file mode 100644 index 06d308314..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_pkg.go +++ /dev/null @@ -1,211 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typepush - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeActorPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsActorProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeActorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsActorProperty, error) - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAttachmentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsAttachmentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) - // DeserializeAttributedToPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsAttributedToProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) - // DeserializeAudiencePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAudienceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) - // DeserializeBccPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBccProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) - // DeserializeBtoPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBtoProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) - // DeserializeCcPropertyActivityStreams returns the deserialization method - // for the "ActivityStreamsCcProperty" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) - // DeserializeContentPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContentProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) - // DeserializeContextPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContextProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) - // DeserializeDurationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsDurationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEndTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsEndTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) - // DeserializeGeneratorPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsGeneratorProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) - // DeserializeIconPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsIconProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) - // DeserializeIdPropertyJSONLD returns the deserialization method for the - // "JSONLDIdProperty" non-functional property in the vocabulary - // "JSONLD" - DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) - // DeserializeImagePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsImageProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) - // DeserializeInReplyToPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsInReplyToProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) - // DeserializeInstrumentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsInstrumentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeInstrumentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInstrumentProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializeOriginPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsOriginProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeOriginPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOriginProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeResultPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsResultProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeResultPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsResultProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSummaryPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSummaryProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) - // DeserializeTagPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTagProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // DeserializeTargetPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTargetProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeTargetPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTargetProperty, error) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_type_forgefed_push.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_type_forgefed_push.go deleted file mode 100644 index 1a9ac0e09..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push/gen_type_forgefed_push.go +++ /dev/null @@ -1,2009 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typepush - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Indicates that new content has been pushed to the Repository. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "actor": "https://example.org/aviva", -// "context": "https://example.org/aviva/myproject", -// "id": "https://example.org/aviva/outbox/reBGo", -// "object": { -// "items": [ -// { -// "attributedTo": "https://example.org/aviva", -// "context": "https://example.org/aviva/myproject", -// "created": "2019-11-03T13:43:59Z", -// "hash": "d96596230322716bd6f87a232a648ca9822a1c20", -// "id": "https://example.org/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20", -// "summary": "Provide hints in sign-up form fields", -// "type": "Commit" -// } -// ], -// "totalItems": 1, -// "type": "OrderedCollection" -// }, -// "summary": "\u003cp\u003eAviva pushed a commit to -// myproject\u003c/p\u003e", -// "target": "https://example.org/aviva/myproject/branches/master", -// "to": [ -// "https://example.org/aviva/followers", -// "https://example.org/aviva/myproject", -// "https://example.org/aviva/myproject/team", -// "https://example.org/aviva/myproject/followers" -// ], -// "type": "Push" -// } -type ForgeFedPush struct { - ActivityStreamsActor vocab.ActivityStreamsActorProperty - ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty - ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty - ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty - ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty - ActivityStreamsBcc vocab.ActivityStreamsBccProperty - ActivityStreamsBto vocab.ActivityStreamsBtoProperty - ActivityStreamsCc vocab.ActivityStreamsCcProperty - ActivityStreamsContent vocab.ActivityStreamsContentProperty - ActivityStreamsContext vocab.ActivityStreamsContextProperty - ActivityStreamsDuration vocab.ActivityStreamsDurationProperty - ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty - ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty - ActivityStreamsIcon vocab.ActivityStreamsIconProperty - JSONLDId vocab.JSONLDIdProperty - ActivityStreamsImage vocab.ActivityStreamsImageProperty - ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty - ActivityStreamsInstrument vocab.ActivityStreamsInstrumentProperty - ActivityStreamsLikes vocab.ActivityStreamsLikesProperty - ActivityStreamsLocation vocab.ActivityStreamsLocationProperty - ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty - ActivityStreamsName vocab.ActivityStreamsNameProperty - ActivityStreamsObject vocab.ActivityStreamsObjectProperty - ActivityStreamsOrigin vocab.ActivityStreamsOriginProperty - ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty - ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsResult vocab.ActivityStreamsResultProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty - ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty - ActivityStreamsTag vocab.ActivityStreamsTagProperty - ActivityStreamsTarget vocab.ActivityStreamsTargetProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty - ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty - JSONLDType vocab.JSONLDTypeProperty - ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty - ActivityStreamsUrl vocab.ActivityStreamsUrlProperty - alias string - unknown map[string]interface{} -} - -// DeserializePush creates a Push from a map representation that has been -// unmarshalled from a text or binary format. -func DeserializePush(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedPush, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedPush{ - 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 != "Push" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Push", 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) == "Push" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Push") - } - // Fall through, success in finding a proper Type - } else { - return nil, fmt.Errorf("\"type\" property is unrecognized type: %T", typeValue) - } - // Begin: Known property deserialization - if p, err := mgr.DeserializeActorPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsActor = p - } - if p, err := mgr.DeserializeAltitudePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsAltitude = p - } - if p, err := mgr.DeserializeAttachmentPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsAttachment = p - } - if p, err := mgr.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsAttributedTo = p - } - if p, err := mgr.DeserializeAudiencePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsAudience = p - } - if p, err := mgr.DeserializeBccPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsBcc = p - } - if p, err := mgr.DeserializeBtoPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsBto = p - } - if p, err := mgr.DeserializeCcPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsCc = p - } - if p, err := mgr.DeserializeContentPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsContent = p - } - if p, err := mgr.DeserializeContextPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsContext = p - } - if p, err := mgr.DeserializeDurationPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsDuration = p - } - if p, err := mgr.DeserializeEndTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsEndTime = p - } - if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsGenerator = p - } - if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsIcon = p - } - if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.JSONLDId = p - } - if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsImage = p - } - if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsInReplyTo = p - } - if p, err := mgr.DeserializeInstrumentPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsInstrument = p - } - if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLikes = p - } - if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLocation = p - } - if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsMediaType = p - } - if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsName = p - } - if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsObject = p - } - if p, err := mgr.DeserializeOriginPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsOrigin = p - } - if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPreview = p - } - if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPublished = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeResultPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsResult = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSummary = p - } - if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTag = p - } - if p, err := mgr.DeserializeTargetPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTarget = p - } - if p, err := mgr.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 { - this.JSONLDType = p - } - if p, err := mgr.DeserializeUpdatedPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsUpdated = p - } - if p, err := mgr.DeserializeUrlPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsUrl = p - } - // End: Known property deserialization - - // Begin: Unknown deserialization - for k, v := range m { - // Begin: Code that ensures a property name is unknown - if k == "actor" { - continue - } else if k == "altitude" { - continue - } else if k == "attachment" { - continue - } else if k == "attributedTo" { - continue - } else if k == "audience" { - continue - } else if k == "bcc" { - continue - } else if k == "bto" { - continue - } else if k == "cc" { - continue - } else if k == "content" { - continue - } else if k == "contentMap" { - continue - } else if k == "context" { - continue - } else if k == "duration" { - continue - } else if k == "endTime" { - continue - } else if k == "generator" { - continue - } else if k == "icon" { - continue - } else if k == "id" { - continue - } else if k == "image" { - continue - } else if k == "inReplyTo" { - continue - } else if k == "instrument" { - continue - } else if k == "likes" { - continue - } else if k == "location" { - continue - } else if k == "mediaType" { - continue - } else if k == "name" { - continue - } else if k == "nameMap" { - continue - } else if k == "object" { - continue - } else if k == "origin" { - continue - } else if k == "preview" { - continue - } else if k == "published" { - continue - } else if k == "replies" { - continue - } else if k == "result" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - continue - } else if k == "tag" { - continue - } else if k == "target" { - continue - } else if k == "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" { - 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 -} - -// ForgeFedPushExtends returns true if the Push type extends from the other type. -func ForgeFedPushExtends(other vocab.Type) bool { - extensions := []string{"Activity", "Object"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsPush returns true if the other provided type is the Push type or -// extends from the Push type. -func IsOrExtendsPush(other vocab.Type) bool { - if other.GetTypeName() == "Push" { - return true - } - return PushIsExtendedBy(other) -} - -// NewForgeFedPush creates a new Push type -func NewForgeFedPush() *ForgeFedPush { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("Push") - return &ForgeFedPush{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// PushIsDisjointWith returns true if the other provided type is disjoint with the -// Push type. -func PushIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// PushIsExtendedBy returns true if the other provided type extends from the Push -// type. Note that it returns false if the types are the same; see the -// "IsOrExtendsPush" variant instead. -func PushIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// GetActivityStreamsActor returns the "actor" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsActor() vocab.ActivityStreamsActorProperty { - return this.ActivityStreamsActor -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedPush) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedPush) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedPush) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsInstrument returns the "instrument" property if it exists, -// and nil otherwise. -func (this ForgeFedPush) GetActivityStreamsInstrument() vocab.ActivityStreamsInstrumentProperty { - return this.ActivityStreamsInstrument -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsOrigin returns the "origin" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsOrigin() vocab.ActivityStreamsOriginProperty { - return this.ActivityStreamsOrigin -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsResult returns the "result" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsResult() vocab.ActivityStreamsResultProperty { - return this.ActivityStreamsResult -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedPush) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTarget returns the "target" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsTarget() vocab.ActivityStreamsTargetProperty { - return this.ActivityStreamsTarget -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedPush) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedPush) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedPush) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedPush) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedPush) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedPush) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedPush) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedPush) GetTypeName() string { - return "Push" -} - -// GetUnknownProperties returns the unknown properties for the Push 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 ForgeFedPush) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the Push type extends from the other type. -func (this ForgeFedPush) IsExtending(other vocab.Type) bool { - return ForgeFedPushExtends(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 ForgeFedPush) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - m = this.helperJSONLDContext(this.ActivityStreamsActor, m) - m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) - m = this.helperJSONLDContext(this.ActivityStreamsAttachment, m) - m = this.helperJSONLDContext(this.ActivityStreamsAttributedTo, m) - m = this.helperJSONLDContext(this.ActivityStreamsAudience, m) - m = this.helperJSONLDContext(this.ActivityStreamsBcc, m) - m = this.helperJSONLDContext(this.ActivityStreamsBto, m) - m = this.helperJSONLDContext(this.ActivityStreamsCc, m) - m = this.helperJSONLDContext(this.ActivityStreamsContent, m) - m = this.helperJSONLDContext(this.ActivityStreamsContext, m) - m = this.helperJSONLDContext(this.ActivityStreamsDuration, m) - m = this.helperJSONLDContext(this.ActivityStreamsEndTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) - m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) - m = this.helperJSONLDContext(this.JSONLDId, m) - m = this.helperJSONLDContext(this.ActivityStreamsImage, m) - m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) - m = this.helperJSONLDContext(this.ActivityStreamsInstrument, m) - m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) - m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) - m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) - m = this.helperJSONLDContext(this.ActivityStreamsName, m) - m = this.helperJSONLDContext(this.ActivityStreamsObject, m) - m = this.helperJSONLDContext(this.ActivityStreamsOrigin, m) - m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) - m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsResult, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) - m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.ActivityStreamsTarget, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this Push is lesser, with an arbitrary but stable -// determination. -func (this ForgeFedPush) LessThan(o vocab.ForgeFedPush) bool { - // Begin: Compare known properties - // Compare property "actor" - if lhs, rhs := this.ActivityStreamsActor, o.GetActivityStreamsActor(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "altitude" - if lhs, rhs := this.ActivityStreamsAltitude, o.GetActivityStreamsAltitude(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "attachment" - if lhs, rhs := this.ActivityStreamsAttachment, o.GetActivityStreamsAttachment(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "attributedTo" - if lhs, rhs := this.ActivityStreamsAttributedTo, o.GetActivityStreamsAttributedTo(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "audience" - if lhs, rhs := this.ActivityStreamsAudience, o.GetActivityStreamsAudience(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "bcc" - if lhs, rhs := this.ActivityStreamsBcc, o.GetActivityStreamsBcc(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "bto" - if lhs, rhs := this.ActivityStreamsBto, o.GetActivityStreamsBto(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "cc" - if lhs, rhs := this.ActivityStreamsCc, o.GetActivityStreamsCc(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "content" - if lhs, rhs := this.ActivityStreamsContent, o.GetActivityStreamsContent(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "context" - if lhs, rhs := this.ActivityStreamsContext, o.GetActivityStreamsContext(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "duration" - if lhs, rhs := this.ActivityStreamsDuration, o.GetActivityStreamsDuration(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "endTime" - if lhs, rhs := this.ActivityStreamsEndTime, o.GetActivityStreamsEndTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "generator" - if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "icon" - if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "id" - if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "image" - if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "inReplyTo" - if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "instrument" - if lhs, rhs := this.ActivityStreamsInstrument, o.GetActivityStreamsInstrument(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "likes" - if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "location" - if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "mediaType" - if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "name" - if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "object" - if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "origin" - if lhs, rhs := this.ActivityStreamsOrigin, o.GetActivityStreamsOrigin(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "preview" - if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "published" - if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "result" - if lhs, rhs := this.ActivityStreamsResult, o.GetActivityStreamsResult(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "summary" - if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "tag" - if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "target" - if lhs, rhs := this.ActivityStreamsTarget, o.GetActivityStreamsTarget(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedPush) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "Push" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "Push" - } - m["type"] = typeName - // Begin: Serialize known properties - // Maybe serialize property "actor" - if this.ActivityStreamsActor != nil { - if i, err := this.ActivityStreamsActor.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsActor.Name()] = i - } - } - // Maybe serialize property "altitude" - if this.ActivityStreamsAltitude != nil { - if i, err := this.ActivityStreamsAltitude.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsAltitude.Name()] = i - } - } - // Maybe serialize property "attachment" - if this.ActivityStreamsAttachment != nil { - if i, err := this.ActivityStreamsAttachment.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsAttachment.Name()] = i - } - } - // Maybe serialize property "attributedTo" - if this.ActivityStreamsAttributedTo != nil { - if i, err := this.ActivityStreamsAttributedTo.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsAttributedTo.Name()] = i - } - } - // Maybe serialize property "audience" - if this.ActivityStreamsAudience != nil { - if i, err := this.ActivityStreamsAudience.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsAudience.Name()] = i - } - } - // Maybe serialize property "bcc" - if this.ActivityStreamsBcc != nil { - if i, err := this.ActivityStreamsBcc.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsBcc.Name()] = i - } - } - // Maybe serialize property "bto" - if this.ActivityStreamsBto != nil { - if i, err := this.ActivityStreamsBto.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsBto.Name()] = i - } - } - // Maybe serialize property "cc" - if this.ActivityStreamsCc != nil { - if i, err := this.ActivityStreamsCc.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsCc.Name()] = i - } - } - // Maybe serialize property "content" - if this.ActivityStreamsContent != nil { - if i, err := this.ActivityStreamsContent.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsContent.Name()] = i - } - } - // Maybe serialize property "context" - if this.ActivityStreamsContext != nil { - if i, err := this.ActivityStreamsContext.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsContext.Name()] = i - } - } - // Maybe serialize property "duration" - if this.ActivityStreamsDuration != nil { - if i, err := this.ActivityStreamsDuration.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsDuration.Name()] = i - } - } - // Maybe serialize property "endTime" - if this.ActivityStreamsEndTime != nil { - if i, err := this.ActivityStreamsEndTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsEndTime.Name()] = i - } - } - // Maybe serialize property "generator" - if this.ActivityStreamsGenerator != nil { - if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsGenerator.Name()] = i - } - } - // Maybe serialize property "icon" - if this.ActivityStreamsIcon != nil { - if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsIcon.Name()] = i - } - } - // Maybe serialize property "id" - if this.JSONLDId != nil { - if i, err := this.JSONLDId.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.JSONLDId.Name()] = i - } - } - // Maybe serialize property "image" - if this.ActivityStreamsImage != nil { - if i, err := this.ActivityStreamsImage.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsImage.Name()] = i - } - } - // Maybe serialize property "inReplyTo" - if this.ActivityStreamsInReplyTo != nil { - if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsInReplyTo.Name()] = i - } - } - // Maybe serialize property "instrument" - if this.ActivityStreamsInstrument != nil { - if i, err := this.ActivityStreamsInstrument.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsInstrument.Name()] = i - } - } - // Maybe serialize property "likes" - if this.ActivityStreamsLikes != nil { - if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLikes.Name()] = i - } - } - // Maybe serialize property "location" - if this.ActivityStreamsLocation != nil { - if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLocation.Name()] = i - } - } - // Maybe serialize property "mediaType" - if this.ActivityStreamsMediaType != nil { - if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsMediaType.Name()] = i - } - } - // Maybe serialize property "name" - if this.ActivityStreamsName != nil { - if i, err := this.ActivityStreamsName.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsName.Name()] = i - } - } - // Maybe serialize property "object" - if this.ActivityStreamsObject != nil { - if i, err := this.ActivityStreamsObject.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsObject.Name()] = i - } - } - // Maybe serialize property "origin" - if this.ActivityStreamsOrigin != nil { - if i, err := this.ActivityStreamsOrigin.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsOrigin.Name()] = i - } - } - // Maybe serialize property "preview" - if this.ActivityStreamsPreview != nil { - if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPreview.Name()] = i - } - } - // Maybe serialize property "published" - if this.ActivityStreamsPublished != nil { - if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPublished.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "result" - if this.ActivityStreamsResult != nil { - if i, err := this.ActivityStreamsResult.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsResult.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "summary" - if this.ActivityStreamsSummary != nil { - if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSummary.Name()] = i - } - } - // Maybe serialize property "tag" - if this.ActivityStreamsTag != nil { - if i, err := this.ActivityStreamsTag.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTag.Name()] = i - } - } - // Maybe serialize property "target" - if this.ActivityStreamsTarget != nil { - if i, err := this.ActivityStreamsTarget.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTarget.Name()] = i - } - } - // Maybe serialize property "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 { - return nil, err - } else if i != nil { - 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 { - return nil, err - } else if i != nil { - m[this.JSONLDType.Name()] = i - } - } - // Maybe serialize property "updated" - if this.ActivityStreamsUpdated != nil { - if i, err := this.ActivityStreamsUpdated.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsUpdated.Name()] = i - } - } - // Maybe serialize property "url" - if this.ActivityStreamsUrl != nil { - if i, err := this.ActivityStreamsUrl.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsUrl.Name()] = i - } - } - // End: Serialize known properties - - // Begin: Serialize unknown properties - for k, v := range this.unknown { - // To be safe, ensure we aren't overwriting a known property - if _, has := m[k]; !has { - m[k] = v - } - } - // End: Serialize unknown properties - - return m, nil -} - -// SetActivityStreamsActor sets the "actor" property. -func (this *ForgeFedPush) SetActivityStreamsActor(i vocab.ActivityStreamsActorProperty) { - this.ActivityStreamsActor = i -} - -// SetActivityStreamsAltitude sets the "altitude" property. -func (this *ForgeFedPush) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedPush) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedPush) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedPush) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedPush) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedPush) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedPush) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedPush) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedPush) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedPush) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedPush) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedPush) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedPush) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedPush) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedPush) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsInstrument sets the "instrument" property. -func (this *ForgeFedPush) SetActivityStreamsInstrument(i vocab.ActivityStreamsInstrumentProperty) { - this.ActivityStreamsInstrument = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedPush) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedPush) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedPush) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedPush) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedPush) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsOrigin sets the "origin" property. -func (this *ForgeFedPush) SetActivityStreamsOrigin(i vocab.ActivityStreamsOriginProperty) { - this.ActivityStreamsOrigin = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedPush) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedPush) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedPush) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsResult sets the "result" property. -func (this *ForgeFedPush) SetActivityStreamsResult(i vocab.ActivityStreamsResultProperty) { - this.ActivityStreamsResult = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedPush) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedPush) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedPush) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedPush) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedPush) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedPush) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTarget sets the "target" property. -func (this *ForgeFedPush) SetActivityStreamsTarget(i vocab.ActivityStreamsTargetProperty) { - this.ActivityStreamsTarget = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedPush) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedPush) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedPush) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedPush) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedPush) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedPush) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedPush) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedPush) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedPush) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedPush) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_doc.go deleted file mode 100644 index 194a0adfb..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typerepository contains the implementation for the Repository 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 typerepository diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_pkg.go deleted file mode 100644 index 07268e604..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_pkg.go +++ /dev/null @@ -1,195 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typerepository - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAttachmentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsAttachmentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) - // DeserializeAttributedToPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsAttributedToProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) - // DeserializeAudiencePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAudienceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) - // DeserializeBccPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBccProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) - // DeserializeBtoPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBtoProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) - // DeserializeCcPropertyActivityStreams returns the deserialization method - // for the "ActivityStreamsCcProperty" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) - // DeserializeContentPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContentProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) - // DeserializeContextPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContextProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) - // DeserializeDurationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsDurationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEndTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsEndTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) - // DeserializeForksPropertyForgeFed returns the deserialization method for - // the "ForgeFedForksProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeForksPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedForksProperty, error) - // DeserializeGeneratorPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsGeneratorProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) - // DeserializeIconPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsIconProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) - // DeserializeIdPropertyJSONLD returns the deserialization method for the - // "JSONLDIdProperty" non-functional property in the vocabulary - // "JSONLD" - DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) - // DeserializeImagePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsImageProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) - // DeserializeInReplyToPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsInReplyToProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSummaryPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSummaryProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) - // DeserializeTagPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTagProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_type_forgefed_repository.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_type_forgefed_repository.go deleted file mode 100644 index 40d12bf45..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository/gen_type_forgefed_repository.go +++ /dev/null @@ -1,1828 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typerepository - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Represents a version control system repository. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://w3id.org/security/v1", -// "https://forgefed.peers.community/ns" -// ], -// "followers": "https://dev.example/aviva/treesim/followers", -// "id": "https://dev.example/aviva/treesim", -// "inbox": "https://dev.example/aviva/treesim/inbox", -// "name": "Tree Growth 3D Simulation", -// "outbox": "https://dev.example/aviva/treesim/outbox", -// "publicKey": { -// "id": "https://dev.example/aviva/treesim#main-key", -// "owner": "https://dev.example/aviva/treesim", -// "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhki....." -// }, -// "summary": "\u003cp\u003eTree growth 3D simulator for my nature -// exploration game\u003c/p\u003e", -// "team": "https://dev.example/aviva/treesim/team", -// "type": "Repository" -// } -type ForgeFedRepository 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 - ForgeFedForks vocab.ForgeFedForksProperty - ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty - ActivityStreamsIcon vocab.ActivityStreamsIconProperty - JSONLDId vocab.JSONLDIdProperty - ActivityStreamsImage vocab.ActivityStreamsImageProperty - ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty - ActivityStreamsLikes vocab.ActivityStreamsLikesProperty - ActivityStreamsLocation vocab.ActivityStreamsLocationProperty - ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty - ActivityStreamsName vocab.ActivityStreamsNameProperty - ActivityStreamsObject vocab.ActivityStreamsObjectProperty - ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty - ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty - ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty - ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty - ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty - JSONLDType vocab.JSONLDTypeProperty - ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty - ActivityStreamsUrl vocab.ActivityStreamsUrlProperty - alias string - unknown map[string]interface{} -} - -// DeserializeRepository creates a Repository from a map representation that has -// been unmarshalled from a text or binary format. -func DeserializeRepository(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedRepository, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedRepository{ - 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 != "Repository" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Repository", 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) == "Repository" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Repository") - } - // 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.DeserializeForksPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedForks = p - } - if p, err := mgr.DeserializeGeneratorPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsGenerator = p - } - if p, err := mgr.DeserializeIconPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsIcon = p - } - if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.JSONLDId = p - } - if p, err := mgr.DeserializeImagePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsImage = p - } - if p, err := mgr.DeserializeInReplyToPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsInReplyTo = p - } - if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLikes = p - } - if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLocation = p - } - if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsMediaType = p - } - if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsName = p - } - if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsObject = p - } - if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPreview = p - } - if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPublished = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSummary = p - } - if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTag = p - } - if p, err := mgr.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 { - 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 == "forks" { - continue - } else if k == "generator" { - continue - } else if k == "icon" { - continue - } else if k == "id" { - continue - } else if k == "image" { - continue - } else if k == "inReplyTo" { - continue - } else if k == "likes" { - continue - } else if k == "location" { - continue - } else if k == "mediaType" { - continue - } else if k == "name" { - continue - } else if k == "nameMap" { - continue - } else if k == "object" { - continue - } else if k == "preview" { - continue - } else if k == "published" { - continue - } else if k == "replies" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - continue - } else if k == "tag" { - continue - } else if k == "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" { - 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 -} - -// ForgeFedRepositoryExtends returns true if the Repository type extends from the -// other type. -func ForgeFedRepositoryExtends(other vocab.Type) bool { - extensions := []string{"Object"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsRepository returns true if the other provided type is the Repository -// type or extends from the Repository type. -func IsOrExtendsRepository(other vocab.Type) bool { - if other.GetTypeName() == "Repository" { - return true - } - return RepositoryIsExtendedBy(other) -} - -// NewForgeFedRepository creates a new Repository type -func NewForgeFedRepository() *ForgeFedRepository { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("Repository") - return &ForgeFedRepository{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// RepositoryIsDisjointWith returns true if the other provided type is disjoint -// with the Repository type. -func RepositoryIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// RepositoryIsExtendedBy returns true if the other provided type extends from the -// Repository type. Note that it returns false if the types are the same; see -// the "IsOrExtendsRepository" variant instead. -func RepositoryIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedRepository) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedForks returns the "forks" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetForgeFedForks() vocab.ForgeFedForksProperty { - return this.ForgeFedForks -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedRepository) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedRepository) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedRepository) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedRepository) GetTypeName() string { - return "Repository" -} - -// GetUnknownProperties returns the unknown properties for the Repository 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 ForgeFedRepository) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the Repository type extends from the other type. -func (this ForgeFedRepository) IsExtending(other vocab.Type) bool { - return ForgeFedRepositoryExtends(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 ForgeFedRepository) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/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.ForgeFedForks, m) - m = this.helperJSONLDContext(this.ActivityStreamsGenerator, m) - m = this.helperJSONLDContext(this.ActivityStreamsIcon, m) - m = this.helperJSONLDContext(this.JSONLDId, m) - m = this.helperJSONLDContext(this.ActivityStreamsImage, m) - m = this.helperJSONLDContext(this.ActivityStreamsInReplyTo, m) - m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) - m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) - m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) - m = this.helperJSONLDContext(this.ActivityStreamsName, m) - m = this.helperJSONLDContext(this.ActivityStreamsObject, m) - m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) - m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) - m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this Repository is lesser, with an arbitrary but stable -// determination. -func (this ForgeFedRepository) LessThan(o vocab.ForgeFedRepository) 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 "forks" - if lhs, rhs := this.ForgeFedForks, o.GetForgeFedForks(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "generator" - if lhs, rhs := this.ActivityStreamsGenerator, o.GetActivityStreamsGenerator(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "icon" - if lhs, rhs := this.ActivityStreamsIcon, o.GetActivityStreamsIcon(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "id" - if lhs, rhs := this.JSONLDId, o.GetJSONLDId(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "image" - if lhs, rhs := this.ActivityStreamsImage, o.GetActivityStreamsImage(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "inReplyTo" - if lhs, rhs := this.ActivityStreamsInReplyTo, o.GetActivityStreamsInReplyTo(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "likes" - if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "location" - if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "mediaType" - if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "name" - if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "object" - if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "preview" - if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "published" - if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "summary" - if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "tag" - if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedRepository) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "Repository" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "Repository" - } - 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 "forks" - if this.ForgeFedForks != nil { - if i, err := this.ForgeFedForks.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedForks.Name()] = i - } - } - // Maybe serialize property "generator" - if this.ActivityStreamsGenerator != nil { - if i, err := this.ActivityStreamsGenerator.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsGenerator.Name()] = i - } - } - // Maybe serialize property "icon" - if this.ActivityStreamsIcon != nil { - if i, err := this.ActivityStreamsIcon.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsIcon.Name()] = i - } - } - // Maybe serialize property "id" - if this.JSONLDId != nil { - if i, err := this.JSONLDId.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.JSONLDId.Name()] = i - } - } - // Maybe serialize property "image" - if this.ActivityStreamsImage != nil { - if i, err := this.ActivityStreamsImage.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsImage.Name()] = i - } - } - // Maybe serialize property "inReplyTo" - if this.ActivityStreamsInReplyTo != nil { - if i, err := this.ActivityStreamsInReplyTo.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsInReplyTo.Name()] = i - } - } - // Maybe serialize property "likes" - if this.ActivityStreamsLikes != nil { - if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLikes.Name()] = i - } - } - // Maybe serialize property "location" - if this.ActivityStreamsLocation != nil { - if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLocation.Name()] = i - } - } - // Maybe serialize property "mediaType" - if this.ActivityStreamsMediaType != nil { - if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsMediaType.Name()] = i - } - } - // Maybe serialize property "name" - if this.ActivityStreamsName != nil { - if i, err := this.ActivityStreamsName.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsName.Name()] = i - } - } - // Maybe serialize property "object" - if this.ActivityStreamsObject != nil { - if i, err := this.ActivityStreamsObject.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsObject.Name()] = i - } - } - // Maybe serialize property "preview" - if this.ActivityStreamsPreview != nil { - if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPreview.Name()] = i - } - } - // Maybe serialize property "published" - if this.ActivityStreamsPublished != nil { - if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPublished.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "summary" - if this.ActivityStreamsSummary != nil { - if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSummary.Name()] = i - } - } - // Maybe serialize property "tag" - if this.ActivityStreamsTag != nil { - if i, err := this.ActivityStreamsTag.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTag.Name()] = i - } - } - // Maybe serialize property "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 { - return nil, err - } else if i != nil { - 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 { - 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 *ForgeFedRepository) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedRepository) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedRepository) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedRepository) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedRepository) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedRepository) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedRepository) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedRepository) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedRepository) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedRepository) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedRepository) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedRepository) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedRepository) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedRepository) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedRepository) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedRepository) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedRepository) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedRepository) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedRepository) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedRepository) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedRepository) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedRepository) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedRepository) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedRepository) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedRepository) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedRepository) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedRepository) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedRepository) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedRepository) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedRepository) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedRepository) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedRepository) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedForks sets the "forks" property. -func (this *ForgeFedRepository) SetForgeFedForks(i vocab.ForgeFedForksProperty) { - this.ForgeFedForks = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedRepository) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedRepository) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedRepository) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedRepository) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedRepository) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedRepository) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedRepository) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_doc.go deleted file mode 100644 index 3268d6d09..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typeticket contains the implementation for the Ticket 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 typeticket diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_pkg.go deleted file mode 100644 index 43f226b01..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_pkg.go +++ /dev/null @@ -1,215 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typeticket - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAssignedToPropertyForgeFed returns the deserialization - // method for the "ForgeFedAssignedToProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeAssignedToPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedAssignedToProperty, 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) - // DeserializeDependantsPropertyForgeFed returns the deserialization - // method for the "ForgeFedDependantsProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeDependantsPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependantsProperty, error) - // DeserializeDependedByPropertyForgeFed returns the deserialization - // method for the "ForgeFedDependedByProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeDependedByPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependedByProperty, error) - // DeserializeDependenciesPropertyForgeFed returns the deserialization - // method for the "ForgeFedDependenciesProperty" non-functional - // property in the vocabulary "ForgeFed" - DeserializeDependenciesPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependenciesProperty, error) - // DeserializeDependsOnPropertyForgeFed returns the deserialization method - // for the "ForgeFedDependsOnProperty" non-functional property in the - // vocabulary "ForgeFed" - DeserializeDependsOnPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedDependsOnProperty, 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) - // DeserializeIsResolvedPropertyForgeFed returns the deserialization - // method for the "ForgeFedIsResolvedProperty" non-functional property - // in the vocabulary "ForgeFed" - DeserializeIsResolvedPropertyForgeFed() func(map[string]interface{}, map[string]string) (vocab.ForgeFedIsResolvedProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSummaryPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSummaryProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSummaryPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSummaryProperty, error) - // DeserializeTagPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsTagProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeTagPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsTagProperty, error) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_type_forgefed_ticket.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_type_forgefed_ticket.go deleted file mode 100644 index 4e1d274f5..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket/gen_type_forgefed_ticket.go +++ /dev/null @@ -1,2040 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typeticket - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Represents an item that requires work or attention. Tickets exist in the -// context of a project (which may or may not be a version-control -// repository), and are used to track ideas, proposals, tasks, bugs and more. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "assignedTo": "https://example.org/alice", -// "attributedTo": "https://example.com/bob", -// "content": "\u003cp\u003ePlease fix. -// \u003ci\u003eEverything\u003c/i\u003e is broken!\u003c/p\u003e", -// "context": "https://example.org/alice/myrepo", -// "id": "https://example.org/alice/myrepo/issues/42", -// "isResolved": false, -// "mediaType": "text/html", -// "source": { -// "content": "Please fix. *Everything* is broken!", -// "mediaType": "text/markdown; variant=CommonMark" -// }, -// "summary": "Nothing works!", -// "type": "Ticket" -// } -type ForgeFedTicket struct { - ActivityStreamsAltitude vocab.ActivityStreamsAltitudeProperty - ForgeFedAssignedTo vocab.ForgeFedAssignedToProperty - ActivityStreamsAttachment vocab.ActivityStreamsAttachmentProperty - ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty - ActivityStreamsAudience vocab.ActivityStreamsAudienceProperty - ActivityStreamsBcc vocab.ActivityStreamsBccProperty - ActivityStreamsBto vocab.ActivityStreamsBtoProperty - ActivityStreamsCc vocab.ActivityStreamsCcProperty - ActivityStreamsContent vocab.ActivityStreamsContentProperty - ActivityStreamsContext vocab.ActivityStreamsContextProperty - ForgeFedDependants vocab.ForgeFedDependantsProperty - ForgeFedDependedBy vocab.ForgeFedDependedByProperty - ForgeFedDependencies vocab.ForgeFedDependenciesProperty - ForgeFedDependsOn vocab.ForgeFedDependsOnProperty - ActivityStreamsDuration vocab.ActivityStreamsDurationProperty - ActivityStreamsEndTime vocab.ActivityStreamsEndTimeProperty - ActivityStreamsGenerator vocab.ActivityStreamsGeneratorProperty - ActivityStreamsIcon vocab.ActivityStreamsIconProperty - JSONLDId vocab.JSONLDIdProperty - ActivityStreamsImage vocab.ActivityStreamsImageProperty - ActivityStreamsInReplyTo vocab.ActivityStreamsInReplyToProperty - ForgeFedIsResolved vocab.ForgeFedIsResolvedProperty - ActivityStreamsLikes vocab.ActivityStreamsLikesProperty - ActivityStreamsLocation vocab.ActivityStreamsLocationProperty - ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty - ActivityStreamsName vocab.ActivityStreamsNameProperty - ActivityStreamsObject vocab.ActivityStreamsObjectProperty - ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty - ActivityStreamsPublished vocab.ActivityStreamsPublishedProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty - ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty - ActivityStreamsTag vocab.ActivityStreamsTagProperty - ForgeFedTeam vocab.ForgeFedTeamProperty - ForgeFedTicketsTrackedBy vocab.ForgeFedTicketsTrackedByProperty - ActivityStreamsTo vocab.ActivityStreamsToProperty - ForgeFedTracksTicketsFor vocab.ForgeFedTracksTicketsForProperty - JSONLDType vocab.JSONLDTypeProperty - ActivityStreamsUpdated vocab.ActivityStreamsUpdatedProperty - ActivityStreamsUrl vocab.ActivityStreamsUrlProperty - alias string - unknown map[string]interface{} -} - -// DeserializeTicket creates a Ticket from a map representation that has been -// unmarshalled from a text or binary format. -func DeserializeTicket(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedTicket, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedTicket{ - 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 != "Ticket" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "Ticket", 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) == "Ticket" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "Ticket") - } - // 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.DeserializeAssignedToPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedAssignedTo = 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.DeserializeDependantsPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedDependants = p - } - if p, err := mgr.DeserializeDependedByPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedDependedBy = p - } - if p, err := mgr.DeserializeDependenciesPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedDependencies = p - } - if p, err := mgr.DeserializeDependsOnPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedDependsOn = 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.DeserializeIsResolvedPropertyForgeFed()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ForgeFedIsResolved = p - } - if p, err := mgr.DeserializeLikesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLikes = p - } - if p, err := mgr.DeserializeLocationPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsLocation = p - } - if p, err := mgr.DeserializeMediaTypePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsMediaType = p - } - if p, err := mgr.DeserializeNamePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsName = p - } - if p, err := mgr.DeserializeObjectPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsObject = p - } - if p, err := mgr.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPreview = p - } - if p, err := mgr.DeserializePublishedPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsPublished = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSummary = p - } - if p, err := mgr.DeserializeTagPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsTag = p - } - if p, err := mgr.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 { - 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 == "assignedTo" { - 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 == "dependants" { - continue - } else if k == "dependedBy" { - continue - } else if k == "dependencies" { - continue - } else if k == "dependsOn" { - 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 == "isResolved" { - continue - } else if k == "likes" { - continue - } else if k == "location" { - continue - } else if k == "mediaType" { - continue - } else if k == "name" { - continue - } else if k == "nameMap" { - continue - } else if k == "object" { - continue - } else if k == "preview" { - continue - } else if k == "published" { - continue - } else if k == "replies" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - continue - } else if k == "tag" { - continue - } else if k == "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" { - 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 -} - -// ForgeFedTicketExtends returns true if the Ticket type extends from the other -// type. -func ForgeFedTicketExtends(other vocab.Type) bool { - extensions := []string{"Object"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsTicket returns true if the other provided type is the Ticket type or -// extends from the Ticket type. -func IsOrExtendsTicket(other vocab.Type) bool { - if other.GetTypeName() == "Ticket" { - return true - } - return TicketIsExtendedBy(other) -} - -// NewForgeFedTicket creates a new Ticket type -func NewForgeFedTicket() *ForgeFedTicket { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("Ticket") - return &ForgeFedTicket{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// TicketIsDisjointWith returns true if the other provided type is disjoint with -// the Ticket type. -func TicketIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// TicketIsExtendedBy returns true if the other provided type extends from the -// Ticket type. Note that it returns false if the types are the same; see the -// "IsOrExtendsTicket" variant instead. -func TicketIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedTicket) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedAssignedTo returns the "assignedTo" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetForgeFedAssignedTo() vocab.ForgeFedAssignedToProperty { - return this.ForgeFedAssignedTo -} - -// GetForgeFedDependants returns the "dependants" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetForgeFedDependants() vocab.ForgeFedDependantsProperty { - return this.ForgeFedDependants -} - -// GetForgeFedDependedBy returns the "dependedBy" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetForgeFedDependedBy() vocab.ForgeFedDependedByProperty { - return this.ForgeFedDependedBy -} - -// GetForgeFedDependencies returns the "dependencies" property if it exists, and -// nil otherwise. -func (this ForgeFedTicket) GetForgeFedDependencies() vocab.ForgeFedDependenciesProperty { - return this.ForgeFedDependencies -} - -// GetForgeFedDependsOn returns the "dependsOn" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetForgeFedDependsOn() vocab.ForgeFedDependsOnProperty { - return this.ForgeFedDependsOn -} - -// GetForgeFedIsResolved returns the "isResolved" property if it exists, and nil -// otherwise. -func (this ForgeFedTicket) GetForgeFedIsResolved() vocab.ForgeFedIsResolvedProperty { - return this.ForgeFedIsResolved -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedTicket) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedTicket) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedTicket) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedTicket) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedTicket) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedTicket) GetTypeName() string { - return "Ticket" -} - -// GetUnknownProperties returns the unknown properties for the Ticket 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 ForgeFedTicket) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the Ticket type extends from the other type. -func (this ForgeFedTicket) IsExtending(other vocab.Type) bool { - return ForgeFedTicketExtends(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 ForgeFedTicket) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/ns": this.alias} - m = this.helperJSONLDContext(this.ActivityStreamsAltitude, m) - m = this.helperJSONLDContext(this.ForgeFedAssignedTo, 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.ForgeFedDependants, m) - m = this.helperJSONLDContext(this.ForgeFedDependedBy, m) - m = this.helperJSONLDContext(this.ForgeFedDependencies, m) - m = this.helperJSONLDContext(this.ForgeFedDependsOn, 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.ForgeFedIsResolved, m) - m = this.helperJSONLDContext(this.ActivityStreamsLikes, m) - m = this.helperJSONLDContext(this.ActivityStreamsLocation, m) - m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) - m = this.helperJSONLDContext(this.ActivityStreamsName, m) - m = this.helperJSONLDContext(this.ActivityStreamsObject, m) - m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) - m = this.helperJSONLDContext(this.ActivityStreamsPublished, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) - m = this.helperJSONLDContext(this.ActivityStreamsTag, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this Ticket is lesser, with an arbitrary but stable -// determination. -func (this ForgeFedTicket) LessThan(o vocab.ForgeFedTicket) 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 "assignedTo" - if lhs, rhs := this.ForgeFedAssignedTo, o.GetForgeFedAssignedTo(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "dependants" - if lhs, rhs := this.ForgeFedDependants, o.GetForgeFedDependants(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "dependedBy" - if lhs, rhs := this.ForgeFedDependedBy, o.GetForgeFedDependedBy(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "dependencies" - if lhs, rhs := this.ForgeFedDependencies, o.GetForgeFedDependencies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "dependsOn" - if lhs, rhs := this.ForgeFedDependsOn, o.GetForgeFedDependsOn(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "isResolved" - if lhs, rhs := this.ForgeFedIsResolved, o.GetForgeFedIsResolved(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "likes" - if lhs, rhs := this.ActivityStreamsLikes, o.GetActivityStreamsLikes(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "location" - if lhs, rhs := this.ActivityStreamsLocation, o.GetActivityStreamsLocation(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "mediaType" - if lhs, rhs := this.ActivityStreamsMediaType, o.GetActivityStreamsMediaType(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "name" - if lhs, rhs := this.ActivityStreamsName, o.GetActivityStreamsName(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "object" - if lhs, rhs := this.ActivityStreamsObject, o.GetActivityStreamsObject(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "preview" - if lhs, rhs := this.ActivityStreamsPreview, o.GetActivityStreamsPreview(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "published" - if lhs, rhs := this.ActivityStreamsPublished, o.GetActivityStreamsPublished(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "summary" - if lhs, rhs := this.ActivityStreamsSummary, o.GetActivityStreamsSummary(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "tag" - if lhs, rhs := this.ActivityStreamsTag, o.GetActivityStreamsTag(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedTicket) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "Ticket" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "Ticket" - } - 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 "assignedTo" - if this.ForgeFedAssignedTo != nil { - if i, err := this.ForgeFedAssignedTo.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedAssignedTo.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 "dependants" - if this.ForgeFedDependants != nil { - if i, err := this.ForgeFedDependants.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedDependants.Name()] = i - } - } - // Maybe serialize property "dependedBy" - if this.ForgeFedDependedBy != nil { - if i, err := this.ForgeFedDependedBy.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedDependedBy.Name()] = i - } - } - // Maybe serialize property "dependencies" - if this.ForgeFedDependencies != nil { - if i, err := this.ForgeFedDependencies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedDependencies.Name()] = i - } - } - // Maybe serialize property "dependsOn" - if this.ForgeFedDependsOn != nil { - if i, err := this.ForgeFedDependsOn.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedDependsOn.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 "isResolved" - if this.ForgeFedIsResolved != nil { - if i, err := this.ForgeFedIsResolved.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ForgeFedIsResolved.Name()] = i - } - } - // Maybe serialize property "likes" - if this.ActivityStreamsLikes != nil { - if i, err := this.ActivityStreamsLikes.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLikes.Name()] = i - } - } - // Maybe serialize property "location" - if this.ActivityStreamsLocation != nil { - if i, err := this.ActivityStreamsLocation.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsLocation.Name()] = i - } - } - // Maybe serialize property "mediaType" - if this.ActivityStreamsMediaType != nil { - if i, err := this.ActivityStreamsMediaType.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsMediaType.Name()] = i - } - } - // Maybe serialize property "name" - if this.ActivityStreamsName != nil { - if i, err := this.ActivityStreamsName.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsName.Name()] = i - } - } - // Maybe serialize property "object" - if this.ActivityStreamsObject != nil { - if i, err := this.ActivityStreamsObject.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsObject.Name()] = i - } - } - // Maybe serialize property "preview" - if this.ActivityStreamsPreview != nil { - if i, err := this.ActivityStreamsPreview.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPreview.Name()] = i - } - } - // Maybe serialize property "published" - if this.ActivityStreamsPublished != nil { - if i, err := this.ActivityStreamsPublished.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsPublished.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "summary" - if this.ActivityStreamsSummary != nil { - if i, err := this.ActivityStreamsSummary.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSummary.Name()] = i - } - } - // Maybe serialize property "tag" - if this.ActivityStreamsTag != nil { - if i, err := this.ActivityStreamsTag.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsTag.Name()] = i - } - } - // Maybe serialize property "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 { - return nil, err - } else if i != nil { - 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 { - 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 *ForgeFedTicket) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedTicket) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedTicket) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedTicket) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedTicket) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedTicket) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedTicket) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedTicket) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedTicket) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedTicket) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedTicket) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedTicket) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedTicket) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedTicket) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedTicket) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedTicket) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedTicket) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedTicket) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedTicket) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedTicket) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedTicket) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedTicket) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedTicket) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedTicket) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedTicket) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedTicket) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedTicket) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedTicket) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedTicket) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedTicket) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedTicket) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedTicket) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedAssignedTo sets the "assignedTo" property. -func (this *ForgeFedTicket) SetForgeFedAssignedTo(i vocab.ForgeFedAssignedToProperty) { - this.ForgeFedAssignedTo = i -} - -// SetForgeFedDependants sets the "dependants" property. -func (this *ForgeFedTicket) SetForgeFedDependants(i vocab.ForgeFedDependantsProperty) { - this.ForgeFedDependants = i -} - -// SetForgeFedDependedBy sets the "dependedBy" property. -func (this *ForgeFedTicket) SetForgeFedDependedBy(i vocab.ForgeFedDependedByProperty) { - this.ForgeFedDependedBy = i -} - -// SetForgeFedDependencies sets the "dependencies" property. -func (this *ForgeFedTicket) SetForgeFedDependencies(i vocab.ForgeFedDependenciesProperty) { - this.ForgeFedDependencies = i -} - -// SetForgeFedDependsOn sets the "dependsOn" property. -func (this *ForgeFedTicket) SetForgeFedDependsOn(i vocab.ForgeFedDependsOnProperty) { - this.ForgeFedDependsOn = i -} - -// SetForgeFedIsResolved sets the "isResolved" property. -func (this *ForgeFedTicket) SetForgeFedIsResolved(i vocab.ForgeFedIsResolvedProperty) { - this.ForgeFedIsResolved = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedTicket) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedTicket) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedTicket) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedTicket) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedTicket) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedTicket) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedTicket) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_doc.go deleted file mode 100644 index 90610f71b..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_doc.go +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -// Package typeticketdependency contains the implementation for the -// TicketDependency 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 typeticketdependency diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_pkg.go deleted file mode 100644 index d06bc4bd2..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_pkg.go +++ /dev/null @@ -1,200 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typeticketdependency - -import vocab "github.com/superseriousbusiness/activity/streams/vocab" - -var mgr privateManager - -var typePropertyConstructor func() vocab.JSONLDTypeProperty - -// privateManager abstracts the code-generated manager that provides access to -// concrete implementations. -type privateManager interface { - // DeserializeAltitudePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAltitudeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAltitudePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAltitudeProperty, error) - // DeserializeAttachmentPropertyActivityStreams returns the - // deserialization method for the "ActivityStreamsAttachmentProperty" - // non-functional property in the vocabulary "ActivityStreams" - DeserializeAttachmentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttachmentProperty, error) - // DeserializeAttributedToPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsAttributedToProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeAttributedToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAttributedToProperty, error) - // DeserializeAudiencePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsAudienceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeAudiencePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsAudienceProperty, error) - // DeserializeBccPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBccProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBccPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBccProperty, error) - // DeserializeBtoPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsBtoProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeBtoPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsBtoProperty, error) - // DeserializeCcPropertyActivityStreams returns the deserialization method - // for the "ActivityStreamsCcProperty" non-functional property in the - // vocabulary "ActivityStreams" - DeserializeCcPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCcProperty, error) - // DeserializeContentPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContentProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContentPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContentProperty, error) - // DeserializeContextPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsContextProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeContextPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsContextProperty, error) - // DeserializeDurationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsDurationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeDurationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsDurationProperty, error) - // DeserializeEndTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsEndTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeEndTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndTimeProperty, error) - // DeserializeGeneratorPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsGeneratorProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeGeneratorPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsGeneratorProperty, error) - // DeserializeIconPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsIconProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeIconPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsIconProperty, error) - // DeserializeIdPropertyJSONLD returns the deserialization method for the - // "JSONLDIdProperty" non-functional property in the vocabulary - // "JSONLD" - DeserializeIdPropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDIdProperty, error) - // DeserializeImagePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsImageProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeImagePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsImageProperty, error) - // DeserializeInReplyToPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsInReplyToProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeInReplyToPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsInReplyToProperty, error) - // DeserializeLikesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLikesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLikesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLikesProperty, error) - // DeserializeLocationPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsLocationProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeLocationPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLocationProperty, error) - // DeserializeMediaTypePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsMediaTypeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeMediaTypePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMediaTypeProperty, error) - // DeserializeNamePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsNameProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeNamePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsNameProperty, error) - // DeserializeObjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsObjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeObjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsObjectProperty, error) - // DeserializePreviewPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPreviewProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePreviewPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPreviewProperty, error) - // DeserializePublishedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsPublishedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializePublishedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsPublishedProperty, error) - // DeserializeRelationshipPropertyActivityStreams returns the - // deserialization method for the - // "ActivityStreamsRelationshipProperty" non-functional property in - // the vocabulary "ActivityStreams" - DeserializeRelationshipPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelationshipProperty, error) - // DeserializeRepliesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsRepliesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeRepliesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRepliesProperty, error) - // DeserializeSensitivePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSensitiveProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSensitivePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSensitiveProperty, error) - // DeserializeSharesPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSharesProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSharesPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSharesProperty, error) - // DeserializeSourcePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSourceProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSourcePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSourceProperty, error) - // DeserializeStartTimePropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsStartTimeProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeStartTimePropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsStartTimeProperty, error) - // DeserializeSubjectPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsSubjectProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeSubjectPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsSubjectProperty, 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) - // 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" - DeserializeTypePropertyJSONLD() func(map[string]interface{}, map[string]string) (vocab.JSONLDTypeProperty, error) - // DeserializeUpdatedPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUpdatedProperty" non-functional - // property in the vocabulary "ActivityStreams" - DeserializeUpdatedPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUpdatedProperty, error) - // DeserializeUrlPropertyActivityStreams returns the deserialization - // method for the "ActivityStreamsUrlProperty" non-functional property - // in the vocabulary "ActivityStreams" - DeserializeUrlPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsUrlProperty, error) -} - -// jsonldContexter is a private interface to determine the JSON-LD contexts and -// aliases needed for functional and non-functional properties. It is a helper -// interface for this implementation. -type jsonldContexter interface { - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string -} - -// SetManager sets the manager package-global variable. For internal use only, do -// not use as part of Application behavior. Must be called at golang init time. -func SetManager(m privateManager) { - mgr = m -} - -// SetTypePropertyConstructor sets the "type" property's constructor in the -// package-global variable. For internal use only, do not use as part of -// Application behavior. Must be called at golang init time. Permits -// ActivityStreams types to correctly set their "type" property at -// construction time, so users don't have to remember to do so each time. It -// is dependency injected so other go-fed compatible implementations could -// inject their own type. -func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { - typePropertyConstructor = f -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_type_forgefed_ticketdependency.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_type_forgefed_ticketdependency.go deleted file mode 100644 index ce3003ca4..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency/gen_type_forgefed_ticketdependency.go +++ /dev/null @@ -1,1871 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package typeticketdependency - -import ( - "fmt" - vocab "github.com/superseriousbusiness/activity/streams/vocab" - "strings" -) - -// Represents a relationship between 2 Tickets, in which the resolution of one -// ticket requires the other ticket to be resolved too. It MUST specify the -// subject, object and relationship properties, and the relationship property -// MUST be dependsOn. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "attributedTo": "https://example.org/alice", -// "id": "https://example.org/ticket-deps/2342593", -// "object": "https://example.com/bob/coolproj/issues/85", -// "published": "2019-07-11T12:34:56Z", -// "relationship": "dependsOn", -// "subject": "https://example.org/alice/myproj/issues/42", -// "summary": "Alice's ticket depends on Bob's ticket", -// "type": [ -// "Relationship", -// "TicketDependency" -// ] -// } -type ForgeFedTicketDependency 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 - ActivityStreamsRelationship vocab.ActivityStreamsRelationshipProperty - ActivityStreamsReplies vocab.ActivityStreamsRepliesProperty - ActivityStreamsSensitive vocab.ActivityStreamsSensitiveProperty - ActivityStreamsShares vocab.ActivityStreamsSharesProperty - ActivityStreamsSource vocab.ActivityStreamsSourceProperty - ActivityStreamsStartTime vocab.ActivityStreamsStartTimeProperty - 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 - alias string - unknown map[string]interface{} -} - -// DeserializeTicketDependency creates a TicketDependency from a map -// representation that has been unmarshalled from a text or binary format. -func DeserializeTicketDependency(m map[string]interface{}, aliasMap map[string]string) (*ForgeFedTicketDependency, error) { - alias := "" - aliasPrefix := "" - if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok { - alias = a - aliasPrefix = a + ":" - } - this := &ForgeFedTicketDependency{ - 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 != "TicketDependency" { - return nil, fmt.Errorf("\"type\" property is not of %q type: %s", "TicketDependency", 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) == "TicketDependency" { - found = true - break - } - } - if !found { - return nil, fmt.Errorf("could not find a \"type\" property of value %q", "TicketDependency") - } - // 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.DeserializeRelationshipPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsRelationship = p - } - if p, err := mgr.DeserializeRepliesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsReplies = p - } - if p, err := mgr.DeserializeSensitivePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSensitive = p - } - if p, err := mgr.DeserializeSharesPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsShares = p - } - if p, err := mgr.DeserializeSourcePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSource = p - } - if p, err := mgr.DeserializeStartTimePropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsStartTime = p - } - if p, err := mgr.DeserializeSubjectPropertyActivityStreams()(m, aliasMap); err != nil { - return nil, err - } else if p != nil { - this.ActivityStreamsSubject = 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.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 { - 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 == "relationship" { - continue - } else if k == "replies" { - continue - } else if k == "sensitive" { - continue - } else if k == "shares" { - continue - } else if k == "source" { - continue - } else if k == "startTime" { - continue - } else if k == "subject" { - continue - } else if k == "summary" { - continue - } else if k == "summaryMap" { - 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" { - 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 -} - -// ForgeFedTicketDependencyExtends returns true if the TicketDependency type -// extends from the other type. -func ForgeFedTicketDependencyExtends(other vocab.Type) bool { - extensions := []string{"Object", "Relationship"} - for _, ext := range extensions { - if ext == other.GetTypeName() { - return true - } - } - return false -} - -// IsOrExtendsTicketDependency returns true if the other provided type is the -// TicketDependency type or extends from the TicketDependency type. -func IsOrExtendsTicketDependency(other vocab.Type) bool { - if other.GetTypeName() == "TicketDependency" { - return true - } - return TicketDependencyIsExtendedBy(other) -} - -// NewForgeFedTicketDependency creates a new TicketDependency type -func NewForgeFedTicketDependency() *ForgeFedTicketDependency { - typeProp := typePropertyConstructor() - typeProp.AppendXMLSchemaString("TicketDependency") - return &ForgeFedTicketDependency{ - JSONLDType: typeProp, - alias: "", - unknown: make(map[string]interface{}), - } -} - -// TicketDependencyIsDisjointWith returns true if the other provided type is -// disjoint with the TicketDependency type. -func TicketDependencyIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} - for _, disjoint := range disjointWith { - if disjoint == other.GetTypeName() { - return true - } - } - return false -} - -// TicketDependencyIsExtendedBy returns true if the other provided type extends -// from the TicketDependency type. Note that it returns false if the types are -// the same; see the "IsOrExtendsTicketDependency" variant instead. -func TicketDependencyIsExtendedBy(other vocab.Type) bool { - // Shortcut implementation: is not extended by anything. - return false -} - -// GetActivityStreamsAltitude returns the "altitude" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsAltitude() vocab.ActivityStreamsAltitudeProperty { - return this.ActivityStreamsAltitude -} - -// GetActivityStreamsAttachment returns the "attachment" property if it exists, -// and nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsAttachment() vocab.ActivityStreamsAttachmentProperty { - return this.ActivityStreamsAttachment -} - -// GetActivityStreamsAttributedTo returns the "attributedTo" property if it -// exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { - return this.ActivityStreamsAttributedTo -} - -// GetActivityStreamsAudience returns the "audience" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsAudience() vocab.ActivityStreamsAudienceProperty { - return this.ActivityStreamsAudience -} - -// GetActivityStreamsBcc returns the "bcc" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsBcc() vocab.ActivityStreamsBccProperty { - return this.ActivityStreamsBcc -} - -// GetActivityStreamsBto returns the "bto" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsBto() vocab.ActivityStreamsBtoProperty { - return this.ActivityStreamsBto -} - -// GetActivityStreamsCc returns the "cc" property if it exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsCc() vocab.ActivityStreamsCcProperty { - return this.ActivityStreamsCc -} - -// GetActivityStreamsContent returns the "content" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsContent() vocab.ActivityStreamsContentProperty { - return this.ActivityStreamsContent -} - -// GetActivityStreamsContext returns the "context" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsContext() vocab.ActivityStreamsContextProperty { - return this.ActivityStreamsContext -} - -// GetActivityStreamsDuration returns the "duration" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsDuration() vocab.ActivityStreamsDurationProperty { - return this.ActivityStreamsDuration -} - -// GetActivityStreamsEndTime returns the "endTime" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsEndTime() vocab.ActivityStreamsEndTimeProperty { - return this.ActivityStreamsEndTime -} - -// GetActivityStreamsGenerator returns the "generator" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsGenerator() vocab.ActivityStreamsGeneratorProperty { - return this.ActivityStreamsGenerator -} - -// GetActivityStreamsIcon returns the "icon" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsIcon() vocab.ActivityStreamsIconProperty { - return this.ActivityStreamsIcon -} - -// GetActivityStreamsImage returns the "image" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsImage() vocab.ActivityStreamsImageProperty { - return this.ActivityStreamsImage -} - -// GetActivityStreamsInReplyTo returns the "inReplyTo" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsInReplyTo() vocab.ActivityStreamsInReplyToProperty { - return this.ActivityStreamsInReplyTo -} - -// GetActivityStreamsLikes returns the "likes" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsLikes() vocab.ActivityStreamsLikesProperty { - return this.ActivityStreamsLikes -} - -// GetActivityStreamsLocation returns the "location" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsLocation() vocab.ActivityStreamsLocationProperty { - return this.ActivityStreamsLocation -} - -// GetActivityStreamsMediaType returns the "mediaType" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty { - return this.ActivityStreamsMediaType -} - -// GetActivityStreamsName returns the "name" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsName() vocab.ActivityStreamsNameProperty { - return this.ActivityStreamsName -} - -// GetActivityStreamsObject returns the "object" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsObject() vocab.ActivityStreamsObjectProperty { - return this.ActivityStreamsObject -} - -// GetActivityStreamsPreview returns the "preview" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { - return this.ActivityStreamsPreview -} - -// GetActivityStreamsPublished returns the "published" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsPublished() vocab.ActivityStreamsPublishedProperty { - return this.ActivityStreamsPublished -} - -// GetActivityStreamsRelationship returns the "relationship" property if it -// exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsRelationship() vocab.ActivityStreamsRelationshipProperty { - return this.ActivityStreamsRelationship -} - -// GetActivityStreamsReplies returns the "replies" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsReplies() vocab.ActivityStreamsRepliesProperty { - return this.ActivityStreamsReplies -} - -// GetActivityStreamsSensitive returns the "sensitive" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsSensitive() vocab.ActivityStreamsSensitiveProperty { - return this.ActivityStreamsSensitive -} - -// GetActivityStreamsShares returns the "shares" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsShares() vocab.ActivityStreamsSharesProperty { - return this.ActivityStreamsShares -} - -// GetActivityStreamsSource returns the "source" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsSource() vocab.ActivityStreamsSourceProperty { - return this.ActivityStreamsSource -} - -// GetActivityStreamsStartTime returns the "startTime" property if it exists, and -// nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsStartTime() vocab.ActivityStreamsStartTimeProperty { - return this.ActivityStreamsStartTime -} - -// GetActivityStreamsSubject returns the "subject" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsSubject() vocab.ActivityStreamsSubjectProperty { - return this.ActivityStreamsSubject -} - -// GetActivityStreamsSummary returns the "summary" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { - return this.ActivityStreamsSummary -} - -// GetActivityStreamsTag returns the "tag" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsTag() vocab.ActivityStreamsTagProperty { - return this.ActivityStreamsTag -} - -// GetActivityStreamsTo returns the "to" property if it exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsTo() vocab.ActivityStreamsToProperty { - return this.ActivityStreamsTo -} - -// GetActivityStreamsUpdated returns the "updated" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsUpdated() vocab.ActivityStreamsUpdatedProperty { - return this.ActivityStreamsUpdated -} - -// GetActivityStreamsUrl returns the "url" property if it exists, and nil -// otherwise. -func (this ForgeFedTicketDependency) GetActivityStreamsUrl() vocab.ActivityStreamsUrlProperty { - return this.ActivityStreamsUrl -} - -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - -// GetJSONLDId returns the "id" property if it exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetJSONLDId() vocab.JSONLDIdProperty { - return this.JSONLDId -} - -// GetJSONLDType returns the "type" property if it exists, and nil otherwise. -func (this ForgeFedTicketDependency) GetJSONLDType() vocab.JSONLDTypeProperty { - return this.JSONLDType -} - -// GetTypeName returns the name of this type. -func (this ForgeFedTicketDependency) GetTypeName() string { - return "TicketDependency" -} - -// GetUnknownProperties returns the unknown properties for the TicketDependency -// 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 ForgeFedTicketDependency) GetUnknownProperties() map[string]interface{} { - return this.unknown -} - -// IsExtending returns true if the TicketDependency type extends from the other -// type. -func (this ForgeFedTicketDependency) IsExtending(other vocab.Type) bool { - return ForgeFedTicketDependencyExtends(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 ForgeFedTicketDependency) JSONLDContext() map[string]string { - m := map[string]string{"https://forgefed.peers.community/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.ActivityStreamsRelationship, m) - m = this.helperJSONLDContext(this.ActivityStreamsReplies, m) - m = this.helperJSONLDContext(this.ActivityStreamsSensitive, m) - m = this.helperJSONLDContext(this.ActivityStreamsShares, m) - m = this.helperJSONLDContext(this.ActivityStreamsSource, m) - m = this.helperJSONLDContext(this.ActivityStreamsStartTime, m) - m = this.helperJSONLDContext(this.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) - - return m -} - -// LessThan computes if this TicketDependency is lesser, with an arbitrary but -// stable determination. -func (this ForgeFedTicketDependency) LessThan(o vocab.ForgeFedTicketDependency) 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 "relationship" - if lhs, rhs := this.ActivityStreamsRelationship, o.GetActivityStreamsRelationship(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "replies" - if lhs, rhs := this.ActivityStreamsReplies, o.GetActivityStreamsReplies(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "sensitive" - if lhs, rhs := this.ActivityStreamsSensitive, o.GetActivityStreamsSensitive(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "shares" - if lhs, rhs := this.ActivityStreamsShares, o.GetActivityStreamsShares(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "source" - if lhs, rhs := this.ActivityStreamsSource, o.GetActivityStreamsSource(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "startTime" - if lhs, rhs := this.ActivityStreamsStartTime, o.GetActivityStreamsStartTime(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // Anything else is greater than nil - return false - } // Else: Both are nil - // Compare property "subject" - if lhs, rhs := this.ActivityStreamsSubject, o.GetActivityStreamsSubject(); lhs != nil && rhs != nil { - if lhs.LessThan(rhs) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 "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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than anything else - return true - } else if rhs != nil && rhs == nil { - // 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) { - return true - } else if rhs.LessThan(lhs) { - return false - } - } else if lhs == nil && rhs != nil { - // Nil is less than 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 ForgeFedTicketDependency) Serialize() (map[string]interface{}, error) { - m := make(map[string]interface{}) - typeName := "TicketDependency" - if len(this.alias) > 0 { - typeName = this.alias + ":" + "TicketDependency" - } - 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 "relationship" - if this.ActivityStreamsRelationship != nil { - if i, err := this.ActivityStreamsRelationship.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsRelationship.Name()] = i - } - } - // Maybe serialize property "replies" - if this.ActivityStreamsReplies != nil { - if i, err := this.ActivityStreamsReplies.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsReplies.Name()] = i - } - } - // Maybe serialize property "sensitive" - if this.ActivityStreamsSensitive != nil { - if i, err := this.ActivityStreamsSensitive.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSensitive.Name()] = i - } - } - // Maybe serialize property "shares" - if this.ActivityStreamsShares != nil { - if i, err := this.ActivityStreamsShares.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsShares.Name()] = i - } - } - // Maybe serialize property "source" - if this.ActivityStreamsSource != nil { - if i, err := this.ActivityStreamsSource.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSource.Name()] = i - } - } - // Maybe serialize property "startTime" - if this.ActivityStreamsStartTime != nil { - if i, err := this.ActivityStreamsStartTime.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsStartTime.Name()] = i - } - } - // Maybe serialize property "subject" - if this.ActivityStreamsSubject != nil { - if i, err := this.ActivityStreamsSubject.Serialize(); err != nil { - return nil, err - } else if i != nil { - m[this.ActivityStreamsSubject.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 "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 { - return nil, err - } else if i != nil { - 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 { - 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 *ForgeFedTicketDependency) SetActivityStreamsAltitude(i vocab.ActivityStreamsAltitudeProperty) { - this.ActivityStreamsAltitude = i -} - -// SetActivityStreamsAttachment sets the "attachment" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsAttachment(i vocab.ActivityStreamsAttachmentProperty) { - this.ActivityStreamsAttachment = i -} - -// SetActivityStreamsAttributedTo sets the "attributedTo" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { - this.ActivityStreamsAttributedTo = i -} - -// SetActivityStreamsAudience sets the "audience" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsAudience(i vocab.ActivityStreamsAudienceProperty) { - this.ActivityStreamsAudience = i -} - -// SetActivityStreamsBcc sets the "bcc" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsBcc(i vocab.ActivityStreamsBccProperty) { - this.ActivityStreamsBcc = i -} - -// SetActivityStreamsBto sets the "bto" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsBto(i vocab.ActivityStreamsBtoProperty) { - this.ActivityStreamsBto = i -} - -// SetActivityStreamsCc sets the "cc" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsCc(i vocab.ActivityStreamsCcProperty) { - this.ActivityStreamsCc = i -} - -// SetActivityStreamsContent sets the "content" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsContent(i vocab.ActivityStreamsContentProperty) { - this.ActivityStreamsContent = i -} - -// SetActivityStreamsContext sets the "context" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsContext(i vocab.ActivityStreamsContextProperty) { - this.ActivityStreamsContext = i -} - -// SetActivityStreamsDuration sets the "duration" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsDuration(i vocab.ActivityStreamsDurationProperty) { - this.ActivityStreamsDuration = i -} - -// SetActivityStreamsEndTime sets the "endTime" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsEndTime(i vocab.ActivityStreamsEndTimeProperty) { - this.ActivityStreamsEndTime = i -} - -// SetActivityStreamsGenerator sets the "generator" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsGenerator(i vocab.ActivityStreamsGeneratorProperty) { - this.ActivityStreamsGenerator = i -} - -// SetActivityStreamsIcon sets the "icon" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsIcon(i vocab.ActivityStreamsIconProperty) { - this.ActivityStreamsIcon = i -} - -// SetActivityStreamsImage sets the "image" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsImage(i vocab.ActivityStreamsImageProperty) { - this.ActivityStreamsImage = i -} - -// SetActivityStreamsInReplyTo sets the "inReplyTo" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsInReplyTo(i vocab.ActivityStreamsInReplyToProperty) { - this.ActivityStreamsInReplyTo = i -} - -// SetActivityStreamsLikes sets the "likes" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsLikes(i vocab.ActivityStreamsLikesProperty) { - this.ActivityStreamsLikes = i -} - -// SetActivityStreamsLocation sets the "location" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsLocation(i vocab.ActivityStreamsLocationProperty) { - this.ActivityStreamsLocation = i -} - -// SetActivityStreamsMediaType sets the "mediaType" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsMediaType(i vocab.ActivityStreamsMediaTypeProperty) { - this.ActivityStreamsMediaType = i -} - -// SetActivityStreamsName sets the "name" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsName(i vocab.ActivityStreamsNameProperty) { - this.ActivityStreamsName = i -} - -// SetActivityStreamsObject sets the "object" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsObject(i vocab.ActivityStreamsObjectProperty) { - this.ActivityStreamsObject = i -} - -// SetActivityStreamsPreview sets the "preview" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { - this.ActivityStreamsPreview = i -} - -// SetActivityStreamsPublished sets the "published" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsPublished(i vocab.ActivityStreamsPublishedProperty) { - this.ActivityStreamsPublished = i -} - -// SetActivityStreamsRelationship sets the "relationship" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsRelationship(i vocab.ActivityStreamsRelationshipProperty) { - this.ActivityStreamsRelationship = i -} - -// SetActivityStreamsReplies sets the "replies" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsReplies(i vocab.ActivityStreamsRepliesProperty) { - this.ActivityStreamsReplies = i -} - -// SetActivityStreamsSensitive sets the "sensitive" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsSensitive(i vocab.ActivityStreamsSensitiveProperty) { - this.ActivityStreamsSensitive = i -} - -// SetActivityStreamsShares sets the "shares" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsShares(i vocab.ActivityStreamsSharesProperty) { - this.ActivityStreamsShares = i -} - -// SetActivityStreamsSource sets the "source" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsSource(i vocab.ActivityStreamsSourceProperty) { - this.ActivityStreamsSource = i -} - -// SetActivityStreamsStartTime sets the "startTime" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsStartTime(i vocab.ActivityStreamsStartTimeProperty) { - this.ActivityStreamsStartTime = i -} - -// SetActivityStreamsSubject sets the "subject" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsSubject(i vocab.ActivityStreamsSubjectProperty) { - this.ActivityStreamsSubject = i -} - -// SetActivityStreamsSummary sets the "summary" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { - this.ActivityStreamsSummary = i -} - -// SetActivityStreamsTag sets the "tag" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsTag(i vocab.ActivityStreamsTagProperty) { - this.ActivityStreamsTag = i -} - -// SetActivityStreamsTo sets the "to" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsTo(i vocab.ActivityStreamsToProperty) { - this.ActivityStreamsTo = i -} - -// SetActivityStreamsUpdated sets the "updated" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsUpdated(i vocab.ActivityStreamsUpdatedProperty) { - this.ActivityStreamsUpdated = i -} - -// SetActivityStreamsUrl sets the "url" property. -func (this *ForgeFedTicketDependency) SetActivityStreamsUrl(i vocab.ActivityStreamsUrlProperty) { - this.ActivityStreamsUrl = i -} - -// SetForgeFedTeam sets the "team" property. -func (this *ForgeFedTicketDependency) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *ForgeFedTicketDependency) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *ForgeFedTicketDependency) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - -// SetJSONLDId sets the "id" property. -func (this *ForgeFedTicketDependency) SetJSONLDId(i vocab.JSONLDIdProperty) { - this.JSONLDId = i -} - -// SetJSONLDType sets the "type" property. -func (this *ForgeFedTicketDependency) SetJSONLDType(i vocab.JSONLDTypeProperty) { - this.JSONLDType = i -} - -// VocabularyURI returns the vocabulary's URI as a string. -func (this ForgeFedTicketDependency) VocabularyURI() string { - return "https://forgefed.peers.community/ns" -} - -// helperJSONLDContext obtains the context uris and their aliases from a property, -// if it is not nil. -func (this ForgeFedTicketDependency) helperJSONLDContext(i jsonldContexter, toMerge map[string]string) map[string]string { - if i == nil { - return toMerge - } - for k, v := range i.JSONLDContext() { - /* - Since the literal maps in this function are determined at - code-generation time, this loop should not overwrite an existing key with a - new value. - */ - toMerge[k] = v - } - return toMerge -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go index cd6ae4a7e..051d45452 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/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/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go index c3190b56e..13205cf8b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/schema/type_propertyvalue/gen_type_schema_propertyvalue.go @@ -41,10 +41,7 @@ type SchemaPropertyValue 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 @@ -240,26 +237,11 @@ func DeserializePropertyValue(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 { @@ -351,14 +333,8 @@ func DeserializePropertyValue(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" { @@ -399,7 +375,7 @@ func NewSchemaPropertyValue() *SchemaPropertyValue { // PropertyValueIsDisjointWith returns true if the other provided type is disjoint // with the PropertyValue type. func PropertyValueIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -618,23 +594,6 @@ func (this SchemaPropertyValue) GetActivityStreamsUrl() vocab.ActivityStreamsUrl return this.ActivityStreamsUrl } -// GetForgeFedTeam returns the "team" property if it exists, and nil otherwise. -func (this SchemaPropertyValue) GetForgeFedTeam() vocab.ForgeFedTeamProperty { - return this.ForgeFedTeam -} - -// GetForgeFedTicketsTrackedBy returns the "ticketsTrackedBy" property if it -// exists, and nil otherwise. -func (this SchemaPropertyValue) GetForgeFedTicketsTrackedBy() vocab.ForgeFedTicketsTrackedByProperty { - return this.ForgeFedTicketsTrackedBy -} - -// GetForgeFedTracksTicketsFor returns the "tracksTicketsFor" property if it -// exists, and nil otherwise. -func (this SchemaPropertyValue) GetForgeFedTracksTicketsFor() vocab.ForgeFedTracksTicketsForProperty { - return this.ForgeFedTracksTicketsFor -} - // GetJSONLDId returns the "id" property if it exists, and nil otherwise. func (this SchemaPropertyValue) GetJSONLDId() vocab.JSONLDIdProperty { return this.JSONLDId @@ -705,10 +664,7 @@ func (this SchemaPropertyValue) 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) @@ -1141,34 +1097,6 @@ func (this SchemaPropertyValue) LessThan(o vocab.SchemaPropertyValue) 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) { @@ -1183,20 +1111,6 @@ func (this SchemaPropertyValue) LessThan(o vocab.SchemaPropertyValue) 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) { @@ -1516,22 +1430,6 @@ func (this SchemaPropertyValue) 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 { @@ -1540,14 +1438,6 @@ func (this SchemaPropertyValue) 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 { @@ -1754,21 +1644,6 @@ func (this *SchemaPropertyValue) SetActivityStreamsUrl(i vocab.ActivityStreamsUr this.ActivityStreamsUrl = i } -// SetForgeFedTeam sets the "team" property. -func (this *SchemaPropertyValue) SetForgeFedTeam(i vocab.ForgeFedTeamProperty) { - this.ForgeFedTeam = i -} - -// SetForgeFedTicketsTrackedBy sets the "ticketsTrackedBy" property. -func (this *SchemaPropertyValue) SetForgeFedTicketsTrackedBy(i vocab.ForgeFedTicketsTrackedByProperty) { - this.ForgeFedTicketsTrackedBy = i -} - -// SetForgeFedTracksTicketsFor sets the "tracksTicketsFor" property. -func (this *SchemaPropertyValue) SetForgeFedTracksTicketsFor(i vocab.ForgeFedTracksTicketsForProperty) { - this.ForgeFedTracksTicketsFor = i -} - // SetJSONLDId sets the "id" property. func (this *SchemaPropertyValue) SetJSONLDId(i vocab.JSONLDIdProperty) { this.JSONLDId = i diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go index 44cab9702..c43347c62 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/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/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go index 22f89939b..797649b0b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji/gen_type_toot_emoji.go @@ -58,10 +58,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 @@ -256,26 +253,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 { @@ -362,14 +344,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" { @@ -388,7 +364,7 @@ func DeserializeEmoji(m map[string]interface{}, aliasMap map[string]string) (*To // EmojiIsDisjointWith returns true if the other provided type is disjoint with // the Emoji type. func EmojiIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -626,23 +602,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 @@ -708,10 +667,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) @@ -1143,34 +1099,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) { @@ -1185,20 +1113,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) { @@ -1504,22 +1418,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 { @@ -1528,14 +1426,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 { @@ -1734,21 +1624,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/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_doc.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_doc.go similarity index 89% rename from vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_doc.go rename to vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_doc.go index db28dfa5e..ec71c25bc 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref/gen_doc.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_doc.go @@ -1,6 +1,6 @@ // Code generated by astool. DO NOT EDIT. -// Package propertyref contains the implementation for the ref property. All +// 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 @@ -14,4 +14,4 @@ // separate subpackages for each vocabulary. // // Strongly consider using the interfaces instead of this package. -package propertyref +package typehashtag diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go new file mode 100644 index 000000000..40e803fd3 --- /dev/null +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_pkg.go @@ -0,0 +1,91 @@ +// Code generated by astool. DO NOT EDIT. + +package typehashtag + +import vocab "github.com/superseriousbusiness/activity/streams/vocab" + +var mgr privateManager + +var typePropertyConstructor func() vocab.JSONLDTypeProperty + +// privateManager abstracts the code-generated manager that provides access to +// concrete implementations. +type privateManager interface { + // 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) + // DeserializeHeightPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsHeightProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeHeightPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsHeightProperty, error) + // DeserializeHrefPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsHrefProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeHrefPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsHrefProperty, error) + // DeserializeHreflangPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsHreflangProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeHreflangPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsHreflangProperty, 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) + // 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) + // 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) + // DeserializeRelPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsRelProperty" non-functional property + // in the vocabulary "ActivityStreams" + DeserializeRelPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsRelProperty, 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) + // 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) + // DeserializeWidthPropertyActivityStreams returns the deserialization + // method for the "ActivityStreamsWidthProperty" non-functional + // property in the vocabulary "ActivityStreams" + DeserializeWidthPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsWidthProperty, error) +} + +// jsonldContexter is a private interface to determine the JSON-LD contexts and +// aliases needed for functional and non-functional properties. It is a helper +// interface for this implementation. +type jsonldContexter interface { + // JSONLDContext returns the JSONLD URIs required in the context string + // for this property and the specific values that are set. The value + // in the map is the alias used to import the property's value or + // values. + JSONLDContext() map[string]string +} + +// SetManager sets the manager package-global variable. For internal use only, do +// not use as part of Application behavior. Must be called at golang init time. +func SetManager(m privateManager) { + mgr = m +} + +// SetTypePropertyConstructor sets the "type" property's constructor in the +// package-global variable. For internal use only, do not use as part of +// Application behavior. Must be called at golang init time. Permits +// ActivityStreams types to correctly set their "type" property at +// construction time, so users don't have to remember to do so each time. It +// is dependency injected so other go-fed compatible implementations could +// inject their own type. +func SetTypePropertyConstructor(f func() vocab.JSONLDTypeProperty) { + typePropertyConstructor = f +} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go new file mode 100644 index 000000000..8cb8b993c --- /dev/null +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag/gen_type_toot_hashtag.go @@ -0,0 +1,728 @@ +// Code generated by astool. DO NOT EDIT. + +package typehashtag + +import ( + "fmt" + vocab "github.com/superseriousbusiness/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 { + ActivityStreamsAttributedTo vocab.ActivityStreamsAttributedToProperty + ActivityStreamsHeight vocab.ActivityStreamsHeightProperty + ActivityStreamsHref vocab.ActivityStreamsHrefProperty + ActivityStreamsHreflang vocab.ActivityStreamsHreflangProperty + JSONLDId vocab.JSONLDIdProperty + ActivityStreamsMediaType vocab.ActivityStreamsMediaTypeProperty + ActivityStreamsName vocab.ActivityStreamsNameProperty + ActivityStreamsPreview vocab.ActivityStreamsPreviewProperty + ActivityStreamsRel vocab.ActivityStreamsRelProperty + ActivityStreamsSummary vocab.ActivityStreamsSummaryProperty + JSONLDType vocab.JSONLDTypeProperty + ActivityStreamsWidth vocab.ActivityStreamsWidthProperty + 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.DeserializeAttributedToPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsAttributedTo = p + } + if p, err := mgr.DeserializeHeightPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsHeight = p + } + if p, err := mgr.DeserializeHrefPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsHref = p + } + if p, err := mgr.DeserializeHreflangPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsHreflang = p + } + if p, err := mgr.DeserializeIdPropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDId = 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.DeserializePreviewPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsPreview = p + } + if p, err := mgr.DeserializeRelPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsRel = p + } + if p, err := mgr.DeserializeSummaryPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsSummary = p + } + if p, err := mgr.DeserializeTypePropertyJSONLD()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.JSONLDType = p + } + if p, err := mgr.DeserializeWidthPropertyActivityStreams()(m, aliasMap); err != nil { + return nil, err + } else if p != nil { + this.ActivityStreamsWidth = p + } + // End: Known property deserialization + + // Begin: Unknown deserialization + for k, v := range m { + // Begin: Code that ensures a property name is unknown + if k == "attributedTo" { + continue + } else if k == "height" { + continue + } else if k == "href" { + continue + } else if k == "hreflang" { + continue + } else if k == "id" { + continue + } else if k == "mediaType" { + continue + } else if k == "name" { + continue + } else if k == "nameMap" { + continue + } else if k == "preview" { + continue + } else if k == "rel" { + continue + } else if k == "summary" { + continue + } else if k == "summaryMap" { + continue + } else if k == "type" { + continue + } else if k == "width" { + 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{"Accept", "Activity", "Add", "Announce", "Application", "Arrive", "Article", "Audio", "Block", "Collection", "CollectionPage", "Create", "Delete", "Dislike", "Document", "Emoji", "Event", "Flag", "Follow", "Group", "IdentityProof", "Ignore", "Image", "IntransitiveActivity", "Invite", "Join", "Leave", "Like", "Listen", "Move", "Note", "Object", "Offer", "OrderedCollection", "OrderedCollectionPage", "OrderedCollectionPage", "Organization", "Page", "Person", "Place", "Profile", "PropertyValue", "Question", "Read", "Reject", "Relationship", "Remove", "Service", "TentativeAccept", "TentativeReject", "Tombstone", "Travel", "Undo", "Update", "Video", "View"} + 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{"Link"} + for _, ext := range extensions { + if ext == other.GetTypeName() { + return true + } + } + return false +} + +// GetActivityStreamsAttributedTo returns the "attributedTo" property if it +// exists, and nil otherwise. +func (this TootHashtag) GetActivityStreamsAttributedTo() vocab.ActivityStreamsAttributedToProperty { + return this.ActivityStreamsAttributedTo +} + +// GetActivityStreamsHeight returns the "height" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsHeight() vocab.ActivityStreamsHeightProperty { + return this.ActivityStreamsHeight +} + +// GetActivityStreamsHref returns the "href" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsHref() vocab.ActivityStreamsHrefProperty { + return this.ActivityStreamsHref +} + +// GetActivityStreamsHreflang returns the "hreflang" property if it exists, and +// nil otherwise. +func (this TootHashtag) GetActivityStreamsHreflang() vocab.ActivityStreamsHreflangProperty { + return this.ActivityStreamsHreflang +} + +// 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 +} + +// GetActivityStreamsPreview returns the "preview" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsPreview() vocab.ActivityStreamsPreviewProperty { + return this.ActivityStreamsPreview +} + +// GetActivityStreamsRel returns the "rel" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsRel() vocab.ActivityStreamsRelProperty { + return this.ActivityStreamsRel +} + +// GetActivityStreamsSummary returns the "summary" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsSummary() vocab.ActivityStreamsSummaryProperty { + return this.ActivityStreamsSummary +} + +// GetActivityStreamsWidth returns the "width" property if it exists, and nil +// otherwise. +func (this TootHashtag) GetActivityStreamsWidth() vocab.ActivityStreamsWidthProperty { + return this.ActivityStreamsWidth +} + +// 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.ActivityStreamsAttributedTo, m) + m = this.helperJSONLDContext(this.ActivityStreamsHeight, m) + m = this.helperJSONLDContext(this.ActivityStreamsHref, m) + m = this.helperJSONLDContext(this.ActivityStreamsHreflang, m) + m = this.helperJSONLDContext(this.JSONLDId, m) + m = this.helperJSONLDContext(this.ActivityStreamsMediaType, m) + m = this.helperJSONLDContext(this.ActivityStreamsName, m) + m = this.helperJSONLDContext(this.ActivityStreamsPreview, m) + m = this.helperJSONLDContext(this.ActivityStreamsRel, m) + m = this.helperJSONLDContext(this.ActivityStreamsSummary, m) + m = this.helperJSONLDContext(this.JSONLDType, m) + m = this.helperJSONLDContext(this.ActivityStreamsWidth, 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 "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 "height" + if lhs, rhs := this.ActivityStreamsHeight, o.GetActivityStreamsHeight(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "href" + if lhs, rhs := this.ActivityStreamsHref, o.GetActivityStreamsHref(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than anything else + return true + } else if rhs != nil && rhs == nil { + // Anything else is greater than nil + return false + } // Else: Both are nil + // Compare property "hreflang" + if lhs, rhs := this.ActivityStreamsHreflang, o.GetActivityStreamsHreflang(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than 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 "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 "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 "rel" + if lhs, rhs := this.ActivityStreamsRel, o.GetActivityStreamsRel(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is less than 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 "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 "width" + if lhs, rhs := this.ActivityStreamsWidth, o.GetActivityStreamsWidth(); lhs != nil && rhs != nil { + if lhs.LessThan(rhs) { + return true + } else if rhs.LessThan(lhs) { + return false + } + } else if lhs == nil && rhs != nil { + // Nil is 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 "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 "height" + if this.ActivityStreamsHeight != nil { + if i, err := this.ActivityStreamsHeight.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsHeight.Name()] = i + } + } + // Maybe serialize property "href" + if this.ActivityStreamsHref != nil { + if i, err := this.ActivityStreamsHref.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsHref.Name()] = i + } + } + // Maybe serialize property "hreflang" + if this.ActivityStreamsHreflang != nil { + if i, err := this.ActivityStreamsHreflang.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsHreflang.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 "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 "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 "rel" + if this.ActivityStreamsRel != nil { + if i, err := this.ActivityStreamsRel.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsRel.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 "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 "width" + if this.ActivityStreamsWidth != nil { + if i, err := this.ActivityStreamsWidth.Serialize(); err != nil { + return nil, err + } else if i != nil { + m[this.ActivityStreamsWidth.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 +} + +// SetActivityStreamsAttributedTo sets the "attributedTo" property. +func (this *TootHashtag) SetActivityStreamsAttributedTo(i vocab.ActivityStreamsAttributedToProperty) { + this.ActivityStreamsAttributedTo = i +} + +// SetActivityStreamsHeight sets the "height" property. +func (this *TootHashtag) SetActivityStreamsHeight(i vocab.ActivityStreamsHeightProperty) { + this.ActivityStreamsHeight = i +} + +// SetActivityStreamsHref sets the "href" property. +func (this *TootHashtag) SetActivityStreamsHref(i vocab.ActivityStreamsHrefProperty) { + this.ActivityStreamsHref = i +} + +// SetActivityStreamsHreflang sets the "hreflang" property. +func (this *TootHashtag) SetActivityStreamsHreflang(i vocab.ActivityStreamsHreflangProperty) { + this.ActivityStreamsHreflang = 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 +} + +// SetActivityStreamsPreview sets the "preview" property. +func (this *TootHashtag) SetActivityStreamsPreview(i vocab.ActivityStreamsPreviewProperty) { + this.ActivityStreamsPreview = i +} + +// SetActivityStreamsRel sets the "rel" property. +func (this *TootHashtag) SetActivityStreamsRel(i vocab.ActivityStreamsRelProperty) { + this.ActivityStreamsRel = i +} + +// SetActivityStreamsSummary sets the "summary" property. +func (this *TootHashtag) SetActivityStreamsSummary(i vocab.ActivityStreamsSummaryProperty) { + this.ActivityStreamsSummary = i +} + +// SetActivityStreamsWidth sets the "width" property. +func (this *TootHashtag) SetActivityStreamsWidth(i vocab.ActivityStreamsWidthProperty) { + this.ActivityStreamsWidth = 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/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go index 1dca15931..269b30ee7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_pkg.go @@ -140,22 +140,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/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go index 98702374c..8aad01cae 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof/gen_type_toot_identityproof.go @@ -44,10 +44,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 @@ -252,26 +249,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 { @@ -362,14 +344,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" { @@ -388,7 +364,7 @@ func DeserializeIdentityProof(m map[string]interface{}, aliasMap map[string]stri // IdentityProofIsDisjointWith returns true if the other provided type is disjoint // with the IdentityProof type. func IdentityProofIsDisjointWith(other vocab.Type) bool { - disjointWith := []string{"Link", "Mention"} + disjointWith := []string{"Hashtag", "Link", "Mention"} for _, disjoint := range disjointWith { if disjoint == other.GetTypeName() { return true @@ -627,23 +603,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 @@ -723,10 +682,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) @@ -1186,34 +1142,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) { @@ -1228,20 +1156,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) { @@ -1563,22 +1477,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 { @@ -1587,14 +1485,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 { @@ -1793,21 +1683,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go index 5cef44152..937c139a7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_actor_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsActorPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsActorPropertyIterator interface { // 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) @@ -1015,30 +959,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) @@ -1050,6 +970,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. @@ -1294,30 +1218,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. @@ -1330,6 +1230,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. @@ -1528,25 +1432,6 @@ 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) @@ -1556,6 +1441,9 @@ type ActivityStreamsActorProperty interface { // 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) @@ -1789,30 +1677,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) @@ -1824,6 +1688,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go index 500d43832..f18df4448 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_anyOf_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsAnyOfPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsAnyOfPropertyIterator interface { // 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 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) @@ -1031,6 +951,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. @@ -1275,30 +1199,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. @@ -1311,6 +1211,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. @@ -1509,25 +1413,6 @@ 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) @@ -1537,6 +1422,9 @@ type ActivityStreamsAnyOfProperty interface { // 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) @@ -1770,30 +1658,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) @@ -1805,6 +1669,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go index 013ff4c3e..2e0db9e94 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attachment_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsAttachmentPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsAttachmentPropertyIterator interface { // 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) @@ -991,30 +935,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) @@ -1026,6 +946,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. @@ -1275,31 +1199,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. @@ -1313,6 +1212,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. @@ -1516,25 +1419,6 @@ 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) @@ -1544,6 +1428,9 @@ type ActivityStreamsAttachmentProperty interface { // 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) @@ -1777,30 +1664,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) @@ -1812,6 +1675,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go index 5aadf8a15..c94d802a7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_attributedTo_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsAttributedToPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsAttributedToPropertyIterator interface { // 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) @@ -1007,30 +951,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) @@ -1042,6 +962,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. @@ -1291,31 +1215,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. @@ -1329,6 +1228,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. @@ -1532,25 +1435,6 @@ 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) @@ -1560,6 +1444,9 @@ type ActivityStreamsAttributedToProperty interface { // 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) @@ -1793,30 +1680,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) @@ -1828,6 +1691,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go index 2016ef6b0..00adde1c5 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_audience_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsAudiencePropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsAudiencePropertyIterator interface { // 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) @@ -991,30 +935,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) @@ -1026,6 +946,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. @@ -1275,31 +1199,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. @@ -1313,6 +1212,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. @@ -1515,25 +1418,6 @@ 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) @@ -1543,6 +1427,9 @@ type ActivityStreamsAudienceProperty interface { // 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) @@ -1776,30 +1663,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) @@ -1811,6 +1674,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go index baa883bec..b042dabe9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bcc_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsBccPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsBccPropertyIterator interface { // 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) @@ -989,30 +933,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) @@ -1024,6 +944,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. @@ -1265,30 +1189,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. @@ -1301,6 +1201,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. @@ -1499,25 +1403,6 @@ 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) @@ -1527,6 +1412,9 @@ type ActivityStreamsBccProperty interface { // 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) @@ -1760,30 +1648,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) @@ -1795,6 +1659,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go index bb58d069a..61d4fffa9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_bto_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsBtoPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsBtoPropertyIterator interface { // 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) @@ -989,30 +933,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) @@ -1024,6 +944,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. @@ -1265,30 +1189,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. @@ -1301,6 +1201,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. @@ -1499,25 +1403,6 @@ 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) @@ -1527,6 +1412,9 @@ type ActivityStreamsBtoProperty interface { // 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) @@ -1760,30 +1648,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) @@ -1795,6 +1659,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go index 588b2390e..865092be3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_cc_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsCcPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsCcPropertyIterator interface { // 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) @@ -989,29 +933,6 @@ 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) @@ -1022,6 +943,9 @@ type ActivityStreamsCcProperty interface { // 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. @@ -1263,30 +1187,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. @@ -1299,6 +1199,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. @@ -1496,24 +1400,6 @@ 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) @@ -1523,6 +1409,9 @@ type ActivityStreamsCcProperty interface { // 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) @@ -1756,30 +1645,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) @@ -1791,6 +1656,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go index b5b7964ff..624677cb1 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_closed_interface.go @@ -228,29 +228,6 @@ 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 @@ -261,6 +238,9 @@ type ActivityStreamsClosedPropertyIterator interface { // 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. @@ -511,31 +491,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 @@ -547,6 +502,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. @@ -744,24 +703,6 @@ 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) @@ -771,6 +712,9 @@ type ActivityStreamsClosedPropertyIterator interface { // 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) @@ -1010,30 +954,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) @@ -1045,6 +965,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. @@ -1297,30 +1221,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. @@ -1333,6 +1233,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. @@ -1539,25 +1443,6 @@ 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) @@ -1567,6 +1452,9 @@ type ActivityStreamsClosedProperty interface { // 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) @@ -1806,30 +1694,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) @@ -1841,6 +1705,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go index 164aae962..f72786b63 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_context_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsContextPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsContextPropertyIterator interface { // 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 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) @@ -1038,6 +958,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. @@ -1282,30 +1206,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. @@ -1318,6 +1218,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. @@ -1520,25 +1424,6 @@ 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) @@ -1548,6 +1433,9 @@ type ActivityStreamsContextProperty interface { // 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) @@ -1781,30 +1669,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) @@ -1816,6 +1680,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go index f866e5b4e..d76ffad08 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_current_interface.go @@ -60,6 +60,9 @@ type ActivityStreamsCurrentProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -89,6 +92,10 @@ type ActivityStreamsCurrentProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -127,6 +134,9 @@ type ActivityStreamsCurrentProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go index e07bf2cee..281d5b0d0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_describes_interface.go @@ -231,29 +231,6 @@ 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 @@ -498,31 +475,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 @@ -718,24 +670,6 @@ 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) diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go index 4c5ddc1c8..8f01a576c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_first_interface.go @@ -50,6 +50,9 @@ type ActivityStreamsFirstProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -79,6 +82,10 @@ type ActivityStreamsFirstProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -117,6 +124,9 @@ type ActivityStreamsFirstProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go index c1d93587a..472c470bf 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_formerType_interface.go @@ -217,29 +217,6 @@ 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 @@ -488,31 +465,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 @@ -711,24 +663,6 @@ 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) @@ -968,30 +902,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) @@ -1248,31 +1158,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. @@ -1487,25 +1372,6 @@ 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) @@ -1743,30 +1609,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) diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go index 3b421df70..72f7e4cab 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_generator_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsGeneratorPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsGeneratorPropertyIterator interface { // 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) @@ -989,30 +933,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) @@ -1024,6 +944,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. @@ -1273,31 +1197,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. @@ -1311,6 +1210,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. @@ -1514,25 +1417,6 @@ 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) @@ -1542,6 +1426,9 @@ type ActivityStreamsGeneratorProperty interface { // 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) @@ -1775,30 +1662,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) @@ -1810,6 +1673,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go index ea1dc73cb..22047557d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_icon_interface.go @@ -22,6 +22,9 @@ type ActivityStreamsIconPropertyIterator interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -43,6 +46,10 @@ type ActivityStreamsIconPropertyIterator interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -76,6 +83,9 @@ type ActivityStreamsIconPropertyIterator interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error @@ -137,6 +147,10 @@ type ActivityStreamsIconProperty interface { // AppendIRI appends an IRI value to the back of a list of the property // "icon" AppendIRI(v *url.URL) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "icon". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "icon". Invalidates iterators that are traversing // using Prev. Returns an error if the type is not a valid one to set @@ -171,6 +185,10 @@ type ActivityStreamsIconProperty interface { // "icon". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. InsertIRI(idx int, v *url.URL) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "icon". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "icon". Invalidates all iterators. Returns an error if // the type is not a valid one to set for this property. @@ -209,6 +227,9 @@ type ActivityStreamsIconProperty interface { // PrependIRI prepends an IRI value to the front of a list of the property // "icon". PrependIRI(v *url.URL) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "icon". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "icon". Invalidates all iterators. Returns an error if // the type is not a valid one to set for this property. @@ -238,6 +259,10 @@ type ActivityStreamsIconProperty interface { // SetIRI sets an IRI value to be at the specified index for the property // "icon". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "icon". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetType sets an arbitrary type value to the specified index of the // property "icon". Invalidates all iterators. Returns an error if the // type is not a valid one to set for this property. Panics if the diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go index 3605d6d29..a9f281518 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_image_interface.go @@ -22,6 +22,9 @@ type ActivityStreamsImagePropertyIterator interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -43,6 +46,10 @@ type ActivityStreamsImagePropertyIterator interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -76,6 +83,9 @@ type ActivityStreamsImagePropertyIterator interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error @@ -130,6 +140,10 @@ type ActivityStreamsImageProperty interface { // AppendIRI appends an IRI value to the back of a list of the property // "image" AppendIRI(v *url.URL) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "image". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "image". Invalidates iterators that are traversing // using Prev. Returns an error if the type is not a valid one to set @@ -164,6 +178,10 @@ type ActivityStreamsImageProperty interface { // "image". Existing elements at that index and higher are shifted // back once. Invalidates all iterators. InsertIRI(idx int, v *url.URL) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "image". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "image". Invalidates all iterators. Returns an error // if the type is not a valid one to set for this property. @@ -202,6 +220,9 @@ type ActivityStreamsImageProperty interface { // PrependIRI prepends an IRI value to the front of a list of the property // "image". PrependIRI(v *url.URL) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "image". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "image". Invalidates all iterators. Returns an error // if the type is not a valid one to set for this property. @@ -231,6 +252,10 @@ type ActivityStreamsImageProperty interface { // SetIRI sets an IRI value to be at the specified index for the property // "image". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "image". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetType sets an arbitrary type value to the specified index of the // property "image". Invalidates all iterators. Returns an error if // the type is not a valid one to set for this property. Panics if the diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go index 942f304f6..fb1475a4d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_inReplyTo_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsInReplyToPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsInReplyToPropertyIterator interface { // 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) @@ -998,30 +942,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) @@ -1033,6 +953,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. @@ -1282,31 +1206,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. @@ -1320,6 +1219,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. @@ -1523,25 +1426,6 @@ 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) @@ -1551,6 +1435,9 @@ type ActivityStreamsInReplyToProperty interface { // 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) @@ -1784,30 +1671,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) @@ -1819,6 +1682,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go index c8d5a27a7..93595afb2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_instrument_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsInstrumentPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsInstrumentPropertyIterator interface { // 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) @@ -995,30 +939,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) @@ -1030,6 +950,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. @@ -1279,31 +1203,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. @@ -1317,6 +1216,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. @@ -1520,25 +1423,6 @@ 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) @@ -1548,6 +1432,9 @@ type ActivityStreamsInstrumentProperty interface { // 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) @@ -1781,30 +1668,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) @@ -1816,6 +1679,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go index 1d1187151..abd2f0a35 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_items_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsItemsPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsItemsPropertyIterator interface { // 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 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) @@ -1031,6 +951,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. @@ -1275,30 +1199,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. @@ -1311,6 +1211,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. @@ -1509,25 +1413,6 @@ 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) @@ -1537,6 +1422,9 @@ type ActivityStreamsItemsProperty interface { // 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) @@ -1770,30 +1658,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) @@ -1805,6 +1669,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go index 4a5806fc8..c0c48f0be 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_last_interface.go @@ -49,6 +49,9 @@ type ActivityStreamsLastProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -78,6 +81,10 @@ type ActivityStreamsLastProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -116,6 +123,9 @@ type ActivityStreamsLastProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go index 9b10c82d8..c3f9abf87 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_location_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsLocationPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsLocationPropertyIterator interface { // 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) @@ -993,30 +937,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) @@ -1028,6 +948,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. @@ -1277,31 +1201,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. @@ -1315,6 +1214,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. @@ -1517,25 +1420,6 @@ 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) @@ -1545,6 +1429,9 @@ type ActivityStreamsLocationProperty interface { // 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) @@ -1778,30 +1665,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) @@ -1813,6 +1676,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go index 82bd7925c..0683d5946 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_next_interface.go @@ -57,6 +57,9 @@ type ActivityStreamsNextProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -86,6 +89,10 @@ type ActivityStreamsNextProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -124,6 +131,9 @@ type ActivityStreamsNextProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go index 663219b44..df4345528 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_object_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsObjectPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsObjectPropertyIterator interface { // 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) @@ -1014,30 +958,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) @@ -1049,6 +969,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. @@ -1293,30 +1217,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. @@ -1329,6 +1229,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. @@ -1527,25 +1431,6 @@ 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) @@ -1555,6 +1440,9 @@ type ActivityStreamsObjectProperty interface { // 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) @@ -1788,30 +1676,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) @@ -1823,6 +1687,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go index 36bb96684..a6c92096a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_oneOf_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsOneOfPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsOneOfPropertyIterator interface { // 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 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) @@ -1031,6 +951,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. @@ -1275,30 +1199,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. @@ -1311,6 +1211,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. @@ -1509,25 +1413,6 @@ 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) @@ -1537,6 +1422,9 @@ type ActivityStreamsOneOfProperty interface { // 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) @@ -1770,30 +1658,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) @@ -1805,6 +1669,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go index 928bfe3b9..e352b3bf2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_orderedItems_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsOrderedItemsPropertyIterator interface { // 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) @@ -997,30 +941,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) @@ -1032,6 +952,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. @@ -1281,31 +1205,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. @@ -1319,6 +1218,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. @@ -1522,25 +1425,6 @@ 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) @@ -1550,6 +1434,9 @@ type ActivityStreamsOrderedItemsProperty interface { // 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) @@ -1783,30 +1670,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) @@ -1818,6 +1681,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go index 8e4d31ba7..b5b598e8b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_origin_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsOriginPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsOriginPropertyIterator interface { // 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) @@ -997,30 +941,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) @@ -1032,6 +952,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. @@ -1276,30 +1200,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. @@ -1312,6 +1212,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. @@ -1510,25 +1414,6 @@ 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) @@ -1538,6 +1423,9 @@ type ActivityStreamsOriginProperty interface { // 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) @@ -1771,30 +1659,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) @@ -1806,6 +1670,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go index 0da6db8e5..952a5e7e2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_partOf_interface.go @@ -55,6 +55,9 @@ type ActivityStreamsPartOfProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -95,6 +98,10 @@ type ActivityStreamsPartOfProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -139,6 +146,9 @@ type ActivityStreamsPartOfProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go index b7b4567e8..06232a49e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_prev_interface.go @@ -57,6 +57,9 @@ type ActivityStreamsPrevProperty interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -86,6 +89,10 @@ type ActivityStreamsPrevProperty interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // 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 @@ -124,6 +131,9 @@ type ActivityStreamsPrevProperty interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go index f314a7736..0dc2d2ee2 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_preview_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsPreviewPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsPreviewPropertyIterator interface { // 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) @@ -994,30 +938,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) @@ -1029,6 +949,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. @@ -1273,30 +1197,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. @@ -1309,6 +1209,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. @@ -1511,25 +1415,6 @@ 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) @@ -1539,6 +1424,9 @@ type ActivityStreamsPreviewProperty interface { // 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) @@ -1772,30 +1660,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) @@ -1807,6 +1671,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go index ff545174c..fc325a05b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_relationship_interface.go @@ -217,29 +217,6 @@ 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 @@ -484,31 +461,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 @@ -703,24 +655,6 @@ 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) @@ -966,30 +900,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) @@ -1242,31 +1152,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. @@ -1477,25 +1362,6 @@ 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) @@ -1730,30 +1596,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) diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go index 864dd90af..1686f1852 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_result_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsResultPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsResultPropertyIterator interface { // 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) @@ -995,30 +939,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) @@ -1030,6 +950,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. @@ -1274,30 +1198,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. @@ -1310,6 +1210,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. @@ -1508,25 +1412,6 @@ 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) @@ -1536,6 +1421,9 @@ type ActivityStreamsResultProperty interface { // 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) @@ -1769,30 +1657,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) @@ -1804,6 +1668,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go index 4aad0ba07..1bafb7a3b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_source_interface.go @@ -247,29 +247,6 @@ 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 @@ -280,6 +257,9 @@ type ActivityStreamsSourceProperty interface { // 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. @@ -522,31 +502,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 @@ -558,6 +513,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. @@ -748,24 +707,6 @@ 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) @@ -775,6 +716,9 @@ type ActivityStreamsSourceProperty interface { // 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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go index 3e7e806a4..6cce7ced0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_subject_interface.go @@ -244,29 +244,6 @@ 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 @@ -277,6 +254,9 @@ type ActivityStreamsSubjectProperty interface { // 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. @@ -519,31 +499,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 @@ -555,6 +510,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. @@ -745,24 +704,6 @@ 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) @@ -772,6 +713,9 @@ type ActivityStreamsSubjectProperty interface { // 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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go index e41fe6869..0ce128df0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_tag_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsTagPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsTagPropertyIterator interface { // 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) @@ -993,30 +937,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) @@ -1028,6 +948,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. @@ -1269,30 +1193,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. @@ -1305,6 +1205,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. @@ -1503,25 +1407,6 @@ 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) @@ -1531,6 +1416,9 @@ type ActivityStreamsTagProperty interface { // 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) @@ -1764,30 +1652,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) @@ -1799,6 +1663,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go index 9cf387cf8..7641255a6 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_target_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsTargetPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsTargetPropertyIterator interface { // 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 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) @@ -1038,6 +958,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. @@ -1282,30 +1206,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. @@ -1318,6 +1218,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. @@ -1516,25 +1420,6 @@ 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) @@ -1544,6 +1429,9 @@ type ActivityStreamsTargetProperty interface { // 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) @@ -1777,30 +1665,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) @@ -1812,6 +1676,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go index c8681805b..94e9fbdeb 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_to_interface.go @@ -225,29 +225,6 @@ 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 @@ -258,6 +235,9 @@ type ActivityStreamsToPropertyIterator interface { // 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. @@ -500,31 +480,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 @@ -536,6 +491,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. @@ -725,24 +684,6 @@ 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) @@ -752,6 +693,9 @@ type ActivityStreamsToPropertyIterator interface { // 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) @@ -989,29 +933,6 @@ 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) @@ -1022,6 +943,9 @@ type ActivityStreamsToProperty interface { // 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. @@ -1263,30 +1187,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. @@ -1299,6 +1199,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. @@ -1496,24 +1400,6 @@ 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) @@ -1523,6 +1409,9 @@ type ActivityStreamsToProperty interface { // 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) @@ -1756,30 +1645,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) @@ -1791,6 +1656,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go index e54dc09d8..ae93520f9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_activitystreams_url_interface.go @@ -18,6 +18,9 @@ type ActivityStreamsUrlPropertyIterator interface { // GetIRI returns the IRI of this property. When IsIRI returns false, // GetIRI will return an arbitrary value. GetIRI() *url.URL + // GetTootHashtag returns the value of this property. When IsTootHashtag + // returns false, GetTootHashtag will return an arbitrary value. + GetTootHashtag() TootHashtag // GetType returns the value in this property as a Type. Returns nil if // the value is not an ActivityStreams type, such as an IRI or another // value. @@ -39,6 +42,10 @@ type ActivityStreamsUrlPropertyIterator interface { // IsIRI returns true if this property is an IRI. When true, use GetIRI // and SetIRI to access and set this property IsIRI() 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 // IsXMLSchemaAnyURI returns true if this property has a type of "anyURI". // When true, use the GetXMLSchemaAnyURI and SetXMLSchemaAnyURI // methods to access and set this property. @@ -73,6 +80,9 @@ type ActivityStreamsUrlPropertyIterator interface { // SetIRI sets the value of this property. Calling IsIRI afterwards // returns true. SetIRI(v *url.URL) + // SetTootHashtag sets the value of this property. Calling IsTootHashtag + // afterwards returns true. + SetTootHashtag(v TootHashtag) // SetType attempts to set the property for the arbitrary type. Returns an // error if it is not a valid type to set on this property. SetType(t Type) error @@ -129,6 +139,10 @@ type ActivityStreamsUrlProperty interface { // AppendIRI appends an IRI value to the back of a list of the property // "url" AppendIRI(v *url.URL) + // AppendTootHashtag appends a Hashtag value to the back of a list of the + // property "url". Invalidates iterators that are traversing using + // Prev. + AppendTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "url". Invalidates iterators that are traversing using // Prev. Returns an error if the type is not a valid one to set for @@ -163,6 +177,10 @@ type ActivityStreamsUrlProperty interface { // "url". Existing elements at that index and higher are shifted back // once. Invalidates all iterators. InsertIRI(idx int, v *url.URL) + // InsertTootHashtag inserts a Hashtag value at the specified index for a + // property "url". Existing elements at that index and higher are + // shifted back once. Invalidates all iterators. + InsertTootHashtag(idx int, v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "url". Invalidates all iterators. Returns an error if // the type is not a valid one to set for this property. @@ -202,6 +220,9 @@ type ActivityStreamsUrlProperty interface { // PrependIRI prepends an IRI value to the front of a list of the property // "url". PrependIRI(v *url.URL) + // PrependTootHashtag prepends a Hashtag value to the front of a list of + // the property "url". Invalidates all iterators. + PrependTootHashtag(v TootHashtag) // PrependType prepends an arbitrary type value to the front of a list of // the property "url". Invalidates all iterators. Returns an error if // the type is not a valid one to set for this property. @@ -230,6 +251,10 @@ type ActivityStreamsUrlProperty interface { // SetIRI sets an IRI value to be at the specified index for the property // "url". Panics if the index is out of bounds. SetIRI(idx int, v *url.URL) + // SetTootHashtag sets a Hashtag value to be at the specified index for + // the property "url". Panics if the index is out of bounds. + // Invalidates all iterators. + SetTootHashtag(idx int, v TootHashtag) // SetType sets an arbitrary type value to the specified index of the // property "url". Invalidates all iterators. Returns an error if the // type is not a valid one to set for this property. Panics if the diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_assignedTo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_assignedTo_interface.go deleted file mode 100644 index b3076aa7a..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_assignedTo_interface.go +++ /dev/null @@ -1,60 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies the Person assigned to work on this Ticket. -type ForgeFedAssignedToProperty interface { - // Clear ensures no value of this property is set. Calling - // IsActivityStreamsPerson afterwards will return false. - Clear() - // Get returns the value of this property. When IsActivityStreamsPerson - // returns false, Get will return any arbitrary value. - Get() ActivityStreamsPerson - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsActivityStreamsPerson returns true if this property is set and not an - // IRI. - IsActivityStreamsPerson() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedAssignedToProperty) bool - // Name returns the name of this property: "assignedTo". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets the value of this property. Calling IsActivityStreamsPerson - // afterwards will return true. - Set(v ActivityStreamsPerson) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committedBy_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committedBy_interface.go deleted file mode 100644 index daba6d959..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committedBy_interface.go +++ /dev/null @@ -1,749 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies the actor (usually a person, but could be something else, e.g. a -// bot) that added a set of changes to the version-control Repository. -// Sometimes the author of the changes and the committer of those changes -// aren’t the same actor, in which case the committedBy property can be used -// to specify who added the changes to the repository. For example, when -// applying a patch to a repository, e.g. a Git repository, the author would -// be the person who made the patch, and the committer would be the person who -// applied the patch to their copy of the repository. -type ForgeFedCommittedByProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsAccept returns the value of this property. When - // IsActivityStreamsAccept returns false, GetActivityStreamsAccept - // will return an arbitrary value. - GetActivityStreamsAccept() ActivityStreamsAccept - // GetActivityStreamsActivity returns the value of this property. When - // IsActivityStreamsActivity returns false, GetActivityStreamsActivity - // will return an arbitrary value. - GetActivityStreamsActivity() ActivityStreamsActivity - // GetActivityStreamsAdd returns the value of this property. When - // IsActivityStreamsAdd returns false, GetActivityStreamsAdd will - // return an arbitrary value. - GetActivityStreamsAdd() ActivityStreamsAdd - // GetActivityStreamsAnnounce returns the value of this property. When - // IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce - // will return an arbitrary value. - GetActivityStreamsAnnounce() ActivityStreamsAnnounce - // GetActivityStreamsApplication returns the value of this property. When - // IsActivityStreamsApplication returns false, - // GetActivityStreamsApplication will return an arbitrary value. - GetActivityStreamsApplication() ActivityStreamsApplication - // GetActivityStreamsArrive returns the value of this property. When - // IsActivityStreamsArrive returns false, GetActivityStreamsArrive - // will return an arbitrary value. - GetActivityStreamsArrive() ActivityStreamsArrive - // GetActivityStreamsArticle returns the value of this property. When - // IsActivityStreamsArticle returns false, GetActivityStreamsArticle - // will return an arbitrary value. - GetActivityStreamsArticle() ActivityStreamsArticle - // GetActivityStreamsAudio returns the value of this property. When - // IsActivityStreamsAudio returns false, GetActivityStreamsAudio will - // return an arbitrary value. - GetActivityStreamsAudio() ActivityStreamsAudio - // GetActivityStreamsBlock returns the value of this property. When - // IsActivityStreamsBlock returns false, GetActivityStreamsBlock will - // return an arbitrary value. - GetActivityStreamsBlock() ActivityStreamsBlock - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsCreate returns the value of this property. When - // IsActivityStreamsCreate returns false, GetActivityStreamsCreate - // will return an arbitrary value. - GetActivityStreamsCreate() ActivityStreamsCreate - // GetActivityStreamsDelete returns the value of this property. When - // IsActivityStreamsDelete returns false, GetActivityStreamsDelete - // will return an arbitrary value. - GetActivityStreamsDelete() ActivityStreamsDelete - // GetActivityStreamsDislike returns the value of this property. When - // IsActivityStreamsDislike returns false, GetActivityStreamsDislike - // will return an arbitrary value. - GetActivityStreamsDislike() ActivityStreamsDislike - // GetActivityStreamsDocument returns the value of this property. When - // IsActivityStreamsDocument returns false, GetActivityStreamsDocument - // will return an arbitrary value. - GetActivityStreamsDocument() ActivityStreamsDocument - // GetActivityStreamsEvent returns the value of this property. When - // IsActivityStreamsEvent returns false, GetActivityStreamsEvent will - // return an arbitrary value. - GetActivityStreamsEvent() ActivityStreamsEvent - // GetActivityStreamsFlag returns the value of this property. When - // IsActivityStreamsFlag returns false, GetActivityStreamsFlag will - // return an arbitrary value. - GetActivityStreamsFlag() ActivityStreamsFlag - // GetActivityStreamsFollow returns the value of this property. When - // IsActivityStreamsFollow returns false, GetActivityStreamsFollow - // will return an arbitrary value. - GetActivityStreamsFollow() ActivityStreamsFollow - // GetActivityStreamsGroup returns the value of this property. When - // IsActivityStreamsGroup returns false, GetActivityStreamsGroup will - // return an arbitrary value. - GetActivityStreamsGroup() ActivityStreamsGroup - // GetActivityStreamsIgnore returns the value of this property. When - // IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore - // will return an arbitrary value. - GetActivityStreamsIgnore() ActivityStreamsIgnore - // GetActivityStreamsImage returns the value of this property. When - // IsActivityStreamsImage returns false, GetActivityStreamsImage will - // return an arbitrary value. - GetActivityStreamsImage() ActivityStreamsImage - // GetActivityStreamsIntransitiveActivity returns the value of this - // property. When IsActivityStreamsIntransitiveActivity returns false, - // GetActivityStreamsIntransitiveActivity will return an arbitrary - // value. - GetActivityStreamsIntransitiveActivity() ActivityStreamsIntransitiveActivity - // GetActivityStreamsInvite returns the value of this property. When - // IsActivityStreamsInvite returns false, GetActivityStreamsInvite - // will return an arbitrary value. - GetActivityStreamsInvite() ActivityStreamsInvite - // GetActivityStreamsJoin returns the value of this property. When - // IsActivityStreamsJoin returns false, GetActivityStreamsJoin will - // return an arbitrary value. - GetActivityStreamsJoin() ActivityStreamsJoin - // GetActivityStreamsLeave returns the value of this property. When - // IsActivityStreamsLeave returns false, GetActivityStreamsLeave will - // return an arbitrary value. - GetActivityStreamsLeave() ActivityStreamsLeave - // GetActivityStreamsLike returns the value of this property. When - // IsActivityStreamsLike returns false, GetActivityStreamsLike will - // return an arbitrary value. - GetActivityStreamsLike() ActivityStreamsLike - // GetActivityStreamsListen returns the value of this property. When - // IsActivityStreamsListen returns false, GetActivityStreamsListen - // will return an arbitrary value. - GetActivityStreamsListen() ActivityStreamsListen - // GetActivityStreamsMove returns the value of this property. When - // IsActivityStreamsMove returns false, GetActivityStreamsMove will - // return an arbitrary value. - GetActivityStreamsMove() ActivityStreamsMove - // GetActivityStreamsNote returns the value of this property. When - // IsActivityStreamsNote returns false, GetActivityStreamsNote will - // return an arbitrary value. - GetActivityStreamsNote() ActivityStreamsNote - // GetActivityStreamsObject returns the value of this property. When - // IsActivityStreamsObject returns false, GetActivityStreamsObject - // will return an arbitrary value. - GetActivityStreamsObject() ActivityStreamsObject - // GetActivityStreamsOffer returns the value of this property. When - // IsActivityStreamsOffer returns false, GetActivityStreamsOffer will - // return an arbitrary value. - GetActivityStreamsOffer() ActivityStreamsOffer - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetActivityStreamsOrganization returns the value of this property. When - // IsActivityStreamsOrganization returns false, - // GetActivityStreamsOrganization will return an arbitrary value. - GetActivityStreamsOrganization() ActivityStreamsOrganization - // GetActivityStreamsPage returns the value of this property. When - // IsActivityStreamsPage returns false, GetActivityStreamsPage will - // return an arbitrary value. - GetActivityStreamsPage() ActivityStreamsPage - // GetActivityStreamsPerson returns the value of this property. When - // IsActivityStreamsPerson returns false, GetActivityStreamsPerson - // will return an arbitrary value. - GetActivityStreamsPerson() ActivityStreamsPerson - // GetActivityStreamsPlace returns the value of this property. When - // IsActivityStreamsPlace returns false, GetActivityStreamsPlace will - // return an arbitrary value. - GetActivityStreamsPlace() ActivityStreamsPlace - // GetActivityStreamsProfile returns the value of this property. When - // IsActivityStreamsProfile returns false, GetActivityStreamsProfile - // will return an arbitrary value. - GetActivityStreamsProfile() ActivityStreamsProfile - // GetActivityStreamsQuestion returns the value of this property. When - // IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion - // will return an arbitrary value. - GetActivityStreamsQuestion() ActivityStreamsQuestion - // GetActivityStreamsRead returns the value of this property. When - // IsActivityStreamsRead returns false, GetActivityStreamsRead will - // return an arbitrary value. - GetActivityStreamsRead() ActivityStreamsRead - // GetActivityStreamsReject returns the value of this property. When - // IsActivityStreamsReject returns false, GetActivityStreamsReject - // will return an arbitrary value. - GetActivityStreamsReject() ActivityStreamsReject - // GetActivityStreamsRelationship returns the value of this property. When - // IsActivityStreamsRelationship returns false, - // GetActivityStreamsRelationship will return an arbitrary value. - GetActivityStreamsRelationship() ActivityStreamsRelationship - // GetActivityStreamsRemove returns the value of this property. When - // IsActivityStreamsRemove returns false, GetActivityStreamsRemove - // will return an arbitrary value. - GetActivityStreamsRemove() ActivityStreamsRemove - // GetActivityStreamsService returns the value of this property. When - // IsActivityStreamsService returns false, GetActivityStreamsService - // will return an arbitrary value. - GetActivityStreamsService() ActivityStreamsService - // GetActivityStreamsTentativeAccept returns the value of this property. - // When IsActivityStreamsTentativeAccept returns false, - // GetActivityStreamsTentativeAccept will return an arbitrary value. - GetActivityStreamsTentativeAccept() ActivityStreamsTentativeAccept - // GetActivityStreamsTentativeReject returns the value of this property. - // When IsActivityStreamsTentativeReject returns false, - // GetActivityStreamsTentativeReject will return an arbitrary value. - GetActivityStreamsTentativeReject() ActivityStreamsTentativeReject - // GetActivityStreamsTombstone returns the value of this property. When - // IsActivityStreamsTombstone returns false, - // GetActivityStreamsTombstone will return an arbitrary value. - GetActivityStreamsTombstone() ActivityStreamsTombstone - // GetActivityStreamsTravel returns the value of this property. When - // IsActivityStreamsTravel returns false, GetActivityStreamsTravel - // will return an arbitrary value. - GetActivityStreamsTravel() ActivityStreamsTravel - // GetActivityStreamsUndo returns the value of this property. When - // IsActivityStreamsUndo returns false, GetActivityStreamsUndo will - // return an arbitrary value. - GetActivityStreamsUndo() ActivityStreamsUndo - // GetActivityStreamsUpdate returns the value of this property. When - // IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate - // will return an arbitrary value. - GetActivityStreamsUpdate() ActivityStreamsUpdate - // GetActivityStreamsVideo returns the value of this property. When - // IsActivityStreamsVideo returns false, GetActivityStreamsVideo will - // return an arbitrary value. - GetActivityStreamsVideo() ActivityStreamsVideo - // GetActivityStreamsView returns the value of this property. When - // 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 - // GetSchemaPropertyValue returns the value of this property. When - // IsSchemaPropertyValue returns false, GetSchemaPropertyValue will - // return an arbitrary value. - GetSchemaPropertyValue() SchemaPropertyValue - // GetTootEmoji returns the value of this property. When IsTootEmoji - // returns false, GetTootEmoji will return an arbitrary value. - GetTootEmoji() TootEmoji - // GetTootIdentityProof returns the value of this property. When - // IsTootIdentityProof returns false, GetTootIdentityProof will return - // an arbitrary value. - GetTootIdentityProof() TootIdentityProof - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsAccept returns true if this property has a type of - // "Accept". When true, use the GetActivityStreamsAccept and - // SetActivityStreamsAccept methods to access and set this property. - IsActivityStreamsAccept() bool - // IsActivityStreamsActivity returns true if this property has a type of - // "Activity". When true, use the GetActivityStreamsActivity and - // SetActivityStreamsActivity methods to access and set this property. - IsActivityStreamsActivity() bool - // IsActivityStreamsAdd returns true if this property has a type of "Add". - // When true, use the GetActivityStreamsAdd and SetActivityStreamsAdd - // methods to access and set this property. - IsActivityStreamsAdd() bool - // IsActivityStreamsAnnounce returns true if this property has a type of - // "Announce". When true, use the GetActivityStreamsAnnounce and - // SetActivityStreamsAnnounce methods to access and set this property. - IsActivityStreamsAnnounce() bool - // IsActivityStreamsApplication returns true if this property has a type - // of "Application". When true, use the GetActivityStreamsApplication - // and SetActivityStreamsApplication methods to access and set this - // property. - IsActivityStreamsApplication() bool - // IsActivityStreamsArrive returns true if this property has a type of - // "Arrive". When true, use the GetActivityStreamsArrive and - // SetActivityStreamsArrive methods to access and set this property. - IsActivityStreamsArrive() bool - // IsActivityStreamsArticle returns true if this property has a type of - // "Article". When true, use the GetActivityStreamsArticle and - // SetActivityStreamsArticle methods to access and set this property. - IsActivityStreamsArticle() bool - // IsActivityStreamsAudio returns true if this property has a type of - // "Audio". When true, use the GetActivityStreamsAudio and - // SetActivityStreamsAudio methods to access and set this property. - IsActivityStreamsAudio() bool - // IsActivityStreamsBlock returns true if this property has a type of - // "Block". When true, use the GetActivityStreamsBlock and - // SetActivityStreamsBlock methods to access and set this property. - IsActivityStreamsBlock() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsCreate returns true if this property has a type of - // "Create". When true, use the GetActivityStreamsCreate and - // SetActivityStreamsCreate methods to access and set this property. - IsActivityStreamsCreate() bool - // IsActivityStreamsDelete returns true if this property has a type of - // "Delete". When true, use the GetActivityStreamsDelete and - // SetActivityStreamsDelete methods to access and set this property. - IsActivityStreamsDelete() bool - // IsActivityStreamsDislike returns true if this property has a type of - // "Dislike". When true, use the GetActivityStreamsDislike and - // SetActivityStreamsDislike methods to access and set this property. - IsActivityStreamsDislike() bool - // IsActivityStreamsDocument returns true if this property has a type of - // "Document". When true, use the GetActivityStreamsDocument and - // SetActivityStreamsDocument methods to access and set this property. - IsActivityStreamsDocument() bool - // IsActivityStreamsEvent returns true if this property has a type of - // "Event". When true, use the GetActivityStreamsEvent and - // SetActivityStreamsEvent methods to access and set this property. - IsActivityStreamsEvent() bool - // IsActivityStreamsFlag returns true if this property has a type of - // "Flag". When true, use the GetActivityStreamsFlag and - // SetActivityStreamsFlag methods to access and set this property. - IsActivityStreamsFlag() bool - // IsActivityStreamsFollow returns true if this property has a type of - // "Follow". When true, use the GetActivityStreamsFollow and - // SetActivityStreamsFollow methods to access and set this property. - IsActivityStreamsFollow() bool - // IsActivityStreamsGroup returns true if this property has a type of - // "Group". When true, use the GetActivityStreamsGroup and - // SetActivityStreamsGroup methods to access and set this property. - IsActivityStreamsGroup() bool - // IsActivityStreamsIgnore returns true if this property has a type of - // "Ignore". When true, use the GetActivityStreamsIgnore and - // SetActivityStreamsIgnore methods to access and set this property. - IsActivityStreamsIgnore() bool - // IsActivityStreamsImage returns true if this property has a type of - // "Image". When true, use the GetActivityStreamsImage and - // SetActivityStreamsImage methods to access and set this property. - IsActivityStreamsImage() bool - // IsActivityStreamsIntransitiveActivity returns true if this property has - // a type of "IntransitiveActivity". When true, use the - // GetActivityStreamsIntransitiveActivity and - // SetActivityStreamsIntransitiveActivity methods to access and set - // this property. - IsActivityStreamsIntransitiveActivity() bool - // IsActivityStreamsInvite returns true if this property has a type of - // "Invite". When true, use the GetActivityStreamsInvite and - // SetActivityStreamsInvite methods to access and set this property. - IsActivityStreamsInvite() bool - // IsActivityStreamsJoin returns true if this property has a type of - // "Join". When true, use the GetActivityStreamsJoin and - // SetActivityStreamsJoin methods to access and set this property. - IsActivityStreamsJoin() bool - // IsActivityStreamsLeave returns true if this property has a type of - // "Leave". When true, use the GetActivityStreamsLeave and - // SetActivityStreamsLeave methods to access and set this property. - IsActivityStreamsLeave() bool - // IsActivityStreamsLike returns true if this property has a type of - // "Like". When true, use the GetActivityStreamsLike and - // SetActivityStreamsLike methods to access and set this property. - IsActivityStreamsLike() bool - // IsActivityStreamsListen returns true if this property has a type of - // "Listen". When true, use the GetActivityStreamsListen and - // SetActivityStreamsListen methods to access and set this property. - IsActivityStreamsListen() bool - // IsActivityStreamsMove returns true if this property has a type of - // "Move". When true, use the GetActivityStreamsMove and - // SetActivityStreamsMove methods to access and set this property. - IsActivityStreamsMove() bool - // IsActivityStreamsNote returns true if this property has a type of - // "Note". When true, use the GetActivityStreamsNote and - // SetActivityStreamsNote methods to access and set this property. - IsActivityStreamsNote() bool - // IsActivityStreamsObject returns true if this property has a type of - // "Object". When true, use the GetActivityStreamsObject and - // SetActivityStreamsObject methods to access and set this property. - IsActivityStreamsObject() bool - // IsActivityStreamsOffer returns true if this property has a type of - // "Offer". When true, use the GetActivityStreamsOffer and - // SetActivityStreamsOffer methods to access and set this property. - IsActivityStreamsOffer() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsActivityStreamsOrganization returns true if this property has a type - // of "Organization". When true, use the - // GetActivityStreamsOrganization and SetActivityStreamsOrganization - // methods to access and set this property. - IsActivityStreamsOrganization() bool - // IsActivityStreamsPage returns true if this property has a type of - // "Page". When true, use the GetActivityStreamsPage and - // SetActivityStreamsPage methods to access and set this property. - IsActivityStreamsPage() bool - // IsActivityStreamsPerson returns true if this property has a type of - // "Person". When true, use the GetActivityStreamsPerson and - // SetActivityStreamsPerson methods to access and set this property. - IsActivityStreamsPerson() bool - // IsActivityStreamsPlace returns true if this property has a type of - // "Place". When true, use the GetActivityStreamsPlace and - // SetActivityStreamsPlace methods to access and set this property. - IsActivityStreamsPlace() bool - // IsActivityStreamsProfile returns true if this property has a type of - // "Profile". When true, use the GetActivityStreamsProfile and - // SetActivityStreamsProfile methods to access and set this property. - IsActivityStreamsProfile() bool - // IsActivityStreamsQuestion returns true if this property has a type of - // "Question". When true, use the GetActivityStreamsQuestion and - // SetActivityStreamsQuestion methods to access and set this property. - IsActivityStreamsQuestion() bool - // IsActivityStreamsRead returns true if this property has a type of - // "Read". When true, use the GetActivityStreamsRead and - // SetActivityStreamsRead methods to access and set this property. - IsActivityStreamsRead() bool - // IsActivityStreamsReject returns true if this property has a type of - // "Reject". When true, use the GetActivityStreamsReject and - // SetActivityStreamsReject methods to access and set this property. - IsActivityStreamsReject() bool - // IsActivityStreamsRelationship returns true if this property has a type - // of "Relationship". When true, use the - // GetActivityStreamsRelationship and SetActivityStreamsRelationship - // methods to access and set this property. - IsActivityStreamsRelationship() bool - // IsActivityStreamsRemove returns true if this property has a type of - // "Remove". When true, use the GetActivityStreamsRemove and - // SetActivityStreamsRemove methods to access and set this property. - IsActivityStreamsRemove() bool - // IsActivityStreamsService returns true if this property has a type of - // "Service". When true, use the GetActivityStreamsService and - // SetActivityStreamsService methods to access and set this property. - IsActivityStreamsService() bool - // IsActivityStreamsTentativeAccept returns true if this property has a - // type of "TentativeAccept". When true, use the - // GetActivityStreamsTentativeAccept and - // SetActivityStreamsTentativeAccept methods to access and set this - // property. - IsActivityStreamsTentativeAccept() bool - // IsActivityStreamsTentativeReject returns true if this property has a - // type of "TentativeReject". When true, use the - // GetActivityStreamsTentativeReject and - // SetActivityStreamsTentativeReject methods to access and set this - // property. - IsActivityStreamsTentativeReject() bool - // IsActivityStreamsTombstone returns true if this property has a type of - // "Tombstone". When true, use the GetActivityStreamsTombstone and - // SetActivityStreamsTombstone methods to access and set this property. - IsActivityStreamsTombstone() bool - // IsActivityStreamsTravel returns true if this property has a type of - // "Travel". When true, use the GetActivityStreamsTravel and - // SetActivityStreamsTravel methods to access and set this property. - IsActivityStreamsTravel() bool - // IsActivityStreamsUndo returns true if this property has a type of - // "Undo". When true, use the GetActivityStreamsUndo and - // SetActivityStreamsUndo methods to access and set this property. - IsActivityStreamsUndo() bool - // IsActivityStreamsUpdate returns true if this property has a type of - // "Update". When true, use the GetActivityStreamsUpdate and - // SetActivityStreamsUpdate methods to access and set this property. - IsActivityStreamsUpdate() bool - // IsActivityStreamsVideo returns true if this property has a type of - // "Video". When true, use the GetActivityStreamsVideo and - // SetActivityStreamsVideo methods to access and set this property. - IsActivityStreamsVideo() bool - // IsActivityStreamsView returns true if this property has a type of - // "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 - // IsSchemaPropertyValue returns true if this property has a type of - // "PropertyValue". When true, use the GetSchemaPropertyValue and - // SetSchemaPropertyValue methods to access and set this property. - IsSchemaPropertyValue() bool - // IsTootEmoji returns true if this property has a type of "Emoji". When - // true, use the GetTootEmoji and SetTootEmoji methods to access and - // set this property. - IsTootEmoji() 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. - IsTootIdentityProof() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedCommittedByProperty) bool - // Name returns the name of this property: "committedBy". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsAccept sets the value of this property. Calling - // IsActivityStreamsAccept afterwards returns true. - SetActivityStreamsAccept(v ActivityStreamsAccept) - // SetActivityStreamsActivity sets the value of this property. Calling - // IsActivityStreamsActivity afterwards returns true. - SetActivityStreamsActivity(v ActivityStreamsActivity) - // SetActivityStreamsAdd sets the value of this property. Calling - // IsActivityStreamsAdd afterwards returns true. - SetActivityStreamsAdd(v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets the value of this property. Calling - // IsActivityStreamsAnnounce afterwards returns true. - SetActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets the value of this property. Calling - // IsActivityStreamsApplication afterwards returns true. - SetActivityStreamsApplication(v ActivityStreamsApplication) - // SetActivityStreamsArrive sets the value of this property. Calling - // IsActivityStreamsArrive afterwards returns true. - SetActivityStreamsArrive(v ActivityStreamsArrive) - // SetActivityStreamsArticle sets the value of this property. Calling - // IsActivityStreamsArticle afterwards returns true. - SetActivityStreamsArticle(v ActivityStreamsArticle) - // SetActivityStreamsAudio sets the value of this property. Calling - // IsActivityStreamsAudio afterwards returns true. - SetActivityStreamsAudio(v ActivityStreamsAudio) - // SetActivityStreamsBlock sets the value of this property. Calling - // IsActivityStreamsBlock afterwards returns true. - SetActivityStreamsBlock(v ActivityStreamsBlock) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets the value of this property. Calling - // IsActivityStreamsCreate afterwards returns true. - SetActivityStreamsCreate(v ActivityStreamsCreate) - // SetActivityStreamsDelete sets the value of this property. Calling - // IsActivityStreamsDelete afterwards returns true. - SetActivityStreamsDelete(v ActivityStreamsDelete) - // SetActivityStreamsDislike sets the value of this property. Calling - // IsActivityStreamsDislike afterwards returns true. - SetActivityStreamsDislike(v ActivityStreamsDislike) - // SetActivityStreamsDocument sets the value of this property. Calling - // IsActivityStreamsDocument afterwards returns true. - SetActivityStreamsDocument(v ActivityStreamsDocument) - // SetActivityStreamsEvent sets the value of this property. Calling - // IsActivityStreamsEvent afterwards returns true. - SetActivityStreamsEvent(v ActivityStreamsEvent) - // SetActivityStreamsFlag sets the value of this property. Calling - // IsActivityStreamsFlag afterwards returns true. - SetActivityStreamsFlag(v ActivityStreamsFlag) - // SetActivityStreamsFollow sets the value of this property. Calling - // IsActivityStreamsFollow afterwards returns true. - SetActivityStreamsFollow(v ActivityStreamsFollow) - // SetActivityStreamsGroup sets the value of this property. Calling - // IsActivityStreamsGroup afterwards returns true. - SetActivityStreamsGroup(v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets the value of this property. Calling - // IsActivityStreamsIgnore afterwards returns true. - SetActivityStreamsIgnore(v ActivityStreamsIgnore) - // SetActivityStreamsImage sets the value of this property. Calling - // IsActivityStreamsImage afterwards returns true. - SetActivityStreamsImage(v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets the value of this property. - // Calling IsActivityStreamsIntransitiveActivity afterwards returns - // true. - SetActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets the value of this property. Calling - // IsActivityStreamsInvite afterwards returns true. - SetActivityStreamsInvite(v ActivityStreamsInvite) - // SetActivityStreamsJoin sets the value of this property. Calling - // IsActivityStreamsJoin afterwards returns true. - SetActivityStreamsJoin(v ActivityStreamsJoin) - // SetActivityStreamsLeave sets the value of this property. Calling - // IsActivityStreamsLeave afterwards returns true. - SetActivityStreamsLeave(v ActivityStreamsLeave) - // SetActivityStreamsLike sets the value of this property. Calling - // IsActivityStreamsLike afterwards returns true. - SetActivityStreamsLike(v ActivityStreamsLike) - // SetActivityStreamsListen sets the value of this property. Calling - // IsActivityStreamsListen afterwards returns true. - SetActivityStreamsListen(v ActivityStreamsListen) - // SetActivityStreamsMove sets the value of this property. Calling - // IsActivityStreamsMove afterwards returns true. - SetActivityStreamsMove(v ActivityStreamsMove) - // SetActivityStreamsNote sets the value of this property. Calling - // IsActivityStreamsNote afterwards returns true. - SetActivityStreamsNote(v ActivityStreamsNote) - // SetActivityStreamsObject sets the value of this property. Calling - // IsActivityStreamsObject afterwards returns true. - SetActivityStreamsObject(v ActivityStreamsObject) - // SetActivityStreamsOffer sets the value of this property. Calling - // IsActivityStreamsOffer afterwards returns true. - SetActivityStreamsOffer(v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets the value of this property. Calling - // IsActivityStreamsOrganization afterwards returns true. - SetActivityStreamsOrganization(v ActivityStreamsOrganization) - // SetActivityStreamsPage sets the value of this property. Calling - // IsActivityStreamsPage afterwards returns true. - SetActivityStreamsPage(v ActivityStreamsPage) - // SetActivityStreamsPerson sets the value of this property. Calling - // IsActivityStreamsPerson afterwards returns true. - SetActivityStreamsPerson(v ActivityStreamsPerson) - // SetActivityStreamsPlace sets the value of this property. Calling - // IsActivityStreamsPlace afterwards returns true. - SetActivityStreamsPlace(v ActivityStreamsPlace) - // SetActivityStreamsProfile sets the value of this property. Calling - // IsActivityStreamsProfile afterwards returns true. - SetActivityStreamsProfile(v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets the value of this property. Calling - // IsActivityStreamsQuestion afterwards returns true. - SetActivityStreamsQuestion(v ActivityStreamsQuestion) - // SetActivityStreamsRead sets the value of this property. Calling - // IsActivityStreamsRead afterwards returns true. - SetActivityStreamsRead(v ActivityStreamsRead) - // SetActivityStreamsReject sets the value of this property. Calling - // IsActivityStreamsReject afterwards returns true. - SetActivityStreamsReject(v ActivityStreamsReject) - // SetActivityStreamsRelationship sets the value of this property. Calling - // IsActivityStreamsRelationship afterwards returns true. - SetActivityStreamsRelationship(v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets the value of this property. Calling - // IsActivityStreamsRemove afterwards returns true. - SetActivityStreamsRemove(v ActivityStreamsRemove) - // SetActivityStreamsService sets the value of this property. Calling - // IsActivityStreamsService afterwards returns true. - SetActivityStreamsService(v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets the value of this property. - // Calling IsActivityStreamsTentativeAccept afterwards returns true. - SetActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets the value of this property. - // Calling IsActivityStreamsTentativeReject afterwards returns true. - SetActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets the value of this property. Calling - // IsActivityStreamsTombstone afterwards returns true. - SetActivityStreamsTombstone(v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets the value of this property. Calling - // IsActivityStreamsTravel afterwards returns true. - SetActivityStreamsTravel(v ActivityStreamsTravel) - // SetActivityStreamsUndo sets the value of this property. Calling - // IsActivityStreamsUndo afterwards returns true. - SetActivityStreamsUndo(v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets the value of this property. Calling - // IsActivityStreamsUpdate afterwards returns true. - SetActivityStreamsUpdate(v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets the value of this property. Calling - // IsActivityStreamsVideo afterwards returns true. - SetActivityStreamsVideo(v ActivityStreamsVideo) - // 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) - // SetSchemaPropertyValue sets the value of this property. Calling - // IsSchemaPropertyValue afterwards returns true. - SetSchemaPropertyValue(v SchemaPropertyValue) - // SetTootEmoji sets the value of this property. Calling IsTootEmoji - // afterwards returns true. - SetTootEmoji(v TootEmoji) - // SetTootIdentityProof sets the value of this property. Calling - // IsTootIdentityProof afterwards returns true. - SetTootIdentityProof(v TootIdentityProof) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committed_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committed_interface.go deleted file mode 100644 index d413e4bb8..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_committed_interface.go +++ /dev/null @@ -1,60 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import ( - "net/url" - "time" -) - -// Specifies the time that a set of changes was committed into the Repository and -// became a Commit in it. This can be different from the time the set of -// changes was produced, e.g. if one person creates a patch and sends to -// another, and the other person then applies the patch to their copy of the -// repository. We call the former event "created" and the latter event -// "committed", and this latter event is specified by the committed property. -type ForgeFedCommittedProperty interface { - // Clear ensures no value of this property is set. Calling - // IsXMLSchemaDateTime afterwards will return false. - Clear() - // Get returns the value of this property. When IsXMLSchemaDateTime - // returns false, Get will return any arbitrary value. - Get() time.Time - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaDateTime returns true if this property is set and not an IRI. - IsXMLSchemaDateTime() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedCommittedProperty) bool - // Name returns the name of this property: "committed". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets the value of this property. Calling IsXMLSchemaDateTime - // afterwards will return true. - Set(v time.Time) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependants_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependants_interface.go deleted file mode 100644 index b35ca2f5c..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependants_interface.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies a Collection of TicketDependency which specify tickets that depends -// on this Ticket, i.e. this ticket is the object of the dependsOn -// relationship. Often called "reverse dependencies". -type ForgeFedDependantsProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return an arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsIRI returns true if this property is an IRI. When true, use GetIRI - // and SetIRI to access and set this property - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependantsProperty) bool - // Name returns the name of this property: "dependants". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetIRI sets the value of this property. Calling IsIRI afterwards - // returns true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependedBy_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependedBy_interface.go deleted file mode 100644 index c16581397..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependedBy_interface.go +++ /dev/null @@ -1,156 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedDependedByPropertyIterator represents a single value for the -// "dependedBy" property. -type ForgeFedDependedByPropertyIterator interface { - // Get returns the value of this property. When IsForgeFedTicket returns - // false, Get will return any arbitrary value. - Get() ForgeFedTicket - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsForgeFedTicket returns true if this property is set and not an IRI. - IsForgeFedTicket() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependedByPropertyIterator) bool - // Name returns the name of this property: "ForgeFedDependedBy". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedDependedByPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedDependedByPropertyIterator - // Set sets the value of this property. Calling IsForgeFedTicket - // afterwards will return true. - Set(v ForgeFedTicket) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} - -// Identifies one or more tickets which depend on this Ticket, i.e. they can’t -// be resolved without this tickets being resolved too. -type ForgeFedDependedByProperty interface { - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "dependedBy". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendIRI appends an IRI value to the back of a list of the property - // "dependedBy" - AppendIRI(v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependedBy". Invalidates iterators that are - // traversing using Prev. Returns an error if the type is not a valid - // one to set for this property. - AppendType(t Type) error - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedDependedByPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedDependedByPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedDependedByPropertyIterator - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "dependedBy". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // Insert inserts an IRI value at the specified index for a property - // "dependedBy". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependedBy". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - InsertType(idx int, t Type) error - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "dependedBy" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependedByProperty) bool - // Name returns the name of this property ("dependedBy") with any alias. - Name() string - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "dependedBy". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependIRI prepends an IRI value to the front of a list of the property - // "dependedBy". - PrependIRI(v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependedBy". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - PrependType(t Type) error - // Remove deletes an element at the specified index from a list of the - // property "dependedBy", regardless of its type. Panics if the index - // is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets a Ticket value to be at the specified index for the property - // "dependedBy". Panics if the index is out of bounds. Invalidates all - // iterators. - Set(idx int, v ForgeFedTicket) - // SetIRI sets an IRI value to be at the specified index for the property - // "dependedBy". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // SetType sets an arbitrary type value to the specified index of the - // property "dependedBy". Invalidates all iterators. Returns an error - // if the type is not a valid one to set for this property. Panics if - // the index is out of bounds. - SetType(idx int, t Type) error - // Swap swaps the location of values at two indices for the "dependedBy" - // property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependencies_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependencies_interface.go deleted file mode 100644 index e7ef8d85e..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependencies_interface.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies a Collection of TicketDependency which specify tickets that this -// Ticket depends on, i.e. this ticket is the subject of the dependsOn -// relationship. -type ForgeFedDependenciesProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return an arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsIRI returns true if this property is an IRI. When true, use GetIRI - // and SetIRI to access and set this property - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependenciesProperty) bool - // Name returns the name of this property: "dependencies". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetIRI sets the value of this property. Calling IsIRI afterwards - // returns true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependsOn_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependsOn_interface.go deleted file mode 100644 index fcee3af60..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_dependsOn_interface.go +++ /dev/null @@ -1,156 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedDependsOnPropertyIterator represents a single value for the "dependsOn" -// property. -type ForgeFedDependsOnPropertyIterator interface { - // Get returns the value of this property. When IsForgeFedTicket returns - // false, Get will return any arbitrary value. - Get() ForgeFedTicket - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsForgeFedTicket returns true if this property is set and not an IRI. - IsForgeFedTicket() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependsOnPropertyIterator) bool - // Name returns the name of this property: "ForgeFedDependsOn". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedDependsOnPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedDependsOnPropertyIterator - // Set sets the value of this property. Calling IsForgeFedTicket - // afterwards will return true. - Set(v ForgeFedTicket) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} - -// Identifies one or more tickets on which this Ticket depends, i.e. it can’t be -// resolved without those tickets being resolved too. -type ForgeFedDependsOnProperty interface { - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "dependsOn". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendIRI appends an IRI value to the back of a list of the property - // "dependsOn" - AppendIRI(v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependsOn". Invalidates iterators that are traversing - // using Prev. Returns an error if the type is not a valid one to set - // for this property. - AppendType(t Type) error - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedDependsOnPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedDependsOnPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedDependsOnPropertyIterator - // InsertForgeFedTicket inserts a Ticket value at the specified index for - // a property "dependsOn". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertForgeFedTicket(idx int, v ForgeFedTicket) - // Insert inserts an IRI value at the specified index for a property - // "dependsOn". Existing elements at that index and higher are shifted - // back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependsOn". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - InsertType(idx int, t Type) error - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "dependsOn" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDependsOnProperty) bool - // Name returns the name of this property ("dependsOn") with any alias. - Name() string - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "dependsOn". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependIRI prepends an IRI value to the front of a list of the property - // "dependsOn". - PrependIRI(v *url.URL) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "dependsOn". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - PrependType(t Type) error - // Remove deletes an element at the specified index from a list of the - // property "dependsOn", regardless of its type. Panics if the index - // is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets a Ticket value to be at the specified index for the property - // "dependsOn". Panics if the index is out of bounds. Invalidates all - // iterators. - Set(idx int, v ForgeFedTicket) - // SetIRI sets an IRI value to be at the specified index for the property - // "dependsOn". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // SetType sets an arbitrary type value to the specified index of the - // property "dependsOn". Invalidates all iterators. Returns an error - // if the type is not a valid one to set for this property. Panics if - // the index is out of bounds. - SetType(idx int, t Type) error - // Swap swaps the location of values at two indices for the "dependsOn" - // property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_description_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_description_interface.go deleted file mode 100644 index 28905f64f..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_description_interface.go +++ /dev/null @@ -1,763 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Specifies the description text of a Commit, which is an optional possibly -// multi-line text provided in addition to the one-line commit title. The -// range of the description property works the same way the range of the -// ActivityPub source property works. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "attributedTo": "https://example.org/bob", -// "context": "https://example.org/alice/myrepo", -// "created": "2019-07-11T12:34:56Z", -// "description": { -// "content": "It's about time people can install on their computers!", -// "mediaType": "text/plain" -// }, -// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "summary": "Add an installation script, fixes issue #89", -// "type": "Commit" -// } -type ForgeFedDescriptionProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsAccept returns the value of this property. When - // IsActivityStreamsAccept returns false, GetActivityStreamsAccept - // will return an arbitrary value. - GetActivityStreamsAccept() ActivityStreamsAccept - // GetActivityStreamsActivity returns the value of this property. When - // IsActivityStreamsActivity returns false, GetActivityStreamsActivity - // will return an arbitrary value. - GetActivityStreamsActivity() ActivityStreamsActivity - // GetActivityStreamsAdd returns the value of this property. When - // IsActivityStreamsAdd returns false, GetActivityStreamsAdd will - // return an arbitrary value. - GetActivityStreamsAdd() ActivityStreamsAdd - // GetActivityStreamsAnnounce returns the value of this property. When - // IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce - // will return an arbitrary value. - GetActivityStreamsAnnounce() ActivityStreamsAnnounce - // GetActivityStreamsApplication returns the value of this property. When - // IsActivityStreamsApplication returns false, - // GetActivityStreamsApplication will return an arbitrary value. - GetActivityStreamsApplication() ActivityStreamsApplication - // GetActivityStreamsArrive returns the value of this property. When - // IsActivityStreamsArrive returns false, GetActivityStreamsArrive - // will return an arbitrary value. - GetActivityStreamsArrive() ActivityStreamsArrive - // GetActivityStreamsArticle returns the value of this property. When - // IsActivityStreamsArticle returns false, GetActivityStreamsArticle - // will return an arbitrary value. - GetActivityStreamsArticle() ActivityStreamsArticle - // GetActivityStreamsAudio returns the value of this property. When - // IsActivityStreamsAudio returns false, GetActivityStreamsAudio will - // return an arbitrary value. - GetActivityStreamsAudio() ActivityStreamsAudio - // GetActivityStreamsBlock returns the value of this property. When - // IsActivityStreamsBlock returns false, GetActivityStreamsBlock will - // return an arbitrary value. - GetActivityStreamsBlock() ActivityStreamsBlock - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsCreate returns the value of this property. When - // IsActivityStreamsCreate returns false, GetActivityStreamsCreate - // will return an arbitrary value. - GetActivityStreamsCreate() ActivityStreamsCreate - // GetActivityStreamsDelete returns the value of this property. When - // IsActivityStreamsDelete returns false, GetActivityStreamsDelete - // will return an arbitrary value. - GetActivityStreamsDelete() ActivityStreamsDelete - // GetActivityStreamsDislike returns the value of this property. When - // IsActivityStreamsDislike returns false, GetActivityStreamsDislike - // will return an arbitrary value. - GetActivityStreamsDislike() ActivityStreamsDislike - // GetActivityStreamsDocument returns the value of this property. When - // IsActivityStreamsDocument returns false, GetActivityStreamsDocument - // will return an arbitrary value. - GetActivityStreamsDocument() ActivityStreamsDocument - // GetActivityStreamsEvent returns the value of this property. When - // IsActivityStreamsEvent returns false, GetActivityStreamsEvent will - // return an arbitrary value. - GetActivityStreamsEvent() ActivityStreamsEvent - // GetActivityStreamsFlag returns the value of this property. When - // IsActivityStreamsFlag returns false, GetActivityStreamsFlag will - // return an arbitrary value. - GetActivityStreamsFlag() ActivityStreamsFlag - // GetActivityStreamsFollow returns the value of this property. When - // IsActivityStreamsFollow returns false, GetActivityStreamsFollow - // will return an arbitrary value. - GetActivityStreamsFollow() ActivityStreamsFollow - // GetActivityStreamsGroup returns the value of this property. When - // IsActivityStreamsGroup returns false, GetActivityStreamsGroup will - // return an arbitrary value. - GetActivityStreamsGroup() ActivityStreamsGroup - // GetActivityStreamsIgnore returns the value of this property. When - // IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore - // will return an arbitrary value. - GetActivityStreamsIgnore() ActivityStreamsIgnore - // GetActivityStreamsImage returns the value of this property. When - // IsActivityStreamsImage returns false, GetActivityStreamsImage will - // return an arbitrary value. - GetActivityStreamsImage() ActivityStreamsImage - // GetActivityStreamsIntransitiveActivity returns the value of this - // property. When IsActivityStreamsIntransitiveActivity returns false, - // GetActivityStreamsIntransitiveActivity will return an arbitrary - // value. - GetActivityStreamsIntransitiveActivity() ActivityStreamsIntransitiveActivity - // GetActivityStreamsInvite returns the value of this property. When - // IsActivityStreamsInvite returns false, GetActivityStreamsInvite - // will return an arbitrary value. - GetActivityStreamsInvite() ActivityStreamsInvite - // GetActivityStreamsJoin returns the value of this property. When - // IsActivityStreamsJoin returns false, GetActivityStreamsJoin will - // return an arbitrary value. - GetActivityStreamsJoin() ActivityStreamsJoin - // GetActivityStreamsLeave returns the value of this property. When - // IsActivityStreamsLeave returns false, GetActivityStreamsLeave will - // return an arbitrary value. - GetActivityStreamsLeave() ActivityStreamsLeave - // GetActivityStreamsLike returns the value of this property. When - // IsActivityStreamsLike returns false, GetActivityStreamsLike will - // return an arbitrary value. - GetActivityStreamsLike() ActivityStreamsLike - // GetActivityStreamsListen returns the value of this property. When - // IsActivityStreamsListen returns false, GetActivityStreamsListen - // will return an arbitrary value. - GetActivityStreamsListen() ActivityStreamsListen - // GetActivityStreamsMove returns the value of this property. When - // IsActivityStreamsMove returns false, GetActivityStreamsMove will - // return an arbitrary value. - GetActivityStreamsMove() ActivityStreamsMove - // GetActivityStreamsNote returns the value of this property. When - // IsActivityStreamsNote returns false, GetActivityStreamsNote will - // return an arbitrary value. - GetActivityStreamsNote() ActivityStreamsNote - // GetActivityStreamsObject returns the value of this property. When - // IsActivityStreamsObject returns false, GetActivityStreamsObject - // will return an arbitrary value. - GetActivityStreamsObject() ActivityStreamsObject - // GetActivityStreamsOffer returns the value of this property. When - // IsActivityStreamsOffer returns false, GetActivityStreamsOffer will - // return an arbitrary value. - GetActivityStreamsOffer() ActivityStreamsOffer - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetActivityStreamsOrganization returns the value of this property. When - // IsActivityStreamsOrganization returns false, - // GetActivityStreamsOrganization will return an arbitrary value. - GetActivityStreamsOrganization() ActivityStreamsOrganization - // GetActivityStreamsPage returns the value of this property. When - // IsActivityStreamsPage returns false, GetActivityStreamsPage will - // return an arbitrary value. - GetActivityStreamsPage() ActivityStreamsPage - // GetActivityStreamsPerson returns the value of this property. When - // IsActivityStreamsPerson returns false, GetActivityStreamsPerson - // will return an arbitrary value. - GetActivityStreamsPerson() ActivityStreamsPerson - // GetActivityStreamsPlace returns the value of this property. When - // IsActivityStreamsPlace returns false, GetActivityStreamsPlace will - // return an arbitrary value. - GetActivityStreamsPlace() ActivityStreamsPlace - // GetActivityStreamsProfile returns the value of this property. When - // IsActivityStreamsProfile returns false, GetActivityStreamsProfile - // will return an arbitrary value. - GetActivityStreamsProfile() ActivityStreamsProfile - // GetActivityStreamsQuestion returns the value of this property. When - // IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion - // will return an arbitrary value. - GetActivityStreamsQuestion() ActivityStreamsQuestion - // GetActivityStreamsRead returns the value of this property. When - // IsActivityStreamsRead returns false, GetActivityStreamsRead will - // return an arbitrary value. - GetActivityStreamsRead() ActivityStreamsRead - // GetActivityStreamsReject returns the value of this property. When - // IsActivityStreamsReject returns false, GetActivityStreamsReject - // will return an arbitrary value. - GetActivityStreamsReject() ActivityStreamsReject - // GetActivityStreamsRelationship returns the value of this property. When - // IsActivityStreamsRelationship returns false, - // GetActivityStreamsRelationship will return an arbitrary value. - GetActivityStreamsRelationship() ActivityStreamsRelationship - // GetActivityStreamsRemove returns the value of this property. When - // IsActivityStreamsRemove returns false, GetActivityStreamsRemove - // will return an arbitrary value. - GetActivityStreamsRemove() ActivityStreamsRemove - // GetActivityStreamsService returns the value of this property. When - // IsActivityStreamsService returns false, GetActivityStreamsService - // will return an arbitrary value. - GetActivityStreamsService() ActivityStreamsService - // GetActivityStreamsTentativeAccept returns the value of this property. - // When IsActivityStreamsTentativeAccept returns false, - // GetActivityStreamsTentativeAccept will return an arbitrary value. - GetActivityStreamsTentativeAccept() ActivityStreamsTentativeAccept - // GetActivityStreamsTentativeReject returns the value of this property. - // When IsActivityStreamsTentativeReject returns false, - // GetActivityStreamsTentativeReject will return an arbitrary value. - GetActivityStreamsTentativeReject() ActivityStreamsTentativeReject - // GetActivityStreamsTombstone returns the value of this property. When - // IsActivityStreamsTombstone returns false, - // GetActivityStreamsTombstone will return an arbitrary value. - GetActivityStreamsTombstone() ActivityStreamsTombstone - // GetActivityStreamsTravel returns the value of this property. When - // IsActivityStreamsTravel returns false, GetActivityStreamsTravel - // will return an arbitrary value. - GetActivityStreamsTravel() ActivityStreamsTravel - // GetActivityStreamsUndo returns the value of this property. When - // IsActivityStreamsUndo returns false, GetActivityStreamsUndo will - // return an arbitrary value. - GetActivityStreamsUndo() ActivityStreamsUndo - // GetActivityStreamsUpdate returns the value of this property. When - // IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate - // will return an arbitrary value. - GetActivityStreamsUpdate() ActivityStreamsUpdate - // GetActivityStreamsVideo returns the value of this property. When - // IsActivityStreamsVideo returns false, GetActivityStreamsVideo will - // return an arbitrary value. - GetActivityStreamsVideo() ActivityStreamsVideo - // GetActivityStreamsView returns the value of this property. When - // 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 - // GetSchemaPropertyValue returns the value of this property. When - // IsSchemaPropertyValue returns false, GetSchemaPropertyValue will - // return an arbitrary value. - GetSchemaPropertyValue() SchemaPropertyValue - // GetTootEmoji returns the value of this property. When IsTootEmoji - // returns false, GetTootEmoji will return an arbitrary value. - GetTootEmoji() TootEmoji - // GetTootIdentityProof returns the value of this property. When - // IsTootIdentityProof returns false, GetTootIdentityProof will return - // an arbitrary value. - GetTootIdentityProof() TootIdentityProof - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsAccept returns true if this property has a type of - // "Accept". When true, use the GetActivityStreamsAccept and - // SetActivityStreamsAccept methods to access and set this property. - IsActivityStreamsAccept() bool - // IsActivityStreamsActivity returns true if this property has a type of - // "Activity". When true, use the GetActivityStreamsActivity and - // SetActivityStreamsActivity methods to access and set this property. - IsActivityStreamsActivity() bool - // IsActivityStreamsAdd returns true if this property has a type of "Add". - // When true, use the GetActivityStreamsAdd and SetActivityStreamsAdd - // methods to access and set this property. - IsActivityStreamsAdd() bool - // IsActivityStreamsAnnounce returns true if this property has a type of - // "Announce". When true, use the GetActivityStreamsAnnounce and - // SetActivityStreamsAnnounce methods to access and set this property. - IsActivityStreamsAnnounce() bool - // IsActivityStreamsApplication returns true if this property has a type - // of "Application". When true, use the GetActivityStreamsApplication - // and SetActivityStreamsApplication methods to access and set this - // property. - IsActivityStreamsApplication() bool - // IsActivityStreamsArrive returns true if this property has a type of - // "Arrive". When true, use the GetActivityStreamsArrive and - // SetActivityStreamsArrive methods to access and set this property. - IsActivityStreamsArrive() bool - // IsActivityStreamsArticle returns true if this property has a type of - // "Article". When true, use the GetActivityStreamsArticle and - // SetActivityStreamsArticle methods to access and set this property. - IsActivityStreamsArticle() bool - // IsActivityStreamsAudio returns true if this property has a type of - // "Audio". When true, use the GetActivityStreamsAudio and - // SetActivityStreamsAudio methods to access and set this property. - IsActivityStreamsAudio() bool - // IsActivityStreamsBlock returns true if this property has a type of - // "Block". When true, use the GetActivityStreamsBlock and - // SetActivityStreamsBlock methods to access and set this property. - IsActivityStreamsBlock() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsCreate returns true if this property has a type of - // "Create". When true, use the GetActivityStreamsCreate and - // SetActivityStreamsCreate methods to access and set this property. - IsActivityStreamsCreate() bool - // IsActivityStreamsDelete returns true if this property has a type of - // "Delete". When true, use the GetActivityStreamsDelete and - // SetActivityStreamsDelete methods to access and set this property. - IsActivityStreamsDelete() bool - // IsActivityStreamsDislike returns true if this property has a type of - // "Dislike". When true, use the GetActivityStreamsDislike and - // SetActivityStreamsDislike methods to access and set this property. - IsActivityStreamsDislike() bool - // IsActivityStreamsDocument returns true if this property has a type of - // "Document". When true, use the GetActivityStreamsDocument and - // SetActivityStreamsDocument methods to access and set this property. - IsActivityStreamsDocument() bool - // IsActivityStreamsEvent returns true if this property has a type of - // "Event". When true, use the GetActivityStreamsEvent and - // SetActivityStreamsEvent methods to access and set this property. - IsActivityStreamsEvent() bool - // IsActivityStreamsFlag returns true if this property has a type of - // "Flag". When true, use the GetActivityStreamsFlag and - // SetActivityStreamsFlag methods to access and set this property. - IsActivityStreamsFlag() bool - // IsActivityStreamsFollow returns true if this property has a type of - // "Follow". When true, use the GetActivityStreamsFollow and - // SetActivityStreamsFollow methods to access and set this property. - IsActivityStreamsFollow() bool - // IsActivityStreamsGroup returns true if this property has a type of - // "Group". When true, use the GetActivityStreamsGroup and - // SetActivityStreamsGroup methods to access and set this property. - IsActivityStreamsGroup() bool - // IsActivityStreamsIgnore returns true if this property has a type of - // "Ignore". When true, use the GetActivityStreamsIgnore and - // SetActivityStreamsIgnore methods to access and set this property. - IsActivityStreamsIgnore() bool - // IsActivityStreamsImage returns true if this property has a type of - // "Image". When true, use the GetActivityStreamsImage and - // SetActivityStreamsImage methods to access and set this property. - IsActivityStreamsImage() bool - // IsActivityStreamsIntransitiveActivity returns true if this property has - // a type of "IntransitiveActivity". When true, use the - // GetActivityStreamsIntransitiveActivity and - // SetActivityStreamsIntransitiveActivity methods to access and set - // this property. - IsActivityStreamsIntransitiveActivity() bool - // IsActivityStreamsInvite returns true if this property has a type of - // "Invite". When true, use the GetActivityStreamsInvite and - // SetActivityStreamsInvite methods to access and set this property. - IsActivityStreamsInvite() bool - // IsActivityStreamsJoin returns true if this property has a type of - // "Join". When true, use the GetActivityStreamsJoin and - // SetActivityStreamsJoin methods to access and set this property. - IsActivityStreamsJoin() bool - // IsActivityStreamsLeave returns true if this property has a type of - // "Leave". When true, use the GetActivityStreamsLeave and - // SetActivityStreamsLeave methods to access and set this property. - IsActivityStreamsLeave() bool - // IsActivityStreamsLike returns true if this property has a type of - // "Like". When true, use the GetActivityStreamsLike and - // SetActivityStreamsLike methods to access and set this property. - IsActivityStreamsLike() bool - // IsActivityStreamsListen returns true if this property has a type of - // "Listen". When true, use the GetActivityStreamsListen and - // SetActivityStreamsListen methods to access and set this property. - IsActivityStreamsListen() bool - // IsActivityStreamsMove returns true if this property has a type of - // "Move". When true, use the GetActivityStreamsMove and - // SetActivityStreamsMove methods to access and set this property. - IsActivityStreamsMove() bool - // IsActivityStreamsNote returns true if this property has a type of - // "Note". When true, use the GetActivityStreamsNote and - // SetActivityStreamsNote methods to access and set this property. - IsActivityStreamsNote() bool - // IsActivityStreamsObject returns true if this property has a type of - // "Object". When true, use the GetActivityStreamsObject and - // SetActivityStreamsObject methods to access and set this property. - IsActivityStreamsObject() bool - // IsActivityStreamsOffer returns true if this property has a type of - // "Offer". When true, use the GetActivityStreamsOffer and - // SetActivityStreamsOffer methods to access and set this property. - IsActivityStreamsOffer() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsActivityStreamsOrganization returns true if this property has a type - // of "Organization". When true, use the - // GetActivityStreamsOrganization and SetActivityStreamsOrganization - // methods to access and set this property. - IsActivityStreamsOrganization() bool - // IsActivityStreamsPage returns true if this property has a type of - // "Page". When true, use the GetActivityStreamsPage and - // SetActivityStreamsPage methods to access and set this property. - IsActivityStreamsPage() bool - // IsActivityStreamsPerson returns true if this property has a type of - // "Person". When true, use the GetActivityStreamsPerson and - // SetActivityStreamsPerson methods to access and set this property. - IsActivityStreamsPerson() bool - // IsActivityStreamsPlace returns true if this property has a type of - // "Place". When true, use the GetActivityStreamsPlace and - // SetActivityStreamsPlace methods to access and set this property. - IsActivityStreamsPlace() bool - // IsActivityStreamsProfile returns true if this property has a type of - // "Profile". When true, use the GetActivityStreamsProfile and - // SetActivityStreamsProfile methods to access and set this property. - IsActivityStreamsProfile() bool - // IsActivityStreamsQuestion returns true if this property has a type of - // "Question". When true, use the GetActivityStreamsQuestion and - // SetActivityStreamsQuestion methods to access and set this property. - IsActivityStreamsQuestion() bool - // IsActivityStreamsRead returns true if this property has a type of - // "Read". When true, use the GetActivityStreamsRead and - // SetActivityStreamsRead methods to access and set this property. - IsActivityStreamsRead() bool - // IsActivityStreamsReject returns true if this property has a type of - // "Reject". When true, use the GetActivityStreamsReject and - // SetActivityStreamsReject methods to access and set this property. - IsActivityStreamsReject() bool - // IsActivityStreamsRelationship returns true if this property has a type - // of "Relationship". When true, use the - // GetActivityStreamsRelationship and SetActivityStreamsRelationship - // methods to access and set this property. - IsActivityStreamsRelationship() bool - // IsActivityStreamsRemove returns true if this property has a type of - // "Remove". When true, use the GetActivityStreamsRemove and - // SetActivityStreamsRemove methods to access and set this property. - IsActivityStreamsRemove() bool - // IsActivityStreamsService returns true if this property has a type of - // "Service". When true, use the GetActivityStreamsService and - // SetActivityStreamsService methods to access and set this property. - IsActivityStreamsService() bool - // IsActivityStreamsTentativeAccept returns true if this property has a - // type of "TentativeAccept". When true, use the - // GetActivityStreamsTentativeAccept and - // SetActivityStreamsTentativeAccept methods to access and set this - // property. - IsActivityStreamsTentativeAccept() bool - // IsActivityStreamsTentativeReject returns true if this property has a - // type of "TentativeReject". When true, use the - // GetActivityStreamsTentativeReject and - // SetActivityStreamsTentativeReject methods to access and set this - // property. - IsActivityStreamsTentativeReject() bool - // IsActivityStreamsTombstone returns true if this property has a type of - // "Tombstone". When true, use the GetActivityStreamsTombstone and - // SetActivityStreamsTombstone methods to access and set this property. - IsActivityStreamsTombstone() bool - // IsActivityStreamsTravel returns true if this property has a type of - // "Travel". When true, use the GetActivityStreamsTravel and - // SetActivityStreamsTravel methods to access and set this property. - IsActivityStreamsTravel() bool - // IsActivityStreamsUndo returns true if this property has a type of - // "Undo". When true, use the GetActivityStreamsUndo and - // SetActivityStreamsUndo methods to access and set this property. - IsActivityStreamsUndo() bool - // IsActivityStreamsUpdate returns true if this property has a type of - // "Update". When true, use the GetActivityStreamsUpdate and - // SetActivityStreamsUpdate methods to access and set this property. - IsActivityStreamsUpdate() bool - // IsActivityStreamsVideo returns true if this property has a type of - // "Video". When true, use the GetActivityStreamsVideo and - // SetActivityStreamsVideo methods to access and set this property. - IsActivityStreamsVideo() bool - // IsActivityStreamsView returns true if this property has a type of - // "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 - // IsSchemaPropertyValue returns true if this property has a type of - // "PropertyValue". When true, use the GetSchemaPropertyValue and - // SetSchemaPropertyValue methods to access and set this property. - IsSchemaPropertyValue() bool - // IsTootEmoji returns true if this property has a type of "Emoji". When - // true, use the GetTootEmoji and SetTootEmoji methods to access and - // set this property. - IsTootEmoji() 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. - IsTootIdentityProof() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedDescriptionProperty) bool - // Name returns the name of this property: "description". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsAccept sets the value of this property. Calling - // IsActivityStreamsAccept afterwards returns true. - SetActivityStreamsAccept(v ActivityStreamsAccept) - // SetActivityStreamsActivity sets the value of this property. Calling - // IsActivityStreamsActivity afterwards returns true. - SetActivityStreamsActivity(v ActivityStreamsActivity) - // SetActivityStreamsAdd sets the value of this property. Calling - // IsActivityStreamsAdd afterwards returns true. - SetActivityStreamsAdd(v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets the value of this property. Calling - // IsActivityStreamsAnnounce afterwards returns true. - SetActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets the value of this property. Calling - // IsActivityStreamsApplication afterwards returns true. - SetActivityStreamsApplication(v ActivityStreamsApplication) - // SetActivityStreamsArrive sets the value of this property. Calling - // IsActivityStreamsArrive afterwards returns true. - SetActivityStreamsArrive(v ActivityStreamsArrive) - // SetActivityStreamsArticle sets the value of this property. Calling - // IsActivityStreamsArticle afterwards returns true. - SetActivityStreamsArticle(v ActivityStreamsArticle) - // SetActivityStreamsAudio sets the value of this property. Calling - // IsActivityStreamsAudio afterwards returns true. - SetActivityStreamsAudio(v ActivityStreamsAudio) - // SetActivityStreamsBlock sets the value of this property. Calling - // IsActivityStreamsBlock afterwards returns true. - SetActivityStreamsBlock(v ActivityStreamsBlock) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets the value of this property. Calling - // IsActivityStreamsCreate afterwards returns true. - SetActivityStreamsCreate(v ActivityStreamsCreate) - // SetActivityStreamsDelete sets the value of this property. Calling - // IsActivityStreamsDelete afterwards returns true. - SetActivityStreamsDelete(v ActivityStreamsDelete) - // SetActivityStreamsDislike sets the value of this property. Calling - // IsActivityStreamsDislike afterwards returns true. - SetActivityStreamsDislike(v ActivityStreamsDislike) - // SetActivityStreamsDocument sets the value of this property. Calling - // IsActivityStreamsDocument afterwards returns true. - SetActivityStreamsDocument(v ActivityStreamsDocument) - // SetActivityStreamsEvent sets the value of this property. Calling - // IsActivityStreamsEvent afterwards returns true. - SetActivityStreamsEvent(v ActivityStreamsEvent) - // SetActivityStreamsFlag sets the value of this property. Calling - // IsActivityStreamsFlag afterwards returns true. - SetActivityStreamsFlag(v ActivityStreamsFlag) - // SetActivityStreamsFollow sets the value of this property. Calling - // IsActivityStreamsFollow afterwards returns true. - SetActivityStreamsFollow(v ActivityStreamsFollow) - // SetActivityStreamsGroup sets the value of this property. Calling - // IsActivityStreamsGroup afterwards returns true. - SetActivityStreamsGroup(v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets the value of this property. Calling - // IsActivityStreamsIgnore afterwards returns true. - SetActivityStreamsIgnore(v ActivityStreamsIgnore) - // SetActivityStreamsImage sets the value of this property. Calling - // IsActivityStreamsImage afterwards returns true. - SetActivityStreamsImage(v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets the value of this property. - // Calling IsActivityStreamsIntransitiveActivity afterwards returns - // true. - SetActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets the value of this property. Calling - // IsActivityStreamsInvite afterwards returns true. - SetActivityStreamsInvite(v ActivityStreamsInvite) - // SetActivityStreamsJoin sets the value of this property. Calling - // IsActivityStreamsJoin afterwards returns true. - SetActivityStreamsJoin(v ActivityStreamsJoin) - // SetActivityStreamsLeave sets the value of this property. Calling - // IsActivityStreamsLeave afterwards returns true. - SetActivityStreamsLeave(v ActivityStreamsLeave) - // SetActivityStreamsLike sets the value of this property. Calling - // IsActivityStreamsLike afterwards returns true. - SetActivityStreamsLike(v ActivityStreamsLike) - // SetActivityStreamsListen sets the value of this property. Calling - // IsActivityStreamsListen afterwards returns true. - SetActivityStreamsListen(v ActivityStreamsListen) - // SetActivityStreamsMove sets the value of this property. Calling - // IsActivityStreamsMove afterwards returns true. - SetActivityStreamsMove(v ActivityStreamsMove) - // SetActivityStreamsNote sets the value of this property. Calling - // IsActivityStreamsNote afterwards returns true. - SetActivityStreamsNote(v ActivityStreamsNote) - // SetActivityStreamsObject sets the value of this property. Calling - // IsActivityStreamsObject afterwards returns true. - SetActivityStreamsObject(v ActivityStreamsObject) - // SetActivityStreamsOffer sets the value of this property. Calling - // IsActivityStreamsOffer afterwards returns true. - SetActivityStreamsOffer(v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets the value of this property. Calling - // IsActivityStreamsOrganization afterwards returns true. - SetActivityStreamsOrganization(v ActivityStreamsOrganization) - // SetActivityStreamsPage sets the value of this property. Calling - // IsActivityStreamsPage afterwards returns true. - SetActivityStreamsPage(v ActivityStreamsPage) - // SetActivityStreamsPerson sets the value of this property. Calling - // IsActivityStreamsPerson afterwards returns true. - SetActivityStreamsPerson(v ActivityStreamsPerson) - // SetActivityStreamsPlace sets the value of this property. Calling - // IsActivityStreamsPlace afterwards returns true. - SetActivityStreamsPlace(v ActivityStreamsPlace) - // SetActivityStreamsProfile sets the value of this property. Calling - // IsActivityStreamsProfile afterwards returns true. - SetActivityStreamsProfile(v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets the value of this property. Calling - // IsActivityStreamsQuestion afterwards returns true. - SetActivityStreamsQuestion(v ActivityStreamsQuestion) - // SetActivityStreamsRead sets the value of this property. Calling - // IsActivityStreamsRead afterwards returns true. - SetActivityStreamsRead(v ActivityStreamsRead) - // SetActivityStreamsReject sets the value of this property. Calling - // IsActivityStreamsReject afterwards returns true. - SetActivityStreamsReject(v ActivityStreamsReject) - // SetActivityStreamsRelationship sets the value of this property. Calling - // IsActivityStreamsRelationship afterwards returns true. - SetActivityStreamsRelationship(v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets the value of this property. Calling - // IsActivityStreamsRemove afterwards returns true. - SetActivityStreamsRemove(v ActivityStreamsRemove) - // SetActivityStreamsService sets the value of this property. Calling - // IsActivityStreamsService afterwards returns true. - SetActivityStreamsService(v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets the value of this property. - // Calling IsActivityStreamsTentativeAccept afterwards returns true. - SetActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets the value of this property. - // Calling IsActivityStreamsTentativeReject afterwards returns true. - SetActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets the value of this property. Calling - // IsActivityStreamsTombstone afterwards returns true. - SetActivityStreamsTombstone(v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets the value of this property. Calling - // IsActivityStreamsTravel afterwards returns true. - SetActivityStreamsTravel(v ActivityStreamsTravel) - // SetActivityStreamsUndo sets the value of this property. Calling - // IsActivityStreamsUndo afterwards returns true. - SetActivityStreamsUndo(v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets the value of this property. Calling - // IsActivityStreamsUpdate afterwards returns true. - SetActivityStreamsUpdate(v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets the value of this property. Calling - // IsActivityStreamsVideo afterwards returns true. - SetActivityStreamsVideo(v ActivityStreamsVideo) - // 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) - // SetSchemaPropertyValue sets the value of this property. Calling - // IsSchemaPropertyValue afterwards returns true. - SetSchemaPropertyValue(v SchemaPropertyValue) - // SetTootEmoji sets the value of this property. Calling IsTootEmoji - // afterwards returns true. - SetTootEmoji(v TootEmoji) - // SetTootIdentityProof sets the value of this property. Calling - // IsTootIdentityProof afterwards returns true. - SetTootIdentityProof(v TootIdentityProof) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_earlyItems_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_earlyItems_interface.go deleted file mode 100644 index dea754eaf..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_earlyItems_interface.go +++ /dev/null @@ -1,1840 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedEarlyItemsPropertyIterator represents a single value for the -// "earlyItems" property. -type ForgeFedEarlyItemsPropertyIterator interface { - // GetActivityStreamsAccept returns the value of this property. When - // IsActivityStreamsAccept returns false, GetActivityStreamsAccept - // will return an arbitrary value. - GetActivityStreamsAccept() ActivityStreamsAccept - // GetActivityStreamsActivity returns the value of this property. When - // IsActivityStreamsActivity returns false, GetActivityStreamsActivity - // will return an arbitrary value. - GetActivityStreamsActivity() ActivityStreamsActivity - // GetActivityStreamsAdd returns the value of this property. When - // IsActivityStreamsAdd returns false, GetActivityStreamsAdd will - // return an arbitrary value. - GetActivityStreamsAdd() ActivityStreamsAdd - // GetActivityStreamsAnnounce returns the value of this property. When - // IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce - // will return an arbitrary value. - GetActivityStreamsAnnounce() ActivityStreamsAnnounce - // GetActivityStreamsApplication returns the value of this property. When - // IsActivityStreamsApplication returns false, - // GetActivityStreamsApplication will return an arbitrary value. - GetActivityStreamsApplication() ActivityStreamsApplication - // GetActivityStreamsArrive returns the value of this property. When - // IsActivityStreamsArrive returns false, GetActivityStreamsArrive - // will return an arbitrary value. - GetActivityStreamsArrive() ActivityStreamsArrive - // GetActivityStreamsArticle returns the value of this property. When - // IsActivityStreamsArticle returns false, GetActivityStreamsArticle - // will return an arbitrary value. - GetActivityStreamsArticle() ActivityStreamsArticle - // GetActivityStreamsAudio returns the value of this property. When - // IsActivityStreamsAudio returns false, GetActivityStreamsAudio will - // return an arbitrary value. - GetActivityStreamsAudio() ActivityStreamsAudio - // GetActivityStreamsBlock returns the value of this property. When - // IsActivityStreamsBlock returns false, GetActivityStreamsBlock will - // return an arbitrary value. - GetActivityStreamsBlock() ActivityStreamsBlock - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsCreate returns the value of this property. When - // IsActivityStreamsCreate returns false, GetActivityStreamsCreate - // will return an arbitrary value. - GetActivityStreamsCreate() ActivityStreamsCreate - // GetActivityStreamsDelete returns the value of this property. When - // IsActivityStreamsDelete returns false, GetActivityStreamsDelete - // will return an arbitrary value. - GetActivityStreamsDelete() ActivityStreamsDelete - // GetActivityStreamsDislike returns the value of this property. When - // IsActivityStreamsDislike returns false, GetActivityStreamsDislike - // will return an arbitrary value. - GetActivityStreamsDislike() ActivityStreamsDislike - // GetActivityStreamsDocument returns the value of this property. When - // IsActivityStreamsDocument returns false, GetActivityStreamsDocument - // will return an arbitrary value. - GetActivityStreamsDocument() ActivityStreamsDocument - // GetActivityStreamsEvent returns the value of this property. When - // IsActivityStreamsEvent returns false, GetActivityStreamsEvent will - // return an arbitrary value. - GetActivityStreamsEvent() ActivityStreamsEvent - // GetActivityStreamsFlag returns the value of this property. When - // IsActivityStreamsFlag returns false, GetActivityStreamsFlag will - // return an arbitrary value. - GetActivityStreamsFlag() ActivityStreamsFlag - // GetActivityStreamsFollow returns the value of this property. When - // IsActivityStreamsFollow returns false, GetActivityStreamsFollow - // will return an arbitrary value. - GetActivityStreamsFollow() ActivityStreamsFollow - // GetActivityStreamsGroup returns the value of this property. When - // IsActivityStreamsGroup returns false, GetActivityStreamsGroup will - // return an arbitrary value. - GetActivityStreamsGroup() ActivityStreamsGroup - // GetActivityStreamsIgnore returns the value of this property. When - // IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore - // will return an arbitrary value. - GetActivityStreamsIgnore() ActivityStreamsIgnore - // GetActivityStreamsImage returns the value of this property. When - // IsActivityStreamsImage returns false, GetActivityStreamsImage will - // return an arbitrary value. - GetActivityStreamsImage() ActivityStreamsImage - // GetActivityStreamsIntransitiveActivity returns the value of this - // property. When IsActivityStreamsIntransitiveActivity returns false, - // GetActivityStreamsIntransitiveActivity will return an arbitrary - // value. - GetActivityStreamsIntransitiveActivity() ActivityStreamsIntransitiveActivity - // GetActivityStreamsInvite returns the value of this property. When - // IsActivityStreamsInvite returns false, GetActivityStreamsInvite - // will return an arbitrary value. - GetActivityStreamsInvite() ActivityStreamsInvite - // GetActivityStreamsJoin returns the value of this property. When - // IsActivityStreamsJoin returns false, GetActivityStreamsJoin will - // return an arbitrary value. - GetActivityStreamsJoin() ActivityStreamsJoin - // GetActivityStreamsLeave returns the value of this property. When - // IsActivityStreamsLeave returns false, GetActivityStreamsLeave will - // return an arbitrary value. - GetActivityStreamsLeave() ActivityStreamsLeave - // GetActivityStreamsLike returns the value of this property. When - // IsActivityStreamsLike returns false, GetActivityStreamsLike will - // return an arbitrary value. - GetActivityStreamsLike() ActivityStreamsLike - // GetActivityStreamsLink returns the value of this property. When - // IsActivityStreamsLink returns false, GetActivityStreamsLink will - // return an arbitrary value. - GetActivityStreamsLink() ActivityStreamsLink - // GetActivityStreamsListen returns the value of this property. When - // IsActivityStreamsListen returns false, GetActivityStreamsListen - // will return an arbitrary value. - GetActivityStreamsListen() ActivityStreamsListen - // GetActivityStreamsMention returns the value of this property. When - // IsActivityStreamsMention returns false, GetActivityStreamsMention - // will return an arbitrary value. - GetActivityStreamsMention() ActivityStreamsMention - // GetActivityStreamsMove returns the value of this property. When - // IsActivityStreamsMove returns false, GetActivityStreamsMove will - // return an arbitrary value. - GetActivityStreamsMove() ActivityStreamsMove - // GetActivityStreamsNote returns the value of this property. When - // IsActivityStreamsNote returns false, GetActivityStreamsNote will - // return an arbitrary value. - GetActivityStreamsNote() ActivityStreamsNote - // GetActivityStreamsObject returns the value of this property. When - // IsActivityStreamsObject returns false, GetActivityStreamsObject - // will return an arbitrary value. - GetActivityStreamsObject() ActivityStreamsObject - // GetActivityStreamsOffer returns the value of this property. When - // IsActivityStreamsOffer returns false, GetActivityStreamsOffer will - // return an arbitrary value. - GetActivityStreamsOffer() ActivityStreamsOffer - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetActivityStreamsOrganization returns the value of this property. When - // IsActivityStreamsOrganization returns false, - // GetActivityStreamsOrganization will return an arbitrary value. - GetActivityStreamsOrganization() ActivityStreamsOrganization - // GetActivityStreamsPage returns the value of this property. When - // IsActivityStreamsPage returns false, GetActivityStreamsPage will - // return an arbitrary value. - GetActivityStreamsPage() ActivityStreamsPage - // GetActivityStreamsPerson returns the value of this property. When - // IsActivityStreamsPerson returns false, GetActivityStreamsPerson - // will return an arbitrary value. - GetActivityStreamsPerson() ActivityStreamsPerson - // GetActivityStreamsPlace returns the value of this property. When - // IsActivityStreamsPlace returns false, GetActivityStreamsPlace will - // return an arbitrary value. - GetActivityStreamsPlace() ActivityStreamsPlace - // GetActivityStreamsProfile returns the value of this property. When - // IsActivityStreamsProfile returns false, GetActivityStreamsProfile - // will return an arbitrary value. - GetActivityStreamsProfile() ActivityStreamsProfile - // GetActivityStreamsQuestion returns the value of this property. When - // IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion - // will return an arbitrary value. - GetActivityStreamsQuestion() ActivityStreamsQuestion - // GetActivityStreamsRead returns the value of this property. When - // IsActivityStreamsRead returns false, GetActivityStreamsRead will - // return an arbitrary value. - GetActivityStreamsRead() ActivityStreamsRead - // GetActivityStreamsReject returns the value of this property. When - // IsActivityStreamsReject returns false, GetActivityStreamsReject - // will return an arbitrary value. - GetActivityStreamsReject() ActivityStreamsReject - // GetActivityStreamsRelationship returns the value of this property. When - // IsActivityStreamsRelationship returns false, - // GetActivityStreamsRelationship will return an arbitrary value. - GetActivityStreamsRelationship() ActivityStreamsRelationship - // GetActivityStreamsRemove returns the value of this property. When - // IsActivityStreamsRemove returns false, GetActivityStreamsRemove - // will return an arbitrary value. - GetActivityStreamsRemove() ActivityStreamsRemove - // GetActivityStreamsService returns the value of this property. When - // IsActivityStreamsService returns false, GetActivityStreamsService - // will return an arbitrary value. - GetActivityStreamsService() ActivityStreamsService - // GetActivityStreamsTentativeAccept returns the value of this property. - // When IsActivityStreamsTentativeAccept returns false, - // GetActivityStreamsTentativeAccept will return an arbitrary value. - GetActivityStreamsTentativeAccept() ActivityStreamsTentativeAccept - // GetActivityStreamsTentativeReject returns the value of this property. - // When IsActivityStreamsTentativeReject returns false, - // GetActivityStreamsTentativeReject will return an arbitrary value. - GetActivityStreamsTentativeReject() ActivityStreamsTentativeReject - // GetActivityStreamsTombstone returns the value of this property. When - // IsActivityStreamsTombstone returns false, - // GetActivityStreamsTombstone will return an arbitrary value. - GetActivityStreamsTombstone() ActivityStreamsTombstone - // GetActivityStreamsTravel returns the value of this property. When - // IsActivityStreamsTravel returns false, GetActivityStreamsTravel - // will return an arbitrary value. - GetActivityStreamsTravel() ActivityStreamsTravel - // GetActivityStreamsUndo returns the value of this property. When - // IsActivityStreamsUndo returns false, GetActivityStreamsUndo will - // return an arbitrary value. - GetActivityStreamsUndo() ActivityStreamsUndo - // GetActivityStreamsUpdate returns the value of this property. When - // IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate - // will return an arbitrary value. - GetActivityStreamsUpdate() ActivityStreamsUpdate - // GetActivityStreamsVideo returns the value of this property. When - // IsActivityStreamsVideo returns false, GetActivityStreamsVideo will - // return an arbitrary value. - GetActivityStreamsVideo() ActivityStreamsVideo - // GetActivityStreamsView returns the value of this property. When - // 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 - // GetSchemaPropertyValue returns the value of this property. When - // IsSchemaPropertyValue returns false, GetSchemaPropertyValue will - // return an arbitrary value. - GetSchemaPropertyValue() SchemaPropertyValue - // GetTootEmoji returns the value of this property. When IsTootEmoji - // returns false, GetTootEmoji will return an arbitrary value. - GetTootEmoji() TootEmoji - // GetTootIdentityProof returns the value of this property. When - // IsTootIdentityProof returns false, GetTootIdentityProof will return - // an arbitrary value. - GetTootIdentityProof() TootIdentityProof - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsAccept returns true if this property has a type of - // "Accept". When true, use the GetActivityStreamsAccept and - // SetActivityStreamsAccept methods to access and set this property. - IsActivityStreamsAccept() bool - // IsActivityStreamsActivity returns true if this property has a type of - // "Activity". When true, use the GetActivityStreamsActivity and - // SetActivityStreamsActivity methods to access and set this property. - IsActivityStreamsActivity() bool - // IsActivityStreamsAdd returns true if this property has a type of "Add". - // When true, use the GetActivityStreamsAdd and SetActivityStreamsAdd - // methods to access and set this property. - IsActivityStreamsAdd() bool - // IsActivityStreamsAnnounce returns true if this property has a type of - // "Announce". When true, use the GetActivityStreamsAnnounce and - // SetActivityStreamsAnnounce methods to access and set this property. - IsActivityStreamsAnnounce() bool - // IsActivityStreamsApplication returns true if this property has a type - // of "Application". When true, use the GetActivityStreamsApplication - // and SetActivityStreamsApplication methods to access and set this - // property. - IsActivityStreamsApplication() bool - // IsActivityStreamsArrive returns true if this property has a type of - // "Arrive". When true, use the GetActivityStreamsArrive and - // SetActivityStreamsArrive methods to access and set this property. - IsActivityStreamsArrive() bool - // IsActivityStreamsArticle returns true if this property has a type of - // "Article". When true, use the GetActivityStreamsArticle and - // SetActivityStreamsArticle methods to access and set this property. - IsActivityStreamsArticle() bool - // IsActivityStreamsAudio returns true if this property has a type of - // "Audio". When true, use the GetActivityStreamsAudio and - // SetActivityStreamsAudio methods to access and set this property. - IsActivityStreamsAudio() bool - // IsActivityStreamsBlock returns true if this property has a type of - // "Block". When true, use the GetActivityStreamsBlock and - // SetActivityStreamsBlock methods to access and set this property. - IsActivityStreamsBlock() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsCreate returns true if this property has a type of - // "Create". When true, use the GetActivityStreamsCreate and - // SetActivityStreamsCreate methods to access and set this property. - IsActivityStreamsCreate() bool - // IsActivityStreamsDelete returns true if this property has a type of - // "Delete". When true, use the GetActivityStreamsDelete and - // SetActivityStreamsDelete methods to access and set this property. - IsActivityStreamsDelete() bool - // IsActivityStreamsDislike returns true if this property has a type of - // "Dislike". When true, use the GetActivityStreamsDislike and - // SetActivityStreamsDislike methods to access and set this property. - IsActivityStreamsDislike() bool - // IsActivityStreamsDocument returns true if this property has a type of - // "Document". When true, use the GetActivityStreamsDocument and - // SetActivityStreamsDocument methods to access and set this property. - IsActivityStreamsDocument() bool - // IsActivityStreamsEvent returns true if this property has a type of - // "Event". When true, use the GetActivityStreamsEvent and - // SetActivityStreamsEvent methods to access and set this property. - IsActivityStreamsEvent() bool - // IsActivityStreamsFlag returns true if this property has a type of - // "Flag". When true, use the GetActivityStreamsFlag and - // SetActivityStreamsFlag methods to access and set this property. - IsActivityStreamsFlag() bool - // IsActivityStreamsFollow returns true if this property has a type of - // "Follow". When true, use the GetActivityStreamsFollow and - // SetActivityStreamsFollow methods to access and set this property. - IsActivityStreamsFollow() bool - // IsActivityStreamsGroup returns true if this property has a type of - // "Group". When true, use the GetActivityStreamsGroup and - // SetActivityStreamsGroup methods to access and set this property. - IsActivityStreamsGroup() bool - // IsActivityStreamsIgnore returns true if this property has a type of - // "Ignore". When true, use the GetActivityStreamsIgnore and - // SetActivityStreamsIgnore methods to access and set this property. - IsActivityStreamsIgnore() bool - // IsActivityStreamsImage returns true if this property has a type of - // "Image". When true, use the GetActivityStreamsImage and - // SetActivityStreamsImage methods to access and set this property. - IsActivityStreamsImage() bool - // IsActivityStreamsIntransitiveActivity returns true if this property has - // a type of "IntransitiveActivity". When true, use the - // GetActivityStreamsIntransitiveActivity and - // SetActivityStreamsIntransitiveActivity methods to access and set - // this property. - IsActivityStreamsIntransitiveActivity() bool - // IsActivityStreamsInvite returns true if this property has a type of - // "Invite". When true, use the GetActivityStreamsInvite and - // SetActivityStreamsInvite methods to access and set this property. - IsActivityStreamsInvite() bool - // IsActivityStreamsJoin returns true if this property has a type of - // "Join". When true, use the GetActivityStreamsJoin and - // SetActivityStreamsJoin methods to access and set this property. - IsActivityStreamsJoin() bool - // IsActivityStreamsLeave returns true if this property has a type of - // "Leave". When true, use the GetActivityStreamsLeave and - // SetActivityStreamsLeave methods to access and set this property. - IsActivityStreamsLeave() bool - // IsActivityStreamsLike returns true if this property has a type of - // "Like". When true, use the GetActivityStreamsLike and - // SetActivityStreamsLike methods to access and set this property. - IsActivityStreamsLike() bool - // IsActivityStreamsLink returns true if this property has a type of - // "Link". When true, use the GetActivityStreamsLink and - // SetActivityStreamsLink methods to access and set this property. - IsActivityStreamsLink() bool - // IsActivityStreamsListen returns true if this property has a type of - // "Listen". When true, use the GetActivityStreamsListen and - // SetActivityStreamsListen methods to access and set this property. - IsActivityStreamsListen() bool - // IsActivityStreamsMention returns true if this property has a type of - // "Mention". When true, use the GetActivityStreamsMention and - // SetActivityStreamsMention methods to access and set this property. - IsActivityStreamsMention() bool - // IsActivityStreamsMove returns true if this property has a type of - // "Move". When true, use the GetActivityStreamsMove and - // SetActivityStreamsMove methods to access and set this property. - IsActivityStreamsMove() bool - // IsActivityStreamsNote returns true if this property has a type of - // "Note". When true, use the GetActivityStreamsNote and - // SetActivityStreamsNote methods to access and set this property. - IsActivityStreamsNote() bool - // IsActivityStreamsObject returns true if this property has a type of - // "Object". When true, use the GetActivityStreamsObject and - // SetActivityStreamsObject methods to access and set this property. - IsActivityStreamsObject() bool - // IsActivityStreamsOffer returns true if this property has a type of - // "Offer". When true, use the GetActivityStreamsOffer and - // SetActivityStreamsOffer methods to access and set this property. - IsActivityStreamsOffer() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsActivityStreamsOrganization returns true if this property has a type - // of "Organization". When true, use the - // GetActivityStreamsOrganization and SetActivityStreamsOrganization - // methods to access and set this property. - IsActivityStreamsOrganization() bool - // IsActivityStreamsPage returns true if this property has a type of - // "Page". When true, use the GetActivityStreamsPage and - // SetActivityStreamsPage methods to access and set this property. - IsActivityStreamsPage() bool - // IsActivityStreamsPerson returns true if this property has a type of - // "Person". When true, use the GetActivityStreamsPerson and - // SetActivityStreamsPerson methods to access and set this property. - IsActivityStreamsPerson() bool - // IsActivityStreamsPlace returns true if this property has a type of - // "Place". When true, use the GetActivityStreamsPlace and - // SetActivityStreamsPlace methods to access and set this property. - IsActivityStreamsPlace() bool - // IsActivityStreamsProfile returns true if this property has a type of - // "Profile". When true, use the GetActivityStreamsProfile and - // SetActivityStreamsProfile methods to access and set this property. - IsActivityStreamsProfile() bool - // IsActivityStreamsQuestion returns true if this property has a type of - // "Question". When true, use the GetActivityStreamsQuestion and - // SetActivityStreamsQuestion methods to access and set this property. - IsActivityStreamsQuestion() bool - // IsActivityStreamsRead returns true if this property has a type of - // "Read". When true, use the GetActivityStreamsRead and - // SetActivityStreamsRead methods to access and set this property. - IsActivityStreamsRead() bool - // IsActivityStreamsReject returns true if this property has a type of - // "Reject". When true, use the GetActivityStreamsReject and - // SetActivityStreamsReject methods to access and set this property. - IsActivityStreamsReject() bool - // IsActivityStreamsRelationship returns true if this property has a type - // of "Relationship". When true, use the - // GetActivityStreamsRelationship and SetActivityStreamsRelationship - // methods to access and set this property. - IsActivityStreamsRelationship() bool - // IsActivityStreamsRemove returns true if this property has a type of - // "Remove". When true, use the GetActivityStreamsRemove and - // SetActivityStreamsRemove methods to access and set this property. - IsActivityStreamsRemove() bool - // IsActivityStreamsService returns true if this property has a type of - // "Service". When true, use the GetActivityStreamsService and - // SetActivityStreamsService methods to access and set this property. - IsActivityStreamsService() bool - // IsActivityStreamsTentativeAccept returns true if this property has a - // type of "TentativeAccept". When true, use the - // GetActivityStreamsTentativeAccept and - // SetActivityStreamsTentativeAccept methods to access and set this - // property. - IsActivityStreamsTentativeAccept() bool - // IsActivityStreamsTentativeReject returns true if this property has a - // type of "TentativeReject". When true, use the - // GetActivityStreamsTentativeReject and - // SetActivityStreamsTentativeReject methods to access and set this - // property. - IsActivityStreamsTentativeReject() bool - // IsActivityStreamsTombstone returns true if this property has a type of - // "Tombstone". When true, use the GetActivityStreamsTombstone and - // SetActivityStreamsTombstone methods to access and set this property. - IsActivityStreamsTombstone() bool - // IsActivityStreamsTravel returns true if this property has a type of - // "Travel". When true, use the GetActivityStreamsTravel and - // SetActivityStreamsTravel methods to access and set this property. - IsActivityStreamsTravel() bool - // IsActivityStreamsUndo returns true if this property has a type of - // "Undo". When true, use the GetActivityStreamsUndo and - // SetActivityStreamsUndo methods to access and set this property. - IsActivityStreamsUndo() bool - // IsActivityStreamsUpdate returns true if this property has a type of - // "Update". When true, use the GetActivityStreamsUpdate and - // SetActivityStreamsUpdate methods to access and set this property. - IsActivityStreamsUpdate() bool - // IsActivityStreamsVideo returns true if this property has a type of - // "Video". When true, use the GetActivityStreamsVideo and - // SetActivityStreamsVideo methods to access and set this property. - IsActivityStreamsVideo() bool - // IsActivityStreamsView returns true if this property has a type of - // "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 - // IsSchemaPropertyValue returns true if this property has a type of - // "PropertyValue". When true, use the GetSchemaPropertyValue and - // SetSchemaPropertyValue methods to access and set this property. - IsSchemaPropertyValue() bool - // IsTootEmoji returns true if this property has a type of "Emoji". When - // true, use the GetTootEmoji and SetTootEmoji methods to access and - // set this property. - IsTootEmoji() 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. - IsTootIdentityProof() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedEarlyItemsPropertyIterator) bool - // Name returns the name of this property: "ForgeFedEarlyItems". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedEarlyItemsPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedEarlyItemsPropertyIterator - // SetActivityStreamsAccept sets the value of this property. Calling - // IsActivityStreamsAccept afterwards returns true. - SetActivityStreamsAccept(v ActivityStreamsAccept) - // SetActivityStreamsActivity sets the value of this property. Calling - // IsActivityStreamsActivity afterwards returns true. - SetActivityStreamsActivity(v ActivityStreamsActivity) - // SetActivityStreamsAdd sets the value of this property. Calling - // IsActivityStreamsAdd afterwards returns true. - SetActivityStreamsAdd(v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets the value of this property. Calling - // IsActivityStreamsAnnounce afterwards returns true. - SetActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets the value of this property. Calling - // IsActivityStreamsApplication afterwards returns true. - SetActivityStreamsApplication(v ActivityStreamsApplication) - // SetActivityStreamsArrive sets the value of this property. Calling - // IsActivityStreamsArrive afterwards returns true. - SetActivityStreamsArrive(v ActivityStreamsArrive) - // SetActivityStreamsArticle sets the value of this property. Calling - // IsActivityStreamsArticle afterwards returns true. - SetActivityStreamsArticle(v ActivityStreamsArticle) - // SetActivityStreamsAudio sets the value of this property. Calling - // IsActivityStreamsAudio afterwards returns true. - SetActivityStreamsAudio(v ActivityStreamsAudio) - // SetActivityStreamsBlock sets the value of this property. Calling - // IsActivityStreamsBlock afterwards returns true. - SetActivityStreamsBlock(v ActivityStreamsBlock) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets the value of this property. Calling - // IsActivityStreamsCreate afterwards returns true. - SetActivityStreamsCreate(v ActivityStreamsCreate) - // SetActivityStreamsDelete sets the value of this property. Calling - // IsActivityStreamsDelete afterwards returns true. - SetActivityStreamsDelete(v ActivityStreamsDelete) - // SetActivityStreamsDislike sets the value of this property. Calling - // IsActivityStreamsDislike afterwards returns true. - SetActivityStreamsDislike(v ActivityStreamsDislike) - // SetActivityStreamsDocument sets the value of this property. Calling - // IsActivityStreamsDocument afterwards returns true. - SetActivityStreamsDocument(v ActivityStreamsDocument) - // SetActivityStreamsEvent sets the value of this property. Calling - // IsActivityStreamsEvent afterwards returns true. - SetActivityStreamsEvent(v ActivityStreamsEvent) - // SetActivityStreamsFlag sets the value of this property. Calling - // IsActivityStreamsFlag afterwards returns true. - SetActivityStreamsFlag(v ActivityStreamsFlag) - // SetActivityStreamsFollow sets the value of this property. Calling - // IsActivityStreamsFollow afterwards returns true. - SetActivityStreamsFollow(v ActivityStreamsFollow) - // SetActivityStreamsGroup sets the value of this property. Calling - // IsActivityStreamsGroup afterwards returns true. - SetActivityStreamsGroup(v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets the value of this property. Calling - // IsActivityStreamsIgnore afterwards returns true. - SetActivityStreamsIgnore(v ActivityStreamsIgnore) - // SetActivityStreamsImage sets the value of this property. Calling - // IsActivityStreamsImage afterwards returns true. - SetActivityStreamsImage(v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets the value of this property. - // Calling IsActivityStreamsIntransitiveActivity afterwards returns - // true. - SetActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets the value of this property. Calling - // IsActivityStreamsInvite afterwards returns true. - SetActivityStreamsInvite(v ActivityStreamsInvite) - // SetActivityStreamsJoin sets the value of this property. Calling - // IsActivityStreamsJoin afterwards returns true. - SetActivityStreamsJoin(v ActivityStreamsJoin) - // SetActivityStreamsLeave sets the value of this property. Calling - // IsActivityStreamsLeave afterwards returns true. - SetActivityStreamsLeave(v ActivityStreamsLeave) - // SetActivityStreamsLike sets the value of this property. Calling - // IsActivityStreamsLike afterwards returns true. - SetActivityStreamsLike(v ActivityStreamsLike) - // SetActivityStreamsLink sets the value of this property. Calling - // IsActivityStreamsLink afterwards returns true. - SetActivityStreamsLink(v ActivityStreamsLink) - // SetActivityStreamsListen sets the value of this property. Calling - // IsActivityStreamsListen afterwards returns true. - SetActivityStreamsListen(v ActivityStreamsListen) - // SetActivityStreamsMention sets the value of this property. Calling - // IsActivityStreamsMention afterwards returns true. - SetActivityStreamsMention(v ActivityStreamsMention) - // SetActivityStreamsMove sets the value of this property. Calling - // IsActivityStreamsMove afterwards returns true. - SetActivityStreamsMove(v ActivityStreamsMove) - // SetActivityStreamsNote sets the value of this property. Calling - // IsActivityStreamsNote afterwards returns true. - SetActivityStreamsNote(v ActivityStreamsNote) - // SetActivityStreamsObject sets the value of this property. Calling - // IsActivityStreamsObject afterwards returns true. - SetActivityStreamsObject(v ActivityStreamsObject) - // SetActivityStreamsOffer sets the value of this property. Calling - // IsActivityStreamsOffer afterwards returns true. - SetActivityStreamsOffer(v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets the value of this property. Calling - // IsActivityStreamsOrganization afterwards returns true. - SetActivityStreamsOrganization(v ActivityStreamsOrganization) - // SetActivityStreamsPage sets the value of this property. Calling - // IsActivityStreamsPage afterwards returns true. - SetActivityStreamsPage(v ActivityStreamsPage) - // SetActivityStreamsPerson sets the value of this property. Calling - // IsActivityStreamsPerson afterwards returns true. - SetActivityStreamsPerson(v ActivityStreamsPerson) - // SetActivityStreamsPlace sets the value of this property. Calling - // IsActivityStreamsPlace afterwards returns true. - SetActivityStreamsPlace(v ActivityStreamsPlace) - // SetActivityStreamsProfile sets the value of this property. Calling - // IsActivityStreamsProfile afterwards returns true. - SetActivityStreamsProfile(v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets the value of this property. Calling - // IsActivityStreamsQuestion afterwards returns true. - SetActivityStreamsQuestion(v ActivityStreamsQuestion) - // SetActivityStreamsRead sets the value of this property. Calling - // IsActivityStreamsRead afterwards returns true. - SetActivityStreamsRead(v ActivityStreamsRead) - // SetActivityStreamsReject sets the value of this property. Calling - // IsActivityStreamsReject afterwards returns true. - SetActivityStreamsReject(v ActivityStreamsReject) - // SetActivityStreamsRelationship sets the value of this property. Calling - // IsActivityStreamsRelationship afterwards returns true. - SetActivityStreamsRelationship(v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets the value of this property. Calling - // IsActivityStreamsRemove afterwards returns true. - SetActivityStreamsRemove(v ActivityStreamsRemove) - // SetActivityStreamsService sets the value of this property. Calling - // IsActivityStreamsService afterwards returns true. - SetActivityStreamsService(v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets the value of this property. - // Calling IsActivityStreamsTentativeAccept afterwards returns true. - SetActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets the value of this property. - // Calling IsActivityStreamsTentativeReject afterwards returns true. - SetActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets the value of this property. Calling - // IsActivityStreamsTombstone afterwards returns true. - SetActivityStreamsTombstone(v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets the value of this property. Calling - // IsActivityStreamsTravel afterwards returns true. - SetActivityStreamsTravel(v ActivityStreamsTravel) - // SetActivityStreamsUndo sets the value of this property. Calling - // IsActivityStreamsUndo afterwards returns true. - SetActivityStreamsUndo(v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets the value of this property. Calling - // IsActivityStreamsUpdate afterwards returns true. - SetActivityStreamsUpdate(v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets the value of this property. Calling - // IsActivityStreamsVideo afterwards returns true. - SetActivityStreamsVideo(v ActivityStreamsVideo) - // 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) - // SetSchemaPropertyValue sets the value of this property. Calling - // IsSchemaPropertyValue afterwards returns true. - SetSchemaPropertyValue(v SchemaPropertyValue) - // SetTootEmoji sets the value of this property. Calling IsTootEmoji - // afterwards returns true. - SetTootEmoji(v TootEmoji) - // SetTootIdentityProof sets the value of this property. Calling - // IsTootIdentityProof afterwards returns true. - SetTootIdentityProof(v TootIdentityProof) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} - -// In an ordered collection (or an ordered collection page) in which items (or -// orderedItems) contains a continuous subset of the collection’s items from -// one end, earlyItems identifiers a continuous subset from the other end. For -// example, if items lists the chronologically latest items, earlyItems would -// list the chrologically earliest items. The ordering rule for items in -// earlyItems MUST be the same as in items. For examle, if items lists items -// in reverse chronogical order, then so does earlyItems. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "earlyItems": [ -// "https://dev.example/aviva/outbox/3", -// "https://dev.example/aviva/outbox/2", -// "https://dev.example/aviva/outbox/1" -// ], -// "id": "https://dev.example/aviva/outbox", -// "orderedItems": [ -// "https://dev.example/aviva/outbox/712", -// "https://dev.example/aviva/outbox/711", -// "https://dev.example/aviva/outbox/710" -// ], -// "totalItems": 712, -// "type": "OrderedCollection" -// } -type ForgeFedEarlyItemsProperty interface { - // AppendActivityStreamsAccept appends a Accept value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAccept(v ActivityStreamsAccept) - // AppendActivityStreamsActivity appends a Activity value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsActivity(v ActivityStreamsActivity) - // AppendActivityStreamsAdd appends a Add value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAdd(v ActivityStreamsAdd) - // AppendActivityStreamsAnnounce appends a Announce value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // AppendActivityStreamsApplication appends a Application value to the - // back of a list of the property "earlyItems". Invalidates iterators - // that are traversing using Prev. - AppendActivityStreamsApplication(v ActivityStreamsApplication) - // AppendActivityStreamsArrive appends a Arrive value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsArrive(v ActivityStreamsArrive) - // AppendActivityStreamsArticle appends a Article value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsArticle(v ActivityStreamsArticle) - // AppendActivityStreamsAudio appends a Audio value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAudio(v ActivityStreamsAudio) - // AppendActivityStreamsBlock appends a Block value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsBlock(v ActivityStreamsBlock) - // AppendActivityStreamsCollection appends a Collection value to the back - // of a list of the property "earlyItems". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsCollection(v ActivityStreamsCollection) - // AppendActivityStreamsCollectionPage appends a CollectionPage value to - // the back of a list of the property "earlyItems". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // AppendActivityStreamsCreate appends a Create value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsCreate(v ActivityStreamsCreate) - // AppendActivityStreamsDelete appends a Delete value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsDelete(v ActivityStreamsDelete) - // AppendActivityStreamsDislike appends a Dislike value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsDislike(v ActivityStreamsDislike) - // AppendActivityStreamsDocument appends a Document value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsDocument(v ActivityStreamsDocument) - // AppendActivityStreamsEvent appends a Event value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsEvent(v ActivityStreamsEvent) - // AppendActivityStreamsFlag appends a Flag value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsFlag(v ActivityStreamsFlag) - // AppendActivityStreamsFollow appends a Follow value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsFollow(v ActivityStreamsFollow) - // AppendActivityStreamsGroup appends a Group value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsGroup(v ActivityStreamsGroup) - // AppendActivityStreamsIgnore appends a Ignore value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsIgnore(v ActivityStreamsIgnore) - // AppendActivityStreamsImage appends a Image value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsImage(v ActivityStreamsImage) - // AppendActivityStreamsIntransitiveActivity appends a - // IntransitiveActivity value to the back of a list of the property - // "earlyItems". Invalidates iterators that are traversing using Prev. - AppendActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // AppendActivityStreamsInvite appends a Invite value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsInvite(v ActivityStreamsInvite) - // AppendActivityStreamsJoin appends a Join value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsJoin(v ActivityStreamsJoin) - // AppendActivityStreamsLeave appends a Leave value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsLeave(v ActivityStreamsLeave) - // AppendActivityStreamsLike appends a Like value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsLike(v ActivityStreamsLike) - // AppendActivityStreamsLink appends a Link value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsLink(v ActivityStreamsLink) - // AppendActivityStreamsListen appends a Listen value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsListen(v ActivityStreamsListen) - // AppendActivityStreamsMention appends a Mention value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsMention(v ActivityStreamsMention) - // AppendActivityStreamsMove appends a Move value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsMove(v ActivityStreamsMove) - // AppendActivityStreamsNote appends a Note value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsNote(v ActivityStreamsNote) - // AppendActivityStreamsObject appends a Object value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsObject(v ActivityStreamsObject) - // AppendActivityStreamsOffer appends a Offer value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsOffer(v ActivityStreamsOffer) - // AppendActivityStreamsOrderedCollection appends a OrderedCollection - // value to the back of a list of the property "earlyItems". - // Invalidates iterators that are traversing using Prev. - AppendActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // AppendActivityStreamsOrderedCollectionPage appends a - // OrderedCollectionPage value to the back of a list of the property - // "earlyItems". Invalidates iterators that are traversing using Prev. - AppendActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // AppendActivityStreamsOrganization appends a Organization value to the - // back of a list of the property "earlyItems". Invalidates iterators - // that are traversing using Prev. - AppendActivityStreamsOrganization(v ActivityStreamsOrganization) - // AppendActivityStreamsPage appends a Page value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsPage(v ActivityStreamsPage) - // AppendActivityStreamsPerson appends a Person value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsPerson(v ActivityStreamsPerson) - // AppendActivityStreamsPlace appends a Place value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsPlace(v ActivityStreamsPlace) - // AppendActivityStreamsProfile appends a Profile value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsProfile(v ActivityStreamsProfile) - // AppendActivityStreamsQuestion appends a Question value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsQuestion(v ActivityStreamsQuestion) - // AppendActivityStreamsRead appends a Read value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsRead(v ActivityStreamsRead) - // AppendActivityStreamsReject appends a Reject value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsReject(v ActivityStreamsReject) - // AppendActivityStreamsRelationship appends a Relationship value to the - // back of a list of the property "earlyItems". Invalidates iterators - // that are traversing using Prev. - AppendActivityStreamsRelationship(v ActivityStreamsRelationship) - // AppendActivityStreamsRemove appends a Remove value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsRemove(v ActivityStreamsRemove) - // AppendActivityStreamsService appends a Service value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsService(v ActivityStreamsService) - // AppendActivityStreamsTentativeAccept appends a TentativeAccept value to - // the back of a list of the property "earlyItems". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // AppendActivityStreamsTentativeReject appends a TentativeReject value to - // the back of a list of the property "earlyItems". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // AppendActivityStreamsTombstone appends a Tombstone value to the back of - // a list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsTombstone(v ActivityStreamsTombstone) - // AppendActivityStreamsTravel appends a Travel value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsTravel(v ActivityStreamsTravel) - // AppendActivityStreamsUndo appends a Undo value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsUndo(v ActivityStreamsUndo) - // AppendActivityStreamsUpdate appends a Update value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsUpdate(v ActivityStreamsUpdate) - // AppendActivityStreamsVideo appends a Video value to the back of a list - // of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsVideo(v ActivityStreamsVideo) - // AppendActivityStreamsView appends a View value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "earlyItems". Invalidates iterators that are traversing - // using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "earlyItems". Invalidates iterators - // that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) - // AppendIRI appends an IRI value to the back of a list of the property - // "earlyItems" - AppendIRI(v *url.URL) - // AppendSchemaPropertyValue appends a PropertyValue value to the back of - // a list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendSchemaPropertyValue(v SchemaPropertyValue) - // AppendTootEmoji appends a Emoji value to the back of a list of the - // property "earlyItems". Invalidates iterators that are traversing - // using Prev. - AppendTootEmoji(v TootEmoji) - // AppendTootIdentityProof appends a IdentityProof value to the back of a - // list of the property "earlyItems". Invalidates iterators that are - // traversing using Prev. - AppendTootIdentityProof(v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "earlyItems". Invalidates iterators that are - // traversing using Prev. Returns an error if the type is not a valid - // one to set for this property. - AppendType(t Type) error - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedEarlyItemsPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedEarlyItemsPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedEarlyItemsPropertyIterator - // InsertActivityStreamsAccept inserts a Accept value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAccept(idx int, v ActivityStreamsAccept) - // InsertActivityStreamsActivity inserts a Activity value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsActivity(idx int, v ActivityStreamsActivity) - // InsertActivityStreamsAdd inserts a Add value at the specified index for - // a property "earlyItems". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertActivityStreamsAdd(idx int, v ActivityStreamsAdd) - // InsertActivityStreamsAnnounce inserts a Announce value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAnnounce(idx int, v ActivityStreamsAnnounce) - // InsertActivityStreamsApplication inserts a Application value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsApplication(idx int, v ActivityStreamsApplication) - // InsertActivityStreamsArrive inserts a Arrive value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsArrive(idx int, v ActivityStreamsArrive) - // InsertActivityStreamsArticle inserts a Article value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsArticle(idx int, v ActivityStreamsArticle) - // InsertActivityStreamsAudio inserts a Audio value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAudio(idx int, v ActivityStreamsAudio) - // InsertActivityStreamsBlock inserts a Block value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsBlock(idx int, v ActivityStreamsBlock) - // InsertActivityStreamsCollection inserts a Collection value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsCollection(idx int, v ActivityStreamsCollection) - // InsertActivityStreamsCollectionPage inserts a CollectionPage value at - // the specified index for a property "earlyItems". Existing elements - // at that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsCollectionPage(idx int, v ActivityStreamsCollectionPage) - // InsertActivityStreamsCreate inserts a Create value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsCreate(idx int, v ActivityStreamsCreate) - // InsertActivityStreamsDelete inserts a Delete value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDelete(idx int, v ActivityStreamsDelete) - // InsertActivityStreamsDislike inserts a Dislike value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDislike(idx int, v ActivityStreamsDislike) - // InsertActivityStreamsDocument inserts a Document value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDocument(idx int, v ActivityStreamsDocument) - // InsertActivityStreamsEvent inserts a Event value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsEvent(idx int, v ActivityStreamsEvent) - // InsertActivityStreamsFlag inserts a Flag value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsFlag(idx int, v ActivityStreamsFlag) - // InsertActivityStreamsFollow inserts a Follow value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsFollow(idx int, v ActivityStreamsFollow) - // InsertActivityStreamsGroup inserts a Group value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsGroup(idx int, v ActivityStreamsGroup) - // InsertActivityStreamsIgnore inserts a Ignore value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsIgnore(idx int, v ActivityStreamsIgnore) - // InsertActivityStreamsImage inserts a Image value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsImage(idx int, v ActivityStreamsImage) - // InsertActivityStreamsIntransitiveActivity inserts a - // IntransitiveActivity value at the specified index for a property - // "earlyItems". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertActivityStreamsIntransitiveActivity(idx int, v ActivityStreamsIntransitiveActivity) - // InsertActivityStreamsInvite inserts a Invite value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsInvite(idx int, v ActivityStreamsInvite) - // InsertActivityStreamsJoin inserts a Join value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsJoin(idx int, v ActivityStreamsJoin) - // InsertActivityStreamsLeave inserts a Leave value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsLeave(idx int, v ActivityStreamsLeave) - // InsertActivityStreamsLike inserts a Like value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsLike(idx int, v ActivityStreamsLike) - // InsertActivityStreamsLink inserts a Link value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsLink(idx int, v ActivityStreamsLink) - // InsertActivityStreamsListen inserts a Listen value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsListen(idx int, v ActivityStreamsListen) - // InsertActivityStreamsMention inserts a Mention value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsMention(idx int, v ActivityStreamsMention) - // InsertActivityStreamsMove inserts a Move value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsMove(idx int, v ActivityStreamsMove) - // InsertActivityStreamsNote inserts a Note value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsNote(idx int, v ActivityStreamsNote) - // InsertActivityStreamsObject inserts a Object value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsObject(idx int, v ActivityStreamsObject) - // InsertActivityStreamsOffer inserts a Offer value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsOffer(idx int, v ActivityStreamsOffer) - // InsertActivityStreamsOrderedCollection inserts a OrderedCollection - // value at the specified index for a property "earlyItems". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsOrderedCollection(idx int, v ActivityStreamsOrderedCollection) - // InsertActivityStreamsOrderedCollectionPage inserts a - // OrderedCollectionPage value at the specified index for a property - // "earlyItems". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertActivityStreamsOrderedCollectionPage(idx int, v ActivityStreamsOrderedCollectionPage) - // InsertActivityStreamsOrganization inserts a Organization value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsOrganization(idx int, v ActivityStreamsOrganization) - // InsertActivityStreamsPage inserts a Page value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPage(idx int, v ActivityStreamsPage) - // InsertActivityStreamsPerson inserts a Person value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPerson(idx int, v ActivityStreamsPerson) - // InsertActivityStreamsPlace inserts a Place value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPlace(idx int, v ActivityStreamsPlace) - // InsertActivityStreamsProfile inserts a Profile value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsProfile(idx int, v ActivityStreamsProfile) - // InsertActivityStreamsQuestion inserts a Question value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsQuestion(idx int, v ActivityStreamsQuestion) - // InsertActivityStreamsRead inserts a Read value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsRead(idx int, v ActivityStreamsRead) - // InsertActivityStreamsReject inserts a Reject value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsReject(idx int, v ActivityStreamsReject) - // InsertActivityStreamsRelationship inserts a Relationship value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsRelationship(idx int, v ActivityStreamsRelationship) - // InsertActivityStreamsRemove inserts a Remove value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsRemove(idx int, v ActivityStreamsRemove) - // InsertActivityStreamsService inserts a Service value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsService(idx int, v ActivityStreamsService) - // InsertActivityStreamsTentativeAccept inserts a TentativeAccept value at - // the specified index for a property "earlyItems". Existing elements - // at that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsTentativeAccept(idx int, v ActivityStreamsTentativeAccept) - // InsertActivityStreamsTentativeReject inserts a TentativeReject value at - // the specified index for a property "earlyItems". Existing elements - // at that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsTentativeReject(idx int, v ActivityStreamsTentativeReject) - // InsertActivityStreamsTombstone inserts a Tombstone value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertActivityStreamsTombstone(idx int, v ActivityStreamsTombstone) - // InsertActivityStreamsTravel inserts a Travel value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsTravel(idx int, v ActivityStreamsTravel) - // InsertActivityStreamsUndo inserts a Undo value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsUndo(idx int, v ActivityStreamsUndo) - // InsertActivityStreamsUpdate inserts a Update value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsUpdate(idx int, v ActivityStreamsUpdate) - // InsertActivityStreamsVideo inserts a Video value at the specified index - // for a property "earlyItems". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsVideo(idx int, v ActivityStreamsVideo) - // InsertActivityStreamsView inserts a View value at the specified index - // for a property "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 - // "earlyItems". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // InsertSchemaPropertyValue inserts a PropertyValue value at the - // specified index for a property "earlyItems". Existing elements at - // that index and higher are shifted back once. Invalidates all - // iterators. - InsertSchemaPropertyValue(idx int, v SchemaPropertyValue) - // InsertTootEmoji inserts a Emoji value at the specified index for a - // property "earlyItems". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertTootEmoji(idx int, v TootEmoji) - // InsertTootIdentityProof inserts a IdentityProof value at the specified - // index for a property "earlyItems". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertTootIdentityProof(idx int, v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "earlyItems". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - InsertType(idx int, t Type) error - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "earlyItems" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedEarlyItemsProperty) bool - // Name returns the name of this property ("earlyItems") with any alias. - Name() string - // PrependActivityStreamsAccept prepends a Accept value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsAccept(v ActivityStreamsAccept) - // PrependActivityStreamsActivity prepends a Activity value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsActivity(v ActivityStreamsActivity) - // PrependActivityStreamsAdd prepends a Add value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsAdd(v ActivityStreamsAdd) - // PrependActivityStreamsAnnounce prepends a Announce value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // PrependActivityStreamsApplication prepends a Application value to the - // front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependActivityStreamsApplication(v ActivityStreamsApplication) - // PrependActivityStreamsArrive prepends a Arrive value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsArrive(v ActivityStreamsArrive) - // PrependActivityStreamsArticle prepends a Article value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsArticle(v ActivityStreamsArticle) - // PrependActivityStreamsAudio prepends a Audio value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsAudio(v ActivityStreamsAudio) - // PrependActivityStreamsBlock prepends a Block value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsBlock(v ActivityStreamsBlock) - // PrependActivityStreamsCollection prepends a Collection value to the - // front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependActivityStreamsCollection(v ActivityStreamsCollection) - // PrependActivityStreamsCollectionPage prepends a CollectionPage value to - // the front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // PrependActivityStreamsCreate prepends a Create value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsCreate(v ActivityStreamsCreate) - // PrependActivityStreamsDelete prepends a Delete value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsDelete(v ActivityStreamsDelete) - // PrependActivityStreamsDislike prepends a Dislike value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsDislike(v ActivityStreamsDislike) - // PrependActivityStreamsDocument prepends a Document value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsDocument(v ActivityStreamsDocument) - // PrependActivityStreamsEvent prepends a Event value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsEvent(v ActivityStreamsEvent) - // PrependActivityStreamsFlag prepends a Flag value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsFlag(v ActivityStreamsFlag) - // PrependActivityStreamsFollow prepends a Follow value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsFollow(v ActivityStreamsFollow) - // PrependActivityStreamsGroup prepends a Group value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsGroup(v ActivityStreamsGroup) - // PrependActivityStreamsIgnore prepends a Ignore value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsIgnore(v ActivityStreamsIgnore) - // PrependActivityStreamsImage prepends a Image value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsImage(v ActivityStreamsImage) - // PrependActivityStreamsIntransitiveActivity prepends a - // IntransitiveActivity value to the front of a list of the property - // "earlyItems". Invalidates all iterators. - PrependActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // PrependActivityStreamsInvite prepends a Invite value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsInvite(v ActivityStreamsInvite) - // PrependActivityStreamsJoin prepends a Join value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsJoin(v ActivityStreamsJoin) - // PrependActivityStreamsLeave prepends a Leave value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsLeave(v ActivityStreamsLeave) - // PrependActivityStreamsLike prepends a Like value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsLike(v ActivityStreamsLike) - // PrependActivityStreamsLink prepends a Link value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsLink(v ActivityStreamsLink) - // PrependActivityStreamsListen prepends a Listen value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsListen(v ActivityStreamsListen) - // PrependActivityStreamsMention prepends a Mention value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsMention(v ActivityStreamsMention) - // PrependActivityStreamsMove prepends a Move value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsMove(v ActivityStreamsMove) - // PrependActivityStreamsNote prepends a Note value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsNote(v ActivityStreamsNote) - // PrependActivityStreamsObject prepends a Object value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsObject(v ActivityStreamsObject) - // PrependActivityStreamsOffer prepends a Offer value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsOffer(v ActivityStreamsOffer) - // PrependActivityStreamsOrderedCollection prepends a OrderedCollection - // value to the front of a list of the property "earlyItems". - // Invalidates all iterators. - PrependActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // PrependActivityStreamsOrderedCollectionPage prepends a - // OrderedCollectionPage value to the front of a list of the property - // "earlyItems". Invalidates all iterators. - PrependActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // PrependActivityStreamsOrganization prepends a Organization value to the - // front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependActivityStreamsOrganization(v ActivityStreamsOrganization) - // PrependActivityStreamsPage prepends a Page value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsPage(v ActivityStreamsPage) - // PrependActivityStreamsPerson prepends a Person value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsPerson(v ActivityStreamsPerson) - // PrependActivityStreamsPlace prepends a Place value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsPlace(v ActivityStreamsPlace) - // PrependActivityStreamsProfile prepends a Profile value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsProfile(v ActivityStreamsProfile) - // PrependActivityStreamsQuestion prepends a Question value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsQuestion(v ActivityStreamsQuestion) - // PrependActivityStreamsRead prepends a Read value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsRead(v ActivityStreamsRead) - // PrependActivityStreamsReject prepends a Reject value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsReject(v ActivityStreamsReject) - // PrependActivityStreamsRelationship prepends a Relationship value to the - // front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependActivityStreamsRelationship(v ActivityStreamsRelationship) - // PrependActivityStreamsRemove prepends a Remove value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsRemove(v ActivityStreamsRemove) - // PrependActivityStreamsService prepends a Service value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsService(v ActivityStreamsService) - // PrependActivityStreamsTentativeAccept prepends a TentativeAccept value - // to the front of a list of the property "earlyItems". Invalidates - // all iterators. - PrependActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // PrependActivityStreamsTentativeReject prepends a TentativeReject value - // to the front of a list of the property "earlyItems". Invalidates - // all iterators. - PrependActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // PrependActivityStreamsTombstone prepends a Tombstone value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsTombstone(v ActivityStreamsTombstone) - // PrependActivityStreamsTravel prepends a Travel value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsTravel(v ActivityStreamsTravel) - // PrependActivityStreamsUndo prepends a Undo value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsUndo(v ActivityStreamsUndo) - // PrependActivityStreamsUpdate prepends a Update value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsUpdate(v ActivityStreamsUpdate) - // PrependActivityStreamsVideo prepends a Video value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsVideo(v ActivityStreamsVideo) - // PrependActivityStreamsView prepends a View value to the front of a list - // of the property "earlyItems". Invalidates all iterators. - PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "earlyItems". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "earlyItems". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "earlyItems". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "earlyItems". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "earlyItems". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "earlyItems". Invalidates all - // iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) - // PrependIRI prepends an IRI value to the front of a list of the property - // "earlyItems". - PrependIRI(v *url.URL) - // PrependSchemaPropertyValue prepends a PropertyValue value to the front - // of a list of the property "earlyItems". Invalidates all iterators. - PrependSchemaPropertyValue(v SchemaPropertyValue) - // PrependTootEmoji prepends a Emoji value to the front of a list of the - // property "earlyItems". Invalidates all iterators. - PrependTootEmoji(v TootEmoji) - // PrependTootIdentityProof prepends a IdentityProof value to the front of - // a list of the property "earlyItems". Invalidates all iterators. - PrependTootIdentityProof(v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "earlyItems". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - PrependType(t Type) error - // Remove deletes an element at the specified index from a list of the - // property "earlyItems", regardless of its type. Panics if the index - // is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsAccept sets a Accept value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsAccept(idx int, v ActivityStreamsAccept) - // SetActivityStreamsActivity sets a Activity value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsActivity(idx int, v ActivityStreamsActivity) - // SetActivityStreamsAdd sets a Add value to be at the specified index for - // the property "earlyItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetActivityStreamsAdd(idx int, v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets a Announce value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsAnnounce(idx int, v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets a Application value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetActivityStreamsApplication(idx int, v ActivityStreamsApplication) - // SetActivityStreamsArrive sets a Arrive value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsArrive(idx int, v ActivityStreamsArrive) - // SetActivityStreamsArticle sets a Article value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsArticle(idx int, v ActivityStreamsArticle) - // SetActivityStreamsAudio sets a Audio value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsAudio(idx int, v ActivityStreamsAudio) - // SetActivityStreamsBlock sets a Block value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsBlock(idx int, v ActivityStreamsBlock) - // SetActivityStreamsCollection sets a Collection value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetActivityStreamsCollection(idx int, v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets a CollectionPage value to be at - // the specified index for the property "earlyItems". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsCollectionPage(idx int, v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets a Create value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsCreate(idx int, v ActivityStreamsCreate) - // SetActivityStreamsDelete sets a Delete value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsDelete(idx int, v ActivityStreamsDelete) - // SetActivityStreamsDislike sets a Dislike value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsDislike(idx int, v ActivityStreamsDislike) - // SetActivityStreamsDocument sets a Document value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsDocument(idx int, v ActivityStreamsDocument) - // SetActivityStreamsEvent sets a Event value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsEvent(idx int, v ActivityStreamsEvent) - // SetActivityStreamsFlag sets a Flag value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsFlag(idx int, v ActivityStreamsFlag) - // SetActivityStreamsFollow sets a Follow value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsFollow(idx int, v ActivityStreamsFollow) - // SetActivityStreamsGroup sets a Group value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsGroup(idx int, v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets a Ignore value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsIgnore(idx int, v ActivityStreamsIgnore) - // SetActivityStreamsImage sets a Image value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsImage(idx int, v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity - // value to be at the specified index for the property "earlyItems". - // Panics if the index is out of bounds. Invalidates all iterators. - SetActivityStreamsIntransitiveActivity(idx int, v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets a Invite value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsInvite(idx int, v ActivityStreamsInvite) - // SetActivityStreamsJoin sets a Join value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsJoin(idx int, v ActivityStreamsJoin) - // SetActivityStreamsLeave sets a Leave value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsLeave(idx int, v ActivityStreamsLeave) - // SetActivityStreamsLike sets a Like value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsLike(idx int, v ActivityStreamsLike) - // SetActivityStreamsLink sets a Link value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsLink(idx int, v ActivityStreamsLink) - // SetActivityStreamsListen sets a Listen value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsListen(idx int, v ActivityStreamsListen) - // SetActivityStreamsMention sets a Mention value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsMention(idx int, v ActivityStreamsMention) - // SetActivityStreamsMove sets a Move value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsMove(idx int, v ActivityStreamsMove) - // SetActivityStreamsNote sets a Note value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsNote(idx int, v ActivityStreamsNote) - // SetActivityStreamsObject sets a Object value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsObject(idx int, v ActivityStreamsObject) - // SetActivityStreamsOffer sets a Offer value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsOffer(idx int, v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets a OrderedCollection value to - // be at the specified index for the property "earlyItems". Panics if - // the index is out of bounds. Invalidates all iterators. - SetActivityStreamsOrderedCollection(idx int, v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage - // value to be at the specified index for the property "earlyItems". - // Panics if the index is out of bounds. Invalidates all iterators. - SetActivityStreamsOrderedCollectionPage(idx int, v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets a Organization value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetActivityStreamsOrganization(idx int, v ActivityStreamsOrganization) - // SetActivityStreamsPage sets a Page value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsPage(idx int, v ActivityStreamsPage) - // SetActivityStreamsPerson sets a Person value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsPerson(idx int, v ActivityStreamsPerson) - // SetActivityStreamsPlace sets a Place value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsPlace(idx int, v ActivityStreamsPlace) - // SetActivityStreamsProfile sets a Profile value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsProfile(idx int, v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets a Question value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsQuestion(idx int, v ActivityStreamsQuestion) - // SetActivityStreamsRead sets a Read value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsRead(idx int, v ActivityStreamsRead) - // SetActivityStreamsReject sets a Reject value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsReject(idx int, v ActivityStreamsReject) - // SetActivityStreamsRelationship sets a Relationship value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetActivityStreamsRelationship(idx int, v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets a Remove value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsRemove(idx int, v ActivityStreamsRemove) - // SetActivityStreamsService sets a Service value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsService(idx int, v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at - // the specified index for the property "earlyItems". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsTentativeAccept(idx int, v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets a TentativeReject value to be at - // the specified index for the property "earlyItems". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsTentativeReject(idx int, v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets a Tombstone value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetActivityStreamsTombstone(idx int, v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets a Travel value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsTravel(idx int, v ActivityStreamsTravel) - // SetActivityStreamsUndo sets a Undo value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsUndo(idx int, v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets a Update value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsUpdate(idx int, v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets a Video value to be at the specified index - // for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsVideo(idx int, v ActivityStreamsVideo) - // SetActivityStreamsView sets a View value to be at the specified index - // for the property "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 "earlyItems". 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 - // "earlyItems". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // SetSchemaPropertyValue sets a PropertyValue value to be at the - // specified index for the property "earlyItems". Panics if the index - // is out of bounds. Invalidates all iterators. - SetSchemaPropertyValue(idx int, v SchemaPropertyValue) - // SetTootEmoji sets a Emoji value to be at the specified index for the - // property "earlyItems". Panics if the index is out of bounds. - // Invalidates all iterators. - SetTootEmoji(idx int, v TootEmoji) - // SetTootIdentityProof sets a IdentityProof value to be at the specified - // index for the property "earlyItems". Panics if the index is out of - // bounds. Invalidates all iterators. - SetTootIdentityProof(idx int, v TootIdentityProof) - // SetType sets an arbitrary type value to the specified index of the - // property "earlyItems". Invalidates all iterators. Returns an error - // if the type is not a valid one to set for this property. Panics if - // the index is out of bounds. - SetType(idx int, t Type) error - // Swap swaps the location of values at two indices for the "earlyItems" - // property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesAdded_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesAdded_interface.go deleted file mode 100644 index b7c567cba..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesAdded_interface.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedFilesAddedPropertyIterator represents a single value for the -// "filesAdded" property. -type ForgeFedFilesAddedPropertyIterator interface { - // Get returns the value of this property. When IsXMLSchemaString returns - // false, Get will return any arbitrary value. - Get() string - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaString returns true if this property is set and not an IRI. - IsXMLSchemaString() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesAddedPropertyIterator) bool - // Name returns the name of this property: "ForgeFedFilesAdded". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedFilesAddedPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedFilesAddedPropertyIterator - // Set sets the value of this property. Calling IsXMLSchemaString - // afterwards will return true. - Set(v string) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} - -// Specifies a filename, as a relative path, relative to the top of the tree of -// files in the Repository, of a file that got added in this Commit, and -// didn’t exist in the previous version of the tree. -type ForgeFedFilesAddedProperty interface { - // AppendIRI appends an IRI value to the back of a list of the property - // "filesAdded" - AppendIRI(v *url.URL) - // AppendXMLSchemaString appends a string value to the back of a list of - // the property "filesAdded". Invalidates iterators that are - // traversing using Prev. - AppendXMLSchemaString(v string) - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedFilesAddedPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedFilesAddedPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedFilesAddedPropertyIterator - // Insert inserts an IRI value at the specified index for a property - // "filesAdded". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // InsertXMLSchemaString inserts a string value at the specified index for - // a property "filesAdded". Existing elements at that index and higher - // are shifted back once. Invalidates all iterators. - InsertXMLSchemaString(idx int, v string) - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "filesAdded" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesAddedProperty) bool - // Name returns the name of this property ("filesAdded") with any alias. - Name() string - // PrependIRI prepends an IRI value to the front of a list of the property - // "filesAdded". - PrependIRI(v *url.URL) - // PrependXMLSchemaString prepends a string value to the front of a list - // of the property "filesAdded". Invalidates all iterators. - PrependXMLSchemaString(v string) - // Remove deletes an element at the specified index from a list of the - // property "filesAdded", regardless of its type. Panics if the index - // is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets a string value to be at the specified index for the property - // "filesAdded". Panics if the index is out of bounds. Invalidates all - // iterators. - Set(idx int, v string) - // SetIRI sets an IRI value to be at the specified index for the property - // "filesAdded". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // Swap swaps the location of values at two indices for the "filesAdded" - // property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesModified_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesModified_interface.go deleted file mode 100644 index 928818716..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesModified_interface.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedFilesModifiedPropertyIterator represents a single value for the -// "filesModified" property. -type ForgeFedFilesModifiedPropertyIterator interface { - // Get returns the value of this property. When IsXMLSchemaString returns - // false, Get will return any arbitrary value. - Get() string - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaString returns true if this property is set and not an IRI. - IsXMLSchemaString() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesModifiedPropertyIterator) bool - // Name returns the name of this property: "ForgeFedFilesModified". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedFilesModifiedPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedFilesModifiedPropertyIterator - // Set sets the value of this property. Calling IsXMLSchemaString - // afterwards will return true. - Set(v string) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} - -// Specifies a filename, as a relative path, relative to the top of the tree of -// files in the Repository, of a file that existed in the previous version of -// the tree, and its contents got modified in this Commit. -type ForgeFedFilesModifiedProperty interface { - // AppendIRI appends an IRI value to the back of a list of the property - // "filesModified" - AppendIRI(v *url.URL) - // AppendXMLSchemaString appends a string value to the back of a list of - // the property "filesModified". Invalidates iterators that are - // traversing using Prev. - AppendXMLSchemaString(v string) - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedFilesModifiedPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedFilesModifiedPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedFilesModifiedPropertyIterator - // Insert inserts an IRI value at the specified index for a property - // "filesModified". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // InsertXMLSchemaString inserts a string value at the specified index for - // a property "filesModified". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertXMLSchemaString(idx int, v string) - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "filesModified" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesModifiedProperty) bool - // Name returns the name of this property ("filesModified") with any alias. - Name() string - // PrependIRI prepends an IRI value to the front of a list of the property - // "filesModified". - PrependIRI(v *url.URL) - // PrependXMLSchemaString prepends a string value to the front of a list - // of the property "filesModified". Invalidates all iterators. - PrependXMLSchemaString(v string) - // Remove deletes an element at the specified index from a list of the - // property "filesModified", regardless of its type. Panics if the - // index is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets a string value to be at the specified index for the property - // "filesModified". Panics if the index is out of bounds. Invalidates - // all iterators. - Set(idx int, v string) - // SetIRI sets an IRI value to be at the specified index for the property - // "filesModified". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // Swap swaps the location of values at two indices for the - // "filesModified" property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesRemoved_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesRemoved_interface.go deleted file mode 100644 index ecbbe8170..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_filesRemoved_interface.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedFilesRemovedPropertyIterator represents a single value for the -// "filesRemoved" property. -type ForgeFedFilesRemovedPropertyIterator interface { - // Get returns the value of this property. When IsXMLSchemaString returns - // false, Get will return any arbitrary value. - Get() string - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaString returns true if this property is set and not an IRI. - IsXMLSchemaString() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesRemovedPropertyIterator) bool - // Name returns the name of this property: "ForgeFedFilesRemoved". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedFilesRemovedPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedFilesRemovedPropertyIterator - // Set sets the value of this property. Calling IsXMLSchemaString - // afterwards will return true. - Set(v string) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} - -// Specifies a filename, as a relative path, relative to the top of the tree of -// files in the Repository, of a file that existed in the previous version of -// the tree, and got removed from the tree in this Commit. -type ForgeFedFilesRemovedProperty interface { - // AppendIRI appends an IRI value to the back of a list of the property - // "filesRemoved" - AppendIRI(v *url.URL) - // AppendXMLSchemaString appends a string value to the back of a list of - // the property "filesRemoved". Invalidates iterators that are - // traversing using Prev. - AppendXMLSchemaString(v string) - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedFilesRemovedPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedFilesRemovedPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedFilesRemovedPropertyIterator - // Insert inserts an IRI value at the specified index for a property - // "filesRemoved". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // InsertXMLSchemaString inserts a string value at the specified index for - // a property "filesRemoved". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertXMLSchemaString(idx int, v string) - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "filesRemoved" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedFilesRemovedProperty) bool - // Name returns the name of this property ("filesRemoved") with any alias. - Name() string - // PrependIRI prepends an IRI value to the front of a list of the property - // "filesRemoved". - PrependIRI(v *url.URL) - // PrependXMLSchemaString prepends a string value to the front of a list - // of the property "filesRemoved". Invalidates all iterators. - PrependXMLSchemaString(v string) - // Remove deletes an element at the specified index from a list of the - // property "filesRemoved", regardless of its type. Panics if the - // index is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets a string value to be at the specified index for the property - // "filesRemoved". Panics if the index is out of bounds. Invalidates - // all iterators. - Set(idx int, v string) - // SetIRI sets an IRI value to be at the specified index for the property - // "filesRemoved". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // Swap swaps the location of values at two indices for the "filesRemoved" - // property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_forks_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_forks_interface.go deleted file mode 100644 index 545c08b83..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_forks_interface.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies an OrderedCollection of Repositorys which were created as forks of -// this Repository, i.e. by cloning it. The order of the collection items is -// by reverse chronological order of the forking events. -type ForgeFedForksProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return an arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsIRI returns true if this property is an IRI. When true, use GetIRI - // and SetIRI to access and set this property - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedForksProperty) bool - // Name returns the name of this property: "forks". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetIRI sets the value of this property. Calling IsIRI afterwards - // returns true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_hash_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_hash_interface.go deleted file mode 100644 index 4f1a0b924..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_hash_interface.go +++ /dev/null @@ -1,56 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Specifies the hash associated with a Commit, which is a unique identifier of -// the commit within the Repository, usually generated as a cryptographic hash -// function of some (or all) of the commit’s data or metadata. For example, -// in Git it would be the SHA1 hash of the commit; in Darcs it would be the -// SHA1 hash of the patch info. -type ForgeFedHashProperty interface { - // Clear ensures no value of this property is set. Calling - // IsXMLSchemaString afterwards will return false. - Clear() - // Get returns the value of this property. When IsXMLSchemaString returns - // false, Get will return any arbitrary value. - Get() string - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaString returns true if this property is set and not an IRI. - IsXMLSchemaString() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedHashProperty) bool - // Name returns the name of this property: "hash". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets the value of this property. Calling IsXMLSchemaString - // afterwards will return true. - Set(v string) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_isResolved_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_isResolved_interface.go deleted file mode 100644 index 2567d86fa..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_isResolved_interface.go +++ /dev/null @@ -1,53 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Specifies whether the Ticket is closed, i.e. the work on it is done and it -// doesn’t need to attract attention anymore. -type ForgeFedIsResolvedProperty interface { - // Clear ensures no value of this property is set. Calling - // IsXMLSchemaBoolean afterwards will return false. - Clear() - // Get returns the value of this property. When IsXMLSchemaBoolean returns - // false, Get will return any arbitrary value. - Get() bool - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaBoolean returns true if this property is set and not an IRI. - IsXMLSchemaBoolean() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedIsResolvedProperty) bool - // Name returns the name of this property: "isResolved". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets the value of this property. Calling IsXMLSchemaBoolean - // afterwards will return true. - Set(v bool) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ref_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ref_interface.go deleted file mode 100644 index bedabcadc..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ref_interface.go +++ /dev/null @@ -1,66 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Specifies an identifier for a Branch, that is used in the Repository to -// uniquely refer to it. For example, in Git, "refs/heads/master" would be the -// ref of the master branch. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "context": "https://example.org/luke/myrepo", -// "id": "https://example.org/luke/myrepo/branches/master", -// "name": "master", -// "ref": "refs/heads/master", -// "type": "Branch" -// } -type ForgeFedRefProperty interface { - // Clear ensures no value of this property is set. Calling - // IsXMLSchemaString afterwards will return false. - Clear() - // Get returns the value of this property. When IsXMLSchemaString returns - // false, Get will return any arbitrary value. - Get() string - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return any arbitrary value. - GetIRI() *url.URL - // HasAny returns true if the value or IRI is set. - HasAny() bool - // IsIRI returns true if this property is an IRI. - IsIRI() bool - // IsXMLSchemaString returns true if this property is set and not an IRI. - IsXMLSchemaString() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedRefProperty) bool - // Name returns the name of this property: "ref". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // Set sets the value of this property. Calling IsXMLSchemaString - // afterwards will return true. - Set(v string) - // SetIRI sets the value of this property. Calling IsIRI afterwards will - // return true. - SetIRI(v *url.URL) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_team_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_team_interface.go deleted file mode 100644 index 9e8d88b26..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_team_interface.go +++ /dev/null @@ -1,142 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Specifies a Collection of actors who are working on the object, or responsible -// for it, or managing or administrating it, or having edit access to it. For -// example, for a Repository, it could be the people who have push/edit -// access, the "collaborators" of the repository. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://w3id.org/security/v1", -// "https://forgefed.peers.community/ns" -// ], -// "followers": "https://dev.example/aviva/treesim/followers", -// "id": "https://dev.example/aviva/treesim", -// "inbox": "https://dev.example/aviva/treesim/inbox", -// "name": "Tree Growth 3D Simulation", -// "outbox": "https://dev.example/aviva/treesim/outbox", -// "publicKey": { -// "id": "https://dev.example/aviva/treesim#main-key", -// "owner": "https://dev.example/aviva/treesim", -// "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhki....." -// }, -// "summary": "\u003cp\u003eTree growth 3D simulator for my nature -// exploration game\u003c/p\u003e", -// "team": "https://dev.example/aviva/treesim/team", -// "type": "Repository" -// } -// -// { -// "@context": "https://www.w3.org/ns/activitystreams", -// "id": "https://dev.example/aviva/treesim/team", -// "items": [ -// "https://dev.example/aviva", -// "https://dev.example/luke", -// "https://code.community/users/lorax" -// ], -// "totalItems": 3, -// "type": "Collection" -// } -type ForgeFedTeamProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetIRI returns the IRI of this property. When IsIRI returns false, - // GetIRI will return an arbitrary value. - GetIRI() *url.URL - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsIRI returns true if this property is an IRI. When true, use GetIRI - // and SetIRI to access and set this property - IsIRI() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedTeamProperty) bool - // Name returns the name of this property: "team". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetIRI sets the value of this property. Calling IsIRI afterwards - // returns true. - SetIRI(v *url.URL) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ticketsTrackedBy_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ticketsTrackedBy_interface.go deleted file mode 100644 index 6d69339e1..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_ticketsTrackedBy_interface.go +++ /dev/null @@ -1,756 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// Identifies the actor which tracks tickets related to the given object. This is -// the actor to whom you send tickets you’d like to open against the object. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "id": "https://dev.example/aviva/treesim", -// "name": "Tree Growth 3D Simulation", -// "summary": "\u003cp\u003eTree growth 3D simulator for my nature -// exploration game\u003c/p\u003e", -// "ticketsTrackedBy": "https://bugs.example/projects/treesim", -// "type": "Repository" -// } -type ForgeFedTicketsTrackedByProperty interface { - // Clear ensures no value of this property is set. Calling HasAny or any - // of the 'Is' methods afterwards will return false. - Clear() - // GetActivityStreamsAccept returns the value of this property. When - // IsActivityStreamsAccept returns false, GetActivityStreamsAccept - // will return an arbitrary value. - GetActivityStreamsAccept() ActivityStreamsAccept - // GetActivityStreamsActivity returns the value of this property. When - // IsActivityStreamsActivity returns false, GetActivityStreamsActivity - // will return an arbitrary value. - GetActivityStreamsActivity() ActivityStreamsActivity - // GetActivityStreamsAdd returns the value of this property. When - // IsActivityStreamsAdd returns false, GetActivityStreamsAdd will - // return an arbitrary value. - GetActivityStreamsAdd() ActivityStreamsAdd - // GetActivityStreamsAnnounce returns the value of this property. When - // IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce - // will return an arbitrary value. - GetActivityStreamsAnnounce() ActivityStreamsAnnounce - // GetActivityStreamsApplication returns the value of this property. When - // IsActivityStreamsApplication returns false, - // GetActivityStreamsApplication will return an arbitrary value. - GetActivityStreamsApplication() ActivityStreamsApplication - // GetActivityStreamsArrive returns the value of this property. When - // IsActivityStreamsArrive returns false, GetActivityStreamsArrive - // will return an arbitrary value. - GetActivityStreamsArrive() ActivityStreamsArrive - // GetActivityStreamsArticle returns the value of this property. When - // IsActivityStreamsArticle returns false, GetActivityStreamsArticle - // will return an arbitrary value. - GetActivityStreamsArticle() ActivityStreamsArticle - // GetActivityStreamsAudio returns the value of this property. When - // IsActivityStreamsAudio returns false, GetActivityStreamsAudio will - // return an arbitrary value. - GetActivityStreamsAudio() ActivityStreamsAudio - // GetActivityStreamsBlock returns the value of this property. When - // IsActivityStreamsBlock returns false, GetActivityStreamsBlock will - // return an arbitrary value. - GetActivityStreamsBlock() ActivityStreamsBlock - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsCreate returns the value of this property. When - // IsActivityStreamsCreate returns false, GetActivityStreamsCreate - // will return an arbitrary value. - GetActivityStreamsCreate() ActivityStreamsCreate - // GetActivityStreamsDelete returns the value of this property. When - // IsActivityStreamsDelete returns false, GetActivityStreamsDelete - // will return an arbitrary value. - GetActivityStreamsDelete() ActivityStreamsDelete - // GetActivityStreamsDislike returns the value of this property. When - // IsActivityStreamsDislike returns false, GetActivityStreamsDislike - // will return an arbitrary value. - GetActivityStreamsDislike() ActivityStreamsDislike - // GetActivityStreamsDocument returns the value of this property. When - // IsActivityStreamsDocument returns false, GetActivityStreamsDocument - // will return an arbitrary value. - GetActivityStreamsDocument() ActivityStreamsDocument - // GetActivityStreamsEvent returns the value of this property. When - // IsActivityStreamsEvent returns false, GetActivityStreamsEvent will - // return an arbitrary value. - GetActivityStreamsEvent() ActivityStreamsEvent - // GetActivityStreamsFlag returns the value of this property. When - // IsActivityStreamsFlag returns false, GetActivityStreamsFlag will - // return an arbitrary value. - GetActivityStreamsFlag() ActivityStreamsFlag - // GetActivityStreamsFollow returns the value of this property. When - // IsActivityStreamsFollow returns false, GetActivityStreamsFollow - // will return an arbitrary value. - GetActivityStreamsFollow() ActivityStreamsFollow - // GetActivityStreamsGroup returns the value of this property. When - // IsActivityStreamsGroup returns false, GetActivityStreamsGroup will - // return an arbitrary value. - GetActivityStreamsGroup() ActivityStreamsGroup - // GetActivityStreamsIgnore returns the value of this property. When - // IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore - // will return an arbitrary value. - GetActivityStreamsIgnore() ActivityStreamsIgnore - // GetActivityStreamsImage returns the value of this property. When - // IsActivityStreamsImage returns false, GetActivityStreamsImage will - // return an arbitrary value. - GetActivityStreamsImage() ActivityStreamsImage - // GetActivityStreamsIntransitiveActivity returns the value of this - // property. When IsActivityStreamsIntransitiveActivity returns false, - // GetActivityStreamsIntransitiveActivity will return an arbitrary - // value. - GetActivityStreamsIntransitiveActivity() ActivityStreamsIntransitiveActivity - // GetActivityStreamsInvite returns the value of this property. When - // IsActivityStreamsInvite returns false, GetActivityStreamsInvite - // will return an arbitrary value. - GetActivityStreamsInvite() ActivityStreamsInvite - // GetActivityStreamsJoin returns the value of this property. When - // IsActivityStreamsJoin returns false, GetActivityStreamsJoin will - // return an arbitrary value. - GetActivityStreamsJoin() ActivityStreamsJoin - // GetActivityStreamsLeave returns the value of this property. When - // IsActivityStreamsLeave returns false, GetActivityStreamsLeave will - // return an arbitrary value. - GetActivityStreamsLeave() ActivityStreamsLeave - // GetActivityStreamsLike returns the value of this property. When - // IsActivityStreamsLike returns false, GetActivityStreamsLike will - // return an arbitrary value. - GetActivityStreamsLike() ActivityStreamsLike - // GetActivityStreamsListen returns the value of this property. When - // IsActivityStreamsListen returns false, GetActivityStreamsListen - // will return an arbitrary value. - GetActivityStreamsListen() ActivityStreamsListen - // GetActivityStreamsMove returns the value of this property. When - // IsActivityStreamsMove returns false, GetActivityStreamsMove will - // return an arbitrary value. - GetActivityStreamsMove() ActivityStreamsMove - // GetActivityStreamsNote returns the value of this property. When - // IsActivityStreamsNote returns false, GetActivityStreamsNote will - // return an arbitrary value. - GetActivityStreamsNote() ActivityStreamsNote - // GetActivityStreamsObject returns the value of this property. When - // IsActivityStreamsObject returns false, GetActivityStreamsObject - // will return an arbitrary value. - GetActivityStreamsObject() ActivityStreamsObject - // GetActivityStreamsOffer returns the value of this property. When - // IsActivityStreamsOffer returns false, GetActivityStreamsOffer will - // return an arbitrary value. - GetActivityStreamsOffer() ActivityStreamsOffer - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetActivityStreamsOrganization returns the value of this property. When - // IsActivityStreamsOrganization returns false, - // GetActivityStreamsOrganization will return an arbitrary value. - GetActivityStreamsOrganization() ActivityStreamsOrganization - // GetActivityStreamsPage returns the value of this property. When - // IsActivityStreamsPage returns false, GetActivityStreamsPage will - // return an arbitrary value. - GetActivityStreamsPage() ActivityStreamsPage - // GetActivityStreamsPerson returns the value of this property. When - // IsActivityStreamsPerson returns false, GetActivityStreamsPerson - // will return an arbitrary value. - GetActivityStreamsPerson() ActivityStreamsPerson - // GetActivityStreamsPlace returns the value of this property. When - // IsActivityStreamsPlace returns false, GetActivityStreamsPlace will - // return an arbitrary value. - GetActivityStreamsPlace() ActivityStreamsPlace - // GetActivityStreamsProfile returns the value of this property. When - // IsActivityStreamsProfile returns false, GetActivityStreamsProfile - // will return an arbitrary value. - GetActivityStreamsProfile() ActivityStreamsProfile - // GetActivityStreamsQuestion returns the value of this property. When - // IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion - // will return an arbitrary value. - GetActivityStreamsQuestion() ActivityStreamsQuestion - // GetActivityStreamsRead returns the value of this property. When - // IsActivityStreamsRead returns false, GetActivityStreamsRead will - // return an arbitrary value. - GetActivityStreamsRead() ActivityStreamsRead - // GetActivityStreamsReject returns the value of this property. When - // IsActivityStreamsReject returns false, GetActivityStreamsReject - // will return an arbitrary value. - GetActivityStreamsReject() ActivityStreamsReject - // GetActivityStreamsRelationship returns the value of this property. When - // IsActivityStreamsRelationship returns false, - // GetActivityStreamsRelationship will return an arbitrary value. - GetActivityStreamsRelationship() ActivityStreamsRelationship - // GetActivityStreamsRemove returns the value of this property. When - // IsActivityStreamsRemove returns false, GetActivityStreamsRemove - // will return an arbitrary value. - GetActivityStreamsRemove() ActivityStreamsRemove - // GetActivityStreamsService returns the value of this property. When - // IsActivityStreamsService returns false, GetActivityStreamsService - // will return an arbitrary value. - GetActivityStreamsService() ActivityStreamsService - // GetActivityStreamsTentativeAccept returns the value of this property. - // When IsActivityStreamsTentativeAccept returns false, - // GetActivityStreamsTentativeAccept will return an arbitrary value. - GetActivityStreamsTentativeAccept() ActivityStreamsTentativeAccept - // GetActivityStreamsTentativeReject returns the value of this property. - // When IsActivityStreamsTentativeReject returns false, - // GetActivityStreamsTentativeReject will return an arbitrary value. - GetActivityStreamsTentativeReject() ActivityStreamsTentativeReject - // GetActivityStreamsTombstone returns the value of this property. When - // IsActivityStreamsTombstone returns false, - // GetActivityStreamsTombstone will return an arbitrary value. - GetActivityStreamsTombstone() ActivityStreamsTombstone - // GetActivityStreamsTravel returns the value of this property. When - // IsActivityStreamsTravel returns false, GetActivityStreamsTravel - // will return an arbitrary value. - GetActivityStreamsTravel() ActivityStreamsTravel - // GetActivityStreamsUndo returns the value of this property. When - // IsActivityStreamsUndo returns false, GetActivityStreamsUndo will - // return an arbitrary value. - GetActivityStreamsUndo() ActivityStreamsUndo - // GetActivityStreamsUpdate returns the value of this property. When - // IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate - // will return an arbitrary value. - GetActivityStreamsUpdate() ActivityStreamsUpdate - // GetActivityStreamsVideo returns the value of this property. When - // IsActivityStreamsVideo returns false, GetActivityStreamsVideo will - // return an arbitrary value. - GetActivityStreamsVideo() ActivityStreamsVideo - // GetActivityStreamsView returns the value of this property. When - // 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 - // GetSchemaPropertyValue returns the value of this property. When - // IsSchemaPropertyValue returns false, GetSchemaPropertyValue will - // return an arbitrary value. - GetSchemaPropertyValue() SchemaPropertyValue - // GetTootEmoji returns the value of this property. When IsTootEmoji - // returns false, GetTootEmoji will return an arbitrary value. - GetTootEmoji() TootEmoji - // GetTootIdentityProof returns the value of this property. When - // IsTootIdentityProof returns false, GetTootIdentityProof will return - // an arbitrary value. - GetTootIdentityProof() TootIdentityProof - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsAccept returns true if this property has a type of - // "Accept". When true, use the GetActivityStreamsAccept and - // SetActivityStreamsAccept methods to access and set this property. - IsActivityStreamsAccept() bool - // IsActivityStreamsActivity returns true if this property has a type of - // "Activity". When true, use the GetActivityStreamsActivity and - // SetActivityStreamsActivity methods to access and set this property. - IsActivityStreamsActivity() bool - // IsActivityStreamsAdd returns true if this property has a type of "Add". - // When true, use the GetActivityStreamsAdd and SetActivityStreamsAdd - // methods to access and set this property. - IsActivityStreamsAdd() bool - // IsActivityStreamsAnnounce returns true if this property has a type of - // "Announce". When true, use the GetActivityStreamsAnnounce and - // SetActivityStreamsAnnounce methods to access and set this property. - IsActivityStreamsAnnounce() bool - // IsActivityStreamsApplication returns true if this property has a type - // of "Application". When true, use the GetActivityStreamsApplication - // and SetActivityStreamsApplication methods to access and set this - // property. - IsActivityStreamsApplication() bool - // IsActivityStreamsArrive returns true if this property has a type of - // "Arrive". When true, use the GetActivityStreamsArrive and - // SetActivityStreamsArrive methods to access and set this property. - IsActivityStreamsArrive() bool - // IsActivityStreamsArticle returns true if this property has a type of - // "Article". When true, use the GetActivityStreamsArticle and - // SetActivityStreamsArticle methods to access and set this property. - IsActivityStreamsArticle() bool - // IsActivityStreamsAudio returns true if this property has a type of - // "Audio". When true, use the GetActivityStreamsAudio and - // SetActivityStreamsAudio methods to access and set this property. - IsActivityStreamsAudio() bool - // IsActivityStreamsBlock returns true if this property has a type of - // "Block". When true, use the GetActivityStreamsBlock and - // SetActivityStreamsBlock methods to access and set this property. - IsActivityStreamsBlock() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsCreate returns true if this property has a type of - // "Create". When true, use the GetActivityStreamsCreate and - // SetActivityStreamsCreate methods to access and set this property. - IsActivityStreamsCreate() bool - // IsActivityStreamsDelete returns true if this property has a type of - // "Delete". When true, use the GetActivityStreamsDelete and - // SetActivityStreamsDelete methods to access and set this property. - IsActivityStreamsDelete() bool - // IsActivityStreamsDislike returns true if this property has a type of - // "Dislike". When true, use the GetActivityStreamsDislike and - // SetActivityStreamsDislike methods to access and set this property. - IsActivityStreamsDislike() bool - // IsActivityStreamsDocument returns true if this property has a type of - // "Document". When true, use the GetActivityStreamsDocument and - // SetActivityStreamsDocument methods to access and set this property. - IsActivityStreamsDocument() bool - // IsActivityStreamsEvent returns true if this property has a type of - // "Event". When true, use the GetActivityStreamsEvent and - // SetActivityStreamsEvent methods to access and set this property. - IsActivityStreamsEvent() bool - // IsActivityStreamsFlag returns true if this property has a type of - // "Flag". When true, use the GetActivityStreamsFlag and - // SetActivityStreamsFlag methods to access and set this property. - IsActivityStreamsFlag() bool - // IsActivityStreamsFollow returns true if this property has a type of - // "Follow". When true, use the GetActivityStreamsFollow and - // SetActivityStreamsFollow methods to access and set this property. - IsActivityStreamsFollow() bool - // IsActivityStreamsGroup returns true if this property has a type of - // "Group". When true, use the GetActivityStreamsGroup and - // SetActivityStreamsGroup methods to access and set this property. - IsActivityStreamsGroup() bool - // IsActivityStreamsIgnore returns true if this property has a type of - // "Ignore". When true, use the GetActivityStreamsIgnore and - // SetActivityStreamsIgnore methods to access and set this property. - IsActivityStreamsIgnore() bool - // IsActivityStreamsImage returns true if this property has a type of - // "Image". When true, use the GetActivityStreamsImage and - // SetActivityStreamsImage methods to access and set this property. - IsActivityStreamsImage() bool - // IsActivityStreamsIntransitiveActivity returns true if this property has - // a type of "IntransitiveActivity". When true, use the - // GetActivityStreamsIntransitiveActivity and - // SetActivityStreamsIntransitiveActivity methods to access and set - // this property. - IsActivityStreamsIntransitiveActivity() bool - // IsActivityStreamsInvite returns true if this property has a type of - // "Invite". When true, use the GetActivityStreamsInvite and - // SetActivityStreamsInvite methods to access and set this property. - IsActivityStreamsInvite() bool - // IsActivityStreamsJoin returns true if this property has a type of - // "Join". When true, use the GetActivityStreamsJoin and - // SetActivityStreamsJoin methods to access and set this property. - IsActivityStreamsJoin() bool - // IsActivityStreamsLeave returns true if this property has a type of - // "Leave". When true, use the GetActivityStreamsLeave and - // SetActivityStreamsLeave methods to access and set this property. - IsActivityStreamsLeave() bool - // IsActivityStreamsLike returns true if this property has a type of - // "Like". When true, use the GetActivityStreamsLike and - // SetActivityStreamsLike methods to access and set this property. - IsActivityStreamsLike() bool - // IsActivityStreamsListen returns true if this property has a type of - // "Listen". When true, use the GetActivityStreamsListen and - // SetActivityStreamsListen methods to access and set this property. - IsActivityStreamsListen() bool - // IsActivityStreamsMove returns true if this property has a type of - // "Move". When true, use the GetActivityStreamsMove and - // SetActivityStreamsMove methods to access and set this property. - IsActivityStreamsMove() bool - // IsActivityStreamsNote returns true if this property has a type of - // "Note". When true, use the GetActivityStreamsNote and - // SetActivityStreamsNote methods to access and set this property. - IsActivityStreamsNote() bool - // IsActivityStreamsObject returns true if this property has a type of - // "Object". When true, use the GetActivityStreamsObject and - // SetActivityStreamsObject methods to access and set this property. - IsActivityStreamsObject() bool - // IsActivityStreamsOffer returns true if this property has a type of - // "Offer". When true, use the GetActivityStreamsOffer and - // SetActivityStreamsOffer methods to access and set this property. - IsActivityStreamsOffer() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsActivityStreamsOrganization returns true if this property has a type - // of "Organization". When true, use the - // GetActivityStreamsOrganization and SetActivityStreamsOrganization - // methods to access and set this property. - IsActivityStreamsOrganization() bool - // IsActivityStreamsPage returns true if this property has a type of - // "Page". When true, use the GetActivityStreamsPage and - // SetActivityStreamsPage methods to access and set this property. - IsActivityStreamsPage() bool - // IsActivityStreamsPerson returns true if this property has a type of - // "Person". When true, use the GetActivityStreamsPerson and - // SetActivityStreamsPerson methods to access and set this property. - IsActivityStreamsPerson() bool - // IsActivityStreamsPlace returns true if this property has a type of - // "Place". When true, use the GetActivityStreamsPlace and - // SetActivityStreamsPlace methods to access and set this property. - IsActivityStreamsPlace() bool - // IsActivityStreamsProfile returns true if this property has a type of - // "Profile". When true, use the GetActivityStreamsProfile and - // SetActivityStreamsProfile methods to access and set this property. - IsActivityStreamsProfile() bool - // IsActivityStreamsQuestion returns true if this property has a type of - // "Question". When true, use the GetActivityStreamsQuestion and - // SetActivityStreamsQuestion methods to access and set this property. - IsActivityStreamsQuestion() bool - // IsActivityStreamsRead returns true if this property has a type of - // "Read". When true, use the GetActivityStreamsRead and - // SetActivityStreamsRead methods to access and set this property. - IsActivityStreamsRead() bool - // IsActivityStreamsReject returns true if this property has a type of - // "Reject". When true, use the GetActivityStreamsReject and - // SetActivityStreamsReject methods to access and set this property. - IsActivityStreamsReject() bool - // IsActivityStreamsRelationship returns true if this property has a type - // of "Relationship". When true, use the - // GetActivityStreamsRelationship and SetActivityStreamsRelationship - // methods to access and set this property. - IsActivityStreamsRelationship() bool - // IsActivityStreamsRemove returns true if this property has a type of - // "Remove". When true, use the GetActivityStreamsRemove and - // SetActivityStreamsRemove methods to access and set this property. - IsActivityStreamsRemove() bool - // IsActivityStreamsService returns true if this property has a type of - // "Service". When true, use the GetActivityStreamsService and - // SetActivityStreamsService methods to access and set this property. - IsActivityStreamsService() bool - // IsActivityStreamsTentativeAccept returns true if this property has a - // type of "TentativeAccept". When true, use the - // GetActivityStreamsTentativeAccept and - // SetActivityStreamsTentativeAccept methods to access and set this - // property. - IsActivityStreamsTentativeAccept() bool - // IsActivityStreamsTentativeReject returns true if this property has a - // type of "TentativeReject". When true, use the - // GetActivityStreamsTentativeReject and - // SetActivityStreamsTentativeReject methods to access and set this - // property. - IsActivityStreamsTentativeReject() bool - // IsActivityStreamsTombstone returns true if this property has a type of - // "Tombstone". When true, use the GetActivityStreamsTombstone and - // SetActivityStreamsTombstone methods to access and set this property. - IsActivityStreamsTombstone() bool - // IsActivityStreamsTravel returns true if this property has a type of - // "Travel". When true, use the GetActivityStreamsTravel and - // SetActivityStreamsTravel methods to access and set this property. - IsActivityStreamsTravel() bool - // IsActivityStreamsUndo returns true if this property has a type of - // "Undo". When true, use the GetActivityStreamsUndo and - // SetActivityStreamsUndo methods to access and set this property. - IsActivityStreamsUndo() bool - // IsActivityStreamsUpdate returns true if this property has a type of - // "Update". When true, use the GetActivityStreamsUpdate and - // SetActivityStreamsUpdate methods to access and set this property. - IsActivityStreamsUpdate() bool - // IsActivityStreamsVideo returns true if this property has a type of - // "Video". When true, use the GetActivityStreamsVideo and - // SetActivityStreamsVideo methods to access and set this property. - IsActivityStreamsVideo() bool - // IsActivityStreamsView returns true if this property has a type of - // "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 - // IsSchemaPropertyValue returns true if this property has a type of - // "PropertyValue". When true, use the GetSchemaPropertyValue and - // SetSchemaPropertyValue methods to access and set this property. - IsSchemaPropertyValue() bool - // IsTootEmoji returns true if this property has a type of "Emoji". When - // true, use the GetTootEmoji and SetTootEmoji methods to access and - // set this property. - IsTootEmoji() 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. - IsTootIdentityProof() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedTicketsTrackedByProperty) bool - // Name returns the name of this property: "ticketsTrackedBy". - Name() string - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsAccept sets the value of this property. Calling - // IsActivityStreamsAccept afterwards returns true. - SetActivityStreamsAccept(v ActivityStreamsAccept) - // SetActivityStreamsActivity sets the value of this property. Calling - // IsActivityStreamsActivity afterwards returns true. - SetActivityStreamsActivity(v ActivityStreamsActivity) - // SetActivityStreamsAdd sets the value of this property. Calling - // IsActivityStreamsAdd afterwards returns true. - SetActivityStreamsAdd(v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets the value of this property. Calling - // IsActivityStreamsAnnounce afterwards returns true. - SetActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets the value of this property. Calling - // IsActivityStreamsApplication afterwards returns true. - SetActivityStreamsApplication(v ActivityStreamsApplication) - // SetActivityStreamsArrive sets the value of this property. Calling - // IsActivityStreamsArrive afterwards returns true. - SetActivityStreamsArrive(v ActivityStreamsArrive) - // SetActivityStreamsArticle sets the value of this property. Calling - // IsActivityStreamsArticle afterwards returns true. - SetActivityStreamsArticle(v ActivityStreamsArticle) - // SetActivityStreamsAudio sets the value of this property. Calling - // IsActivityStreamsAudio afterwards returns true. - SetActivityStreamsAudio(v ActivityStreamsAudio) - // SetActivityStreamsBlock sets the value of this property. Calling - // IsActivityStreamsBlock afterwards returns true. - SetActivityStreamsBlock(v ActivityStreamsBlock) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets the value of this property. Calling - // IsActivityStreamsCreate afterwards returns true. - SetActivityStreamsCreate(v ActivityStreamsCreate) - // SetActivityStreamsDelete sets the value of this property. Calling - // IsActivityStreamsDelete afterwards returns true. - SetActivityStreamsDelete(v ActivityStreamsDelete) - // SetActivityStreamsDislike sets the value of this property. Calling - // IsActivityStreamsDislike afterwards returns true. - SetActivityStreamsDislike(v ActivityStreamsDislike) - // SetActivityStreamsDocument sets the value of this property. Calling - // IsActivityStreamsDocument afterwards returns true. - SetActivityStreamsDocument(v ActivityStreamsDocument) - // SetActivityStreamsEvent sets the value of this property. Calling - // IsActivityStreamsEvent afterwards returns true. - SetActivityStreamsEvent(v ActivityStreamsEvent) - // SetActivityStreamsFlag sets the value of this property. Calling - // IsActivityStreamsFlag afterwards returns true. - SetActivityStreamsFlag(v ActivityStreamsFlag) - // SetActivityStreamsFollow sets the value of this property. Calling - // IsActivityStreamsFollow afterwards returns true. - SetActivityStreamsFollow(v ActivityStreamsFollow) - // SetActivityStreamsGroup sets the value of this property. Calling - // IsActivityStreamsGroup afterwards returns true. - SetActivityStreamsGroup(v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets the value of this property. Calling - // IsActivityStreamsIgnore afterwards returns true. - SetActivityStreamsIgnore(v ActivityStreamsIgnore) - // SetActivityStreamsImage sets the value of this property. Calling - // IsActivityStreamsImage afterwards returns true. - SetActivityStreamsImage(v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets the value of this property. - // Calling IsActivityStreamsIntransitiveActivity afterwards returns - // true. - SetActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets the value of this property. Calling - // IsActivityStreamsInvite afterwards returns true. - SetActivityStreamsInvite(v ActivityStreamsInvite) - // SetActivityStreamsJoin sets the value of this property. Calling - // IsActivityStreamsJoin afterwards returns true. - SetActivityStreamsJoin(v ActivityStreamsJoin) - // SetActivityStreamsLeave sets the value of this property. Calling - // IsActivityStreamsLeave afterwards returns true. - SetActivityStreamsLeave(v ActivityStreamsLeave) - // SetActivityStreamsLike sets the value of this property. Calling - // IsActivityStreamsLike afterwards returns true. - SetActivityStreamsLike(v ActivityStreamsLike) - // SetActivityStreamsListen sets the value of this property. Calling - // IsActivityStreamsListen afterwards returns true. - SetActivityStreamsListen(v ActivityStreamsListen) - // SetActivityStreamsMove sets the value of this property. Calling - // IsActivityStreamsMove afterwards returns true. - SetActivityStreamsMove(v ActivityStreamsMove) - // SetActivityStreamsNote sets the value of this property. Calling - // IsActivityStreamsNote afterwards returns true. - SetActivityStreamsNote(v ActivityStreamsNote) - // SetActivityStreamsObject sets the value of this property. Calling - // IsActivityStreamsObject afterwards returns true. - SetActivityStreamsObject(v ActivityStreamsObject) - // SetActivityStreamsOffer sets the value of this property. Calling - // IsActivityStreamsOffer afterwards returns true. - SetActivityStreamsOffer(v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets the value of this property. Calling - // IsActivityStreamsOrganization afterwards returns true. - SetActivityStreamsOrganization(v ActivityStreamsOrganization) - // SetActivityStreamsPage sets the value of this property. Calling - // IsActivityStreamsPage afterwards returns true. - SetActivityStreamsPage(v ActivityStreamsPage) - // SetActivityStreamsPerson sets the value of this property. Calling - // IsActivityStreamsPerson afterwards returns true. - SetActivityStreamsPerson(v ActivityStreamsPerson) - // SetActivityStreamsPlace sets the value of this property. Calling - // IsActivityStreamsPlace afterwards returns true. - SetActivityStreamsPlace(v ActivityStreamsPlace) - // SetActivityStreamsProfile sets the value of this property. Calling - // IsActivityStreamsProfile afterwards returns true. - SetActivityStreamsProfile(v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets the value of this property. Calling - // IsActivityStreamsQuestion afterwards returns true. - SetActivityStreamsQuestion(v ActivityStreamsQuestion) - // SetActivityStreamsRead sets the value of this property. Calling - // IsActivityStreamsRead afterwards returns true. - SetActivityStreamsRead(v ActivityStreamsRead) - // SetActivityStreamsReject sets the value of this property. Calling - // IsActivityStreamsReject afterwards returns true. - SetActivityStreamsReject(v ActivityStreamsReject) - // SetActivityStreamsRelationship sets the value of this property. Calling - // IsActivityStreamsRelationship afterwards returns true. - SetActivityStreamsRelationship(v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets the value of this property. Calling - // IsActivityStreamsRemove afterwards returns true. - SetActivityStreamsRemove(v ActivityStreamsRemove) - // SetActivityStreamsService sets the value of this property. Calling - // IsActivityStreamsService afterwards returns true. - SetActivityStreamsService(v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets the value of this property. - // Calling IsActivityStreamsTentativeAccept afterwards returns true. - SetActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets the value of this property. - // Calling IsActivityStreamsTentativeReject afterwards returns true. - SetActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets the value of this property. Calling - // IsActivityStreamsTombstone afterwards returns true. - SetActivityStreamsTombstone(v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets the value of this property. Calling - // IsActivityStreamsTravel afterwards returns true. - SetActivityStreamsTravel(v ActivityStreamsTravel) - // SetActivityStreamsUndo sets the value of this property. Calling - // IsActivityStreamsUndo afterwards returns true. - SetActivityStreamsUndo(v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets the value of this property. Calling - // IsActivityStreamsUpdate afterwards returns true. - SetActivityStreamsUpdate(v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets the value of this property. Calling - // IsActivityStreamsVideo afterwards returns true. - SetActivityStreamsVideo(v ActivityStreamsVideo) - // 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) - // SetSchemaPropertyValue sets the value of this property. Calling - // IsSchemaPropertyValue afterwards returns true. - SetSchemaPropertyValue(v SchemaPropertyValue) - // SetTootEmoji sets the value of this property. Calling IsTootEmoji - // afterwards returns true. - SetTootEmoji(v TootEmoji) - // SetTootIdentityProof sets the value of this property. Calling - // IsTootIdentityProof afterwards returns true. - SetTootIdentityProof(v TootIdentityProof) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_tracksTicketsFor_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_tracksTicketsFor_interface.go deleted file mode 100644 index ca18d16ba..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_property_forgefed_tracksTicketsFor_interface.go +++ /dev/null @@ -1,1794 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -import "net/url" - -// ForgeFedTracksTicketsForPropertyIterator represents a single value for the -// "tracksTicketsFor" property. -type ForgeFedTracksTicketsForPropertyIterator interface { - // GetActivityStreamsAccept returns the value of this property. When - // IsActivityStreamsAccept returns false, GetActivityStreamsAccept - // will return an arbitrary value. - GetActivityStreamsAccept() ActivityStreamsAccept - // GetActivityStreamsActivity returns the value of this property. When - // IsActivityStreamsActivity returns false, GetActivityStreamsActivity - // will return an arbitrary value. - GetActivityStreamsActivity() ActivityStreamsActivity - // GetActivityStreamsAdd returns the value of this property. When - // IsActivityStreamsAdd returns false, GetActivityStreamsAdd will - // return an arbitrary value. - GetActivityStreamsAdd() ActivityStreamsAdd - // GetActivityStreamsAnnounce returns the value of this property. When - // IsActivityStreamsAnnounce returns false, GetActivityStreamsAnnounce - // will return an arbitrary value. - GetActivityStreamsAnnounce() ActivityStreamsAnnounce - // GetActivityStreamsApplication returns the value of this property. When - // IsActivityStreamsApplication returns false, - // GetActivityStreamsApplication will return an arbitrary value. - GetActivityStreamsApplication() ActivityStreamsApplication - // GetActivityStreamsArrive returns the value of this property. When - // IsActivityStreamsArrive returns false, GetActivityStreamsArrive - // will return an arbitrary value. - GetActivityStreamsArrive() ActivityStreamsArrive - // GetActivityStreamsArticle returns the value of this property. When - // IsActivityStreamsArticle returns false, GetActivityStreamsArticle - // will return an arbitrary value. - GetActivityStreamsArticle() ActivityStreamsArticle - // GetActivityStreamsAudio returns the value of this property. When - // IsActivityStreamsAudio returns false, GetActivityStreamsAudio will - // return an arbitrary value. - GetActivityStreamsAudio() ActivityStreamsAudio - // GetActivityStreamsBlock returns the value of this property. When - // IsActivityStreamsBlock returns false, GetActivityStreamsBlock will - // return an arbitrary value. - GetActivityStreamsBlock() ActivityStreamsBlock - // GetActivityStreamsCollection returns the value of this property. When - // IsActivityStreamsCollection returns false, - // GetActivityStreamsCollection will return an arbitrary value. - GetActivityStreamsCollection() ActivityStreamsCollection - // GetActivityStreamsCollectionPage returns the value of this property. - // When IsActivityStreamsCollectionPage returns false, - // GetActivityStreamsCollectionPage will return an arbitrary value. - GetActivityStreamsCollectionPage() ActivityStreamsCollectionPage - // GetActivityStreamsCreate returns the value of this property. When - // IsActivityStreamsCreate returns false, GetActivityStreamsCreate - // will return an arbitrary value. - GetActivityStreamsCreate() ActivityStreamsCreate - // GetActivityStreamsDelete returns the value of this property. When - // IsActivityStreamsDelete returns false, GetActivityStreamsDelete - // will return an arbitrary value. - GetActivityStreamsDelete() ActivityStreamsDelete - // GetActivityStreamsDislike returns the value of this property. When - // IsActivityStreamsDislike returns false, GetActivityStreamsDislike - // will return an arbitrary value. - GetActivityStreamsDislike() ActivityStreamsDislike - // GetActivityStreamsDocument returns the value of this property. When - // IsActivityStreamsDocument returns false, GetActivityStreamsDocument - // will return an arbitrary value. - GetActivityStreamsDocument() ActivityStreamsDocument - // GetActivityStreamsEvent returns the value of this property. When - // IsActivityStreamsEvent returns false, GetActivityStreamsEvent will - // return an arbitrary value. - GetActivityStreamsEvent() ActivityStreamsEvent - // GetActivityStreamsFlag returns the value of this property. When - // IsActivityStreamsFlag returns false, GetActivityStreamsFlag will - // return an arbitrary value. - GetActivityStreamsFlag() ActivityStreamsFlag - // GetActivityStreamsFollow returns the value of this property. When - // IsActivityStreamsFollow returns false, GetActivityStreamsFollow - // will return an arbitrary value. - GetActivityStreamsFollow() ActivityStreamsFollow - // GetActivityStreamsGroup returns the value of this property. When - // IsActivityStreamsGroup returns false, GetActivityStreamsGroup will - // return an arbitrary value. - GetActivityStreamsGroup() ActivityStreamsGroup - // GetActivityStreamsIgnore returns the value of this property. When - // IsActivityStreamsIgnore returns false, GetActivityStreamsIgnore - // will return an arbitrary value. - GetActivityStreamsIgnore() ActivityStreamsIgnore - // GetActivityStreamsImage returns the value of this property. When - // IsActivityStreamsImage returns false, GetActivityStreamsImage will - // return an arbitrary value. - GetActivityStreamsImage() ActivityStreamsImage - // GetActivityStreamsIntransitiveActivity returns the value of this - // property. When IsActivityStreamsIntransitiveActivity returns false, - // GetActivityStreamsIntransitiveActivity will return an arbitrary - // value. - GetActivityStreamsIntransitiveActivity() ActivityStreamsIntransitiveActivity - // GetActivityStreamsInvite returns the value of this property. When - // IsActivityStreamsInvite returns false, GetActivityStreamsInvite - // will return an arbitrary value. - GetActivityStreamsInvite() ActivityStreamsInvite - // GetActivityStreamsJoin returns the value of this property. When - // IsActivityStreamsJoin returns false, GetActivityStreamsJoin will - // return an arbitrary value. - GetActivityStreamsJoin() ActivityStreamsJoin - // GetActivityStreamsLeave returns the value of this property. When - // IsActivityStreamsLeave returns false, GetActivityStreamsLeave will - // return an arbitrary value. - GetActivityStreamsLeave() ActivityStreamsLeave - // GetActivityStreamsLike returns the value of this property. When - // IsActivityStreamsLike returns false, GetActivityStreamsLike will - // return an arbitrary value. - GetActivityStreamsLike() ActivityStreamsLike - // GetActivityStreamsListen returns the value of this property. When - // IsActivityStreamsListen returns false, GetActivityStreamsListen - // will return an arbitrary value. - GetActivityStreamsListen() ActivityStreamsListen - // GetActivityStreamsMove returns the value of this property. When - // IsActivityStreamsMove returns false, GetActivityStreamsMove will - // return an arbitrary value. - GetActivityStreamsMove() ActivityStreamsMove - // GetActivityStreamsNote returns the value of this property. When - // IsActivityStreamsNote returns false, GetActivityStreamsNote will - // return an arbitrary value. - GetActivityStreamsNote() ActivityStreamsNote - // GetActivityStreamsObject returns the value of this property. When - // IsActivityStreamsObject returns false, GetActivityStreamsObject - // will return an arbitrary value. - GetActivityStreamsObject() ActivityStreamsObject - // GetActivityStreamsOffer returns the value of this property. When - // IsActivityStreamsOffer returns false, GetActivityStreamsOffer will - // return an arbitrary value. - GetActivityStreamsOffer() ActivityStreamsOffer - // GetActivityStreamsOrderedCollection returns the value of this property. - // When IsActivityStreamsOrderedCollection returns false, - // GetActivityStreamsOrderedCollection will return an arbitrary value. - GetActivityStreamsOrderedCollection() ActivityStreamsOrderedCollection - // GetActivityStreamsOrderedCollectionPage returns the value of this - // property. When IsActivityStreamsOrderedCollectionPage returns - // false, GetActivityStreamsOrderedCollectionPage will return an - // arbitrary value. - GetActivityStreamsOrderedCollectionPage() ActivityStreamsOrderedCollectionPage - // GetActivityStreamsOrganization returns the value of this property. When - // IsActivityStreamsOrganization returns false, - // GetActivityStreamsOrganization will return an arbitrary value. - GetActivityStreamsOrganization() ActivityStreamsOrganization - // GetActivityStreamsPage returns the value of this property. When - // IsActivityStreamsPage returns false, GetActivityStreamsPage will - // return an arbitrary value. - GetActivityStreamsPage() ActivityStreamsPage - // GetActivityStreamsPerson returns the value of this property. When - // IsActivityStreamsPerson returns false, GetActivityStreamsPerson - // will return an arbitrary value. - GetActivityStreamsPerson() ActivityStreamsPerson - // GetActivityStreamsPlace returns the value of this property. When - // IsActivityStreamsPlace returns false, GetActivityStreamsPlace will - // return an arbitrary value. - GetActivityStreamsPlace() ActivityStreamsPlace - // GetActivityStreamsProfile returns the value of this property. When - // IsActivityStreamsProfile returns false, GetActivityStreamsProfile - // will return an arbitrary value. - GetActivityStreamsProfile() ActivityStreamsProfile - // GetActivityStreamsQuestion returns the value of this property. When - // IsActivityStreamsQuestion returns false, GetActivityStreamsQuestion - // will return an arbitrary value. - GetActivityStreamsQuestion() ActivityStreamsQuestion - // GetActivityStreamsRead returns the value of this property. When - // IsActivityStreamsRead returns false, GetActivityStreamsRead will - // return an arbitrary value. - GetActivityStreamsRead() ActivityStreamsRead - // GetActivityStreamsReject returns the value of this property. When - // IsActivityStreamsReject returns false, GetActivityStreamsReject - // will return an arbitrary value. - GetActivityStreamsReject() ActivityStreamsReject - // GetActivityStreamsRelationship returns the value of this property. When - // IsActivityStreamsRelationship returns false, - // GetActivityStreamsRelationship will return an arbitrary value. - GetActivityStreamsRelationship() ActivityStreamsRelationship - // GetActivityStreamsRemove returns the value of this property. When - // IsActivityStreamsRemove returns false, GetActivityStreamsRemove - // will return an arbitrary value. - GetActivityStreamsRemove() ActivityStreamsRemove - // GetActivityStreamsService returns the value of this property. When - // IsActivityStreamsService returns false, GetActivityStreamsService - // will return an arbitrary value. - GetActivityStreamsService() ActivityStreamsService - // GetActivityStreamsTentativeAccept returns the value of this property. - // When IsActivityStreamsTentativeAccept returns false, - // GetActivityStreamsTentativeAccept will return an arbitrary value. - GetActivityStreamsTentativeAccept() ActivityStreamsTentativeAccept - // GetActivityStreamsTentativeReject returns the value of this property. - // When IsActivityStreamsTentativeReject returns false, - // GetActivityStreamsTentativeReject will return an arbitrary value. - GetActivityStreamsTentativeReject() ActivityStreamsTentativeReject - // GetActivityStreamsTombstone returns the value of this property. When - // IsActivityStreamsTombstone returns false, - // GetActivityStreamsTombstone will return an arbitrary value. - GetActivityStreamsTombstone() ActivityStreamsTombstone - // GetActivityStreamsTravel returns the value of this property. When - // IsActivityStreamsTravel returns false, GetActivityStreamsTravel - // will return an arbitrary value. - GetActivityStreamsTravel() ActivityStreamsTravel - // GetActivityStreamsUndo returns the value of this property. When - // IsActivityStreamsUndo returns false, GetActivityStreamsUndo will - // return an arbitrary value. - GetActivityStreamsUndo() ActivityStreamsUndo - // GetActivityStreamsUpdate returns the value of this property. When - // IsActivityStreamsUpdate returns false, GetActivityStreamsUpdate - // will return an arbitrary value. - GetActivityStreamsUpdate() ActivityStreamsUpdate - // GetActivityStreamsVideo returns the value of this property. When - // IsActivityStreamsVideo returns false, GetActivityStreamsVideo will - // return an arbitrary value. - GetActivityStreamsVideo() ActivityStreamsVideo - // GetActivityStreamsView returns the value of this property. When - // 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 - // GetSchemaPropertyValue returns the value of this property. When - // IsSchemaPropertyValue returns false, GetSchemaPropertyValue will - // return an arbitrary value. - GetSchemaPropertyValue() SchemaPropertyValue - // GetTootEmoji returns the value of this property. When IsTootEmoji - // returns false, GetTootEmoji will return an arbitrary value. - GetTootEmoji() TootEmoji - // GetTootIdentityProof returns the value of this property. When - // IsTootIdentityProof returns false, GetTootIdentityProof will return - // an arbitrary value. - GetTootIdentityProof() TootIdentityProof - // GetType returns the value in this property as a Type. Returns nil if - // the value is not an ActivityStreams type, such as an IRI or another - // value. - GetType() Type - // HasAny returns true if any of the different values is set. - HasAny() bool - // IsActivityStreamsAccept returns true if this property has a type of - // "Accept". When true, use the GetActivityStreamsAccept and - // SetActivityStreamsAccept methods to access and set this property. - IsActivityStreamsAccept() bool - // IsActivityStreamsActivity returns true if this property has a type of - // "Activity". When true, use the GetActivityStreamsActivity and - // SetActivityStreamsActivity methods to access and set this property. - IsActivityStreamsActivity() bool - // IsActivityStreamsAdd returns true if this property has a type of "Add". - // When true, use the GetActivityStreamsAdd and SetActivityStreamsAdd - // methods to access and set this property. - IsActivityStreamsAdd() bool - // IsActivityStreamsAnnounce returns true if this property has a type of - // "Announce". When true, use the GetActivityStreamsAnnounce and - // SetActivityStreamsAnnounce methods to access and set this property. - IsActivityStreamsAnnounce() bool - // IsActivityStreamsApplication returns true if this property has a type - // of "Application". When true, use the GetActivityStreamsApplication - // and SetActivityStreamsApplication methods to access and set this - // property. - IsActivityStreamsApplication() bool - // IsActivityStreamsArrive returns true if this property has a type of - // "Arrive". When true, use the GetActivityStreamsArrive and - // SetActivityStreamsArrive methods to access and set this property. - IsActivityStreamsArrive() bool - // IsActivityStreamsArticle returns true if this property has a type of - // "Article". When true, use the GetActivityStreamsArticle and - // SetActivityStreamsArticle methods to access and set this property. - IsActivityStreamsArticle() bool - // IsActivityStreamsAudio returns true if this property has a type of - // "Audio". When true, use the GetActivityStreamsAudio and - // SetActivityStreamsAudio methods to access and set this property. - IsActivityStreamsAudio() bool - // IsActivityStreamsBlock returns true if this property has a type of - // "Block". When true, use the GetActivityStreamsBlock and - // SetActivityStreamsBlock methods to access and set this property. - IsActivityStreamsBlock() bool - // IsActivityStreamsCollection returns true if this property has a type of - // "Collection". When true, use the GetActivityStreamsCollection and - // SetActivityStreamsCollection methods to access and set this - // property. - IsActivityStreamsCollection() bool - // IsActivityStreamsCollectionPage returns true if this property has a - // type of "CollectionPage". When true, use the - // GetActivityStreamsCollectionPage and - // SetActivityStreamsCollectionPage methods to access and set this - // property. - IsActivityStreamsCollectionPage() bool - // IsActivityStreamsCreate returns true if this property has a type of - // "Create". When true, use the GetActivityStreamsCreate and - // SetActivityStreamsCreate methods to access and set this property. - IsActivityStreamsCreate() bool - // IsActivityStreamsDelete returns true if this property has a type of - // "Delete". When true, use the GetActivityStreamsDelete and - // SetActivityStreamsDelete methods to access and set this property. - IsActivityStreamsDelete() bool - // IsActivityStreamsDislike returns true if this property has a type of - // "Dislike". When true, use the GetActivityStreamsDislike and - // SetActivityStreamsDislike methods to access and set this property. - IsActivityStreamsDislike() bool - // IsActivityStreamsDocument returns true if this property has a type of - // "Document". When true, use the GetActivityStreamsDocument and - // SetActivityStreamsDocument methods to access and set this property. - IsActivityStreamsDocument() bool - // IsActivityStreamsEvent returns true if this property has a type of - // "Event". When true, use the GetActivityStreamsEvent and - // SetActivityStreamsEvent methods to access and set this property. - IsActivityStreamsEvent() bool - // IsActivityStreamsFlag returns true if this property has a type of - // "Flag". When true, use the GetActivityStreamsFlag and - // SetActivityStreamsFlag methods to access and set this property. - IsActivityStreamsFlag() bool - // IsActivityStreamsFollow returns true if this property has a type of - // "Follow". When true, use the GetActivityStreamsFollow and - // SetActivityStreamsFollow methods to access and set this property. - IsActivityStreamsFollow() bool - // IsActivityStreamsGroup returns true if this property has a type of - // "Group". When true, use the GetActivityStreamsGroup and - // SetActivityStreamsGroup methods to access and set this property. - IsActivityStreamsGroup() bool - // IsActivityStreamsIgnore returns true if this property has a type of - // "Ignore". When true, use the GetActivityStreamsIgnore and - // SetActivityStreamsIgnore methods to access and set this property. - IsActivityStreamsIgnore() bool - // IsActivityStreamsImage returns true if this property has a type of - // "Image". When true, use the GetActivityStreamsImage and - // SetActivityStreamsImage methods to access and set this property. - IsActivityStreamsImage() bool - // IsActivityStreamsIntransitiveActivity returns true if this property has - // a type of "IntransitiveActivity". When true, use the - // GetActivityStreamsIntransitiveActivity and - // SetActivityStreamsIntransitiveActivity methods to access and set - // this property. - IsActivityStreamsIntransitiveActivity() bool - // IsActivityStreamsInvite returns true if this property has a type of - // "Invite". When true, use the GetActivityStreamsInvite and - // SetActivityStreamsInvite methods to access and set this property. - IsActivityStreamsInvite() bool - // IsActivityStreamsJoin returns true if this property has a type of - // "Join". When true, use the GetActivityStreamsJoin and - // SetActivityStreamsJoin methods to access and set this property. - IsActivityStreamsJoin() bool - // IsActivityStreamsLeave returns true if this property has a type of - // "Leave". When true, use the GetActivityStreamsLeave and - // SetActivityStreamsLeave methods to access and set this property. - IsActivityStreamsLeave() bool - // IsActivityStreamsLike returns true if this property has a type of - // "Like". When true, use the GetActivityStreamsLike and - // SetActivityStreamsLike methods to access and set this property. - IsActivityStreamsLike() bool - // IsActivityStreamsListen returns true if this property has a type of - // "Listen". When true, use the GetActivityStreamsListen and - // SetActivityStreamsListen methods to access and set this property. - IsActivityStreamsListen() bool - // IsActivityStreamsMove returns true if this property has a type of - // "Move". When true, use the GetActivityStreamsMove and - // SetActivityStreamsMove methods to access and set this property. - IsActivityStreamsMove() bool - // IsActivityStreamsNote returns true if this property has a type of - // "Note". When true, use the GetActivityStreamsNote and - // SetActivityStreamsNote methods to access and set this property. - IsActivityStreamsNote() bool - // IsActivityStreamsObject returns true if this property has a type of - // "Object". When true, use the GetActivityStreamsObject and - // SetActivityStreamsObject methods to access and set this property. - IsActivityStreamsObject() bool - // IsActivityStreamsOffer returns true if this property has a type of - // "Offer". When true, use the GetActivityStreamsOffer and - // SetActivityStreamsOffer methods to access and set this property. - IsActivityStreamsOffer() bool - // IsActivityStreamsOrderedCollection returns true if this property has a - // type of "OrderedCollection". When true, use the - // GetActivityStreamsOrderedCollection and - // SetActivityStreamsOrderedCollection methods to access and set this - // property. - IsActivityStreamsOrderedCollection() bool - // IsActivityStreamsOrderedCollectionPage returns true if this property - // has a type of "OrderedCollectionPage". When true, use the - // GetActivityStreamsOrderedCollectionPage and - // SetActivityStreamsOrderedCollectionPage methods to access and set - // this property. - IsActivityStreamsOrderedCollectionPage() bool - // IsActivityStreamsOrganization returns true if this property has a type - // of "Organization". When true, use the - // GetActivityStreamsOrganization and SetActivityStreamsOrganization - // methods to access and set this property. - IsActivityStreamsOrganization() bool - // IsActivityStreamsPage returns true if this property has a type of - // "Page". When true, use the GetActivityStreamsPage and - // SetActivityStreamsPage methods to access and set this property. - IsActivityStreamsPage() bool - // IsActivityStreamsPerson returns true if this property has a type of - // "Person". When true, use the GetActivityStreamsPerson and - // SetActivityStreamsPerson methods to access and set this property. - IsActivityStreamsPerson() bool - // IsActivityStreamsPlace returns true if this property has a type of - // "Place". When true, use the GetActivityStreamsPlace and - // SetActivityStreamsPlace methods to access and set this property. - IsActivityStreamsPlace() bool - // IsActivityStreamsProfile returns true if this property has a type of - // "Profile". When true, use the GetActivityStreamsProfile and - // SetActivityStreamsProfile methods to access and set this property. - IsActivityStreamsProfile() bool - // IsActivityStreamsQuestion returns true if this property has a type of - // "Question". When true, use the GetActivityStreamsQuestion and - // SetActivityStreamsQuestion methods to access and set this property. - IsActivityStreamsQuestion() bool - // IsActivityStreamsRead returns true if this property has a type of - // "Read". When true, use the GetActivityStreamsRead and - // SetActivityStreamsRead methods to access and set this property. - IsActivityStreamsRead() bool - // IsActivityStreamsReject returns true if this property has a type of - // "Reject". When true, use the GetActivityStreamsReject and - // SetActivityStreamsReject methods to access and set this property. - IsActivityStreamsReject() bool - // IsActivityStreamsRelationship returns true if this property has a type - // of "Relationship". When true, use the - // GetActivityStreamsRelationship and SetActivityStreamsRelationship - // methods to access and set this property. - IsActivityStreamsRelationship() bool - // IsActivityStreamsRemove returns true if this property has a type of - // "Remove". When true, use the GetActivityStreamsRemove and - // SetActivityStreamsRemove methods to access and set this property. - IsActivityStreamsRemove() bool - // IsActivityStreamsService returns true if this property has a type of - // "Service". When true, use the GetActivityStreamsService and - // SetActivityStreamsService methods to access and set this property. - IsActivityStreamsService() bool - // IsActivityStreamsTentativeAccept returns true if this property has a - // type of "TentativeAccept". When true, use the - // GetActivityStreamsTentativeAccept and - // SetActivityStreamsTentativeAccept methods to access and set this - // property. - IsActivityStreamsTentativeAccept() bool - // IsActivityStreamsTentativeReject returns true if this property has a - // type of "TentativeReject". When true, use the - // GetActivityStreamsTentativeReject and - // SetActivityStreamsTentativeReject methods to access and set this - // property. - IsActivityStreamsTentativeReject() bool - // IsActivityStreamsTombstone returns true if this property has a type of - // "Tombstone". When true, use the GetActivityStreamsTombstone and - // SetActivityStreamsTombstone methods to access and set this property. - IsActivityStreamsTombstone() bool - // IsActivityStreamsTravel returns true if this property has a type of - // "Travel". When true, use the GetActivityStreamsTravel and - // SetActivityStreamsTravel methods to access and set this property. - IsActivityStreamsTravel() bool - // IsActivityStreamsUndo returns true if this property has a type of - // "Undo". When true, use the GetActivityStreamsUndo and - // SetActivityStreamsUndo methods to access and set this property. - IsActivityStreamsUndo() bool - // IsActivityStreamsUpdate returns true if this property has a type of - // "Update". When true, use the GetActivityStreamsUpdate and - // SetActivityStreamsUpdate methods to access and set this property. - IsActivityStreamsUpdate() bool - // IsActivityStreamsVideo returns true if this property has a type of - // "Video". When true, use the GetActivityStreamsVideo and - // SetActivityStreamsVideo methods to access and set this property. - IsActivityStreamsVideo() bool - // IsActivityStreamsView returns true if this property has a type of - // "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 - // IsSchemaPropertyValue returns true if this property has a type of - // "PropertyValue". When true, use the GetSchemaPropertyValue and - // SetSchemaPropertyValue methods to access and set this property. - IsSchemaPropertyValue() bool - // IsTootEmoji returns true if this property has a type of "Emoji". When - // true, use the GetTootEmoji and SetTootEmoji methods to access and - // set this property. - IsTootEmoji() 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. - IsTootIdentityProof() bool - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API detail only for folks looking to replace the - // go-fed implementation. Applications should not use this method. - KindIndex() int - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedTracksTicketsForPropertyIterator) bool - // Name returns the name of this property: "ForgeFedTracksTicketsFor". - Name() string - // Next returns the next iterator, or nil if there is no next iterator. - Next() ForgeFedTracksTicketsForPropertyIterator - // Prev returns the previous iterator, or nil if there is no previous - // iterator. - Prev() ForgeFedTracksTicketsForPropertyIterator - // SetActivityStreamsAccept sets the value of this property. Calling - // IsActivityStreamsAccept afterwards returns true. - SetActivityStreamsAccept(v ActivityStreamsAccept) - // SetActivityStreamsActivity sets the value of this property. Calling - // IsActivityStreamsActivity afterwards returns true. - SetActivityStreamsActivity(v ActivityStreamsActivity) - // SetActivityStreamsAdd sets the value of this property. Calling - // IsActivityStreamsAdd afterwards returns true. - SetActivityStreamsAdd(v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets the value of this property. Calling - // IsActivityStreamsAnnounce afterwards returns true. - SetActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets the value of this property. Calling - // IsActivityStreamsApplication afterwards returns true. - SetActivityStreamsApplication(v ActivityStreamsApplication) - // SetActivityStreamsArrive sets the value of this property. Calling - // IsActivityStreamsArrive afterwards returns true. - SetActivityStreamsArrive(v ActivityStreamsArrive) - // SetActivityStreamsArticle sets the value of this property. Calling - // IsActivityStreamsArticle afterwards returns true. - SetActivityStreamsArticle(v ActivityStreamsArticle) - // SetActivityStreamsAudio sets the value of this property. Calling - // IsActivityStreamsAudio afterwards returns true. - SetActivityStreamsAudio(v ActivityStreamsAudio) - // SetActivityStreamsBlock sets the value of this property. Calling - // IsActivityStreamsBlock afterwards returns true. - SetActivityStreamsBlock(v ActivityStreamsBlock) - // SetActivityStreamsCollection sets the value of this property. Calling - // IsActivityStreamsCollection afterwards returns true. - SetActivityStreamsCollection(v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets the value of this property. - // Calling IsActivityStreamsCollectionPage afterwards returns true. - SetActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets the value of this property. Calling - // IsActivityStreamsCreate afterwards returns true. - SetActivityStreamsCreate(v ActivityStreamsCreate) - // SetActivityStreamsDelete sets the value of this property. Calling - // IsActivityStreamsDelete afterwards returns true. - SetActivityStreamsDelete(v ActivityStreamsDelete) - // SetActivityStreamsDislike sets the value of this property. Calling - // IsActivityStreamsDislike afterwards returns true. - SetActivityStreamsDislike(v ActivityStreamsDislike) - // SetActivityStreamsDocument sets the value of this property. Calling - // IsActivityStreamsDocument afterwards returns true. - SetActivityStreamsDocument(v ActivityStreamsDocument) - // SetActivityStreamsEvent sets the value of this property. Calling - // IsActivityStreamsEvent afterwards returns true. - SetActivityStreamsEvent(v ActivityStreamsEvent) - // SetActivityStreamsFlag sets the value of this property. Calling - // IsActivityStreamsFlag afterwards returns true. - SetActivityStreamsFlag(v ActivityStreamsFlag) - // SetActivityStreamsFollow sets the value of this property. Calling - // IsActivityStreamsFollow afterwards returns true. - SetActivityStreamsFollow(v ActivityStreamsFollow) - // SetActivityStreamsGroup sets the value of this property. Calling - // IsActivityStreamsGroup afterwards returns true. - SetActivityStreamsGroup(v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets the value of this property. Calling - // IsActivityStreamsIgnore afterwards returns true. - SetActivityStreamsIgnore(v ActivityStreamsIgnore) - // SetActivityStreamsImage sets the value of this property. Calling - // IsActivityStreamsImage afterwards returns true. - SetActivityStreamsImage(v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets the value of this property. - // Calling IsActivityStreamsIntransitiveActivity afterwards returns - // true. - SetActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets the value of this property. Calling - // IsActivityStreamsInvite afterwards returns true. - SetActivityStreamsInvite(v ActivityStreamsInvite) - // SetActivityStreamsJoin sets the value of this property. Calling - // IsActivityStreamsJoin afterwards returns true. - SetActivityStreamsJoin(v ActivityStreamsJoin) - // SetActivityStreamsLeave sets the value of this property. Calling - // IsActivityStreamsLeave afterwards returns true. - SetActivityStreamsLeave(v ActivityStreamsLeave) - // SetActivityStreamsLike sets the value of this property. Calling - // IsActivityStreamsLike afterwards returns true. - SetActivityStreamsLike(v ActivityStreamsLike) - // SetActivityStreamsListen sets the value of this property. Calling - // IsActivityStreamsListen afterwards returns true. - SetActivityStreamsListen(v ActivityStreamsListen) - // SetActivityStreamsMove sets the value of this property. Calling - // IsActivityStreamsMove afterwards returns true. - SetActivityStreamsMove(v ActivityStreamsMove) - // SetActivityStreamsNote sets the value of this property. Calling - // IsActivityStreamsNote afterwards returns true. - SetActivityStreamsNote(v ActivityStreamsNote) - // SetActivityStreamsObject sets the value of this property. Calling - // IsActivityStreamsObject afterwards returns true. - SetActivityStreamsObject(v ActivityStreamsObject) - // SetActivityStreamsOffer sets the value of this property. Calling - // IsActivityStreamsOffer afterwards returns true. - SetActivityStreamsOffer(v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets the value of this property. - // Calling IsActivityStreamsOrderedCollection afterwards returns true. - SetActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets the value of this - // property. Calling IsActivityStreamsOrderedCollectionPage afterwards - // returns true. - SetActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets the value of this property. Calling - // IsActivityStreamsOrganization afterwards returns true. - SetActivityStreamsOrganization(v ActivityStreamsOrganization) - // SetActivityStreamsPage sets the value of this property. Calling - // IsActivityStreamsPage afterwards returns true. - SetActivityStreamsPage(v ActivityStreamsPage) - // SetActivityStreamsPerson sets the value of this property. Calling - // IsActivityStreamsPerson afterwards returns true. - SetActivityStreamsPerson(v ActivityStreamsPerson) - // SetActivityStreamsPlace sets the value of this property. Calling - // IsActivityStreamsPlace afterwards returns true. - SetActivityStreamsPlace(v ActivityStreamsPlace) - // SetActivityStreamsProfile sets the value of this property. Calling - // IsActivityStreamsProfile afterwards returns true. - SetActivityStreamsProfile(v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets the value of this property. Calling - // IsActivityStreamsQuestion afterwards returns true. - SetActivityStreamsQuestion(v ActivityStreamsQuestion) - // SetActivityStreamsRead sets the value of this property. Calling - // IsActivityStreamsRead afterwards returns true. - SetActivityStreamsRead(v ActivityStreamsRead) - // SetActivityStreamsReject sets the value of this property. Calling - // IsActivityStreamsReject afterwards returns true. - SetActivityStreamsReject(v ActivityStreamsReject) - // SetActivityStreamsRelationship sets the value of this property. Calling - // IsActivityStreamsRelationship afterwards returns true. - SetActivityStreamsRelationship(v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets the value of this property. Calling - // IsActivityStreamsRemove afterwards returns true. - SetActivityStreamsRemove(v ActivityStreamsRemove) - // SetActivityStreamsService sets the value of this property. Calling - // IsActivityStreamsService afterwards returns true. - SetActivityStreamsService(v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets the value of this property. - // Calling IsActivityStreamsTentativeAccept afterwards returns true. - SetActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets the value of this property. - // Calling IsActivityStreamsTentativeReject afterwards returns true. - SetActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets the value of this property. Calling - // IsActivityStreamsTombstone afterwards returns true. - SetActivityStreamsTombstone(v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets the value of this property. Calling - // IsActivityStreamsTravel afterwards returns true. - SetActivityStreamsTravel(v ActivityStreamsTravel) - // SetActivityStreamsUndo sets the value of this property. Calling - // IsActivityStreamsUndo afterwards returns true. - SetActivityStreamsUndo(v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets the value of this property. Calling - // IsActivityStreamsUpdate afterwards returns true. - SetActivityStreamsUpdate(v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets the value of this property. Calling - // IsActivityStreamsVideo afterwards returns true. - SetActivityStreamsVideo(v ActivityStreamsVideo) - // 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) - // SetSchemaPropertyValue sets the value of this property. Calling - // IsSchemaPropertyValue afterwards returns true. - SetSchemaPropertyValue(v SchemaPropertyValue) - // SetTootEmoji sets the value of this property. Calling IsTootEmoji - // afterwards returns true. - SetTootEmoji(v TootEmoji) - // SetTootIdentityProof sets the value of this property. Calling - // IsTootIdentityProof afterwards returns true. - SetTootIdentityProof(v TootIdentityProof) - // SetType attempts to set the property for the arbitrary type. Returns an - // error if it is not a valid type to set on this property. - SetType(t Type) error -} - -// Identifies objects for which which this ticket tracker tracks tickets. When -// you’d like to open a ticket against those objects, you can send them to -// this tracker. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "id": "https://bugs.example/treesim", -// "tracksTicketsFor": [ -// "https://dev.example/aviva/liblsystem", -// "https://dev.example/aviva/3d-tree-models", -// "https://dev.example/aviva/treesim" -// ], -// "type": "Project" -// } -type ForgeFedTracksTicketsForProperty interface { - // AppendActivityStreamsAccept appends a Accept value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsAccept(v ActivityStreamsAccept) - // AppendActivityStreamsActivity appends a Activity value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsActivity(v ActivityStreamsActivity) - // AppendActivityStreamsAdd appends a Add value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAdd(v ActivityStreamsAdd) - // AppendActivityStreamsAnnounce appends a Announce value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // AppendActivityStreamsApplication appends a Application value to the - // back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsApplication(v ActivityStreamsApplication) - // AppendActivityStreamsArrive appends a Arrive value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsArrive(v ActivityStreamsArrive) - // AppendActivityStreamsArticle appends a Article value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsArticle(v ActivityStreamsArticle) - // AppendActivityStreamsAudio appends a Audio value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsAudio(v ActivityStreamsAudio) - // AppendActivityStreamsBlock appends a Block value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsBlock(v ActivityStreamsBlock) - // AppendActivityStreamsCollection appends a Collection value to the back - // of a list of the property "tracksTicketsFor". Invalidates iterators - // that are traversing using Prev. - AppendActivityStreamsCollection(v ActivityStreamsCollection) - // AppendActivityStreamsCollectionPage appends a CollectionPage value to - // the back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // AppendActivityStreamsCreate appends a Create value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsCreate(v ActivityStreamsCreate) - // AppendActivityStreamsDelete appends a Delete value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsDelete(v ActivityStreamsDelete) - // AppendActivityStreamsDislike appends a Dislike value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsDislike(v ActivityStreamsDislike) - // AppendActivityStreamsDocument appends a Document value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsDocument(v ActivityStreamsDocument) - // AppendActivityStreamsEvent appends a Event value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsEvent(v ActivityStreamsEvent) - // AppendActivityStreamsFlag appends a Flag value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsFlag(v ActivityStreamsFlag) - // AppendActivityStreamsFollow appends a Follow value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsFollow(v ActivityStreamsFollow) - // AppendActivityStreamsGroup appends a Group value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsGroup(v ActivityStreamsGroup) - // AppendActivityStreamsIgnore appends a Ignore value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsIgnore(v ActivityStreamsIgnore) - // AppendActivityStreamsImage appends a Image value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsImage(v ActivityStreamsImage) - // AppendActivityStreamsIntransitiveActivity appends a - // IntransitiveActivity value to the back of a list of the property - // "tracksTicketsFor". Invalidates iterators that are traversing using - // Prev. - AppendActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // AppendActivityStreamsInvite appends a Invite value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsInvite(v ActivityStreamsInvite) - // AppendActivityStreamsJoin appends a Join value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsJoin(v ActivityStreamsJoin) - // AppendActivityStreamsLeave appends a Leave value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsLeave(v ActivityStreamsLeave) - // AppendActivityStreamsLike appends a Like value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsLike(v ActivityStreamsLike) - // AppendActivityStreamsListen appends a Listen value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsListen(v ActivityStreamsListen) - // AppendActivityStreamsMove appends a Move value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsMove(v ActivityStreamsMove) - // AppendActivityStreamsNote appends a Note value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsNote(v ActivityStreamsNote) - // AppendActivityStreamsObject appends a Object value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsObject(v ActivityStreamsObject) - // AppendActivityStreamsOffer appends a Offer value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsOffer(v ActivityStreamsOffer) - // AppendActivityStreamsOrderedCollection appends a OrderedCollection - // value to the back of a list of the property "tracksTicketsFor". - // Invalidates iterators that are traversing using Prev. - AppendActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // AppendActivityStreamsOrderedCollectionPage appends a - // OrderedCollectionPage value to the back of a list of the property - // "tracksTicketsFor". Invalidates iterators that are traversing using - // Prev. - AppendActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // AppendActivityStreamsOrganization appends a Organization value to the - // back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsOrganization(v ActivityStreamsOrganization) - // AppendActivityStreamsPage appends a Page value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsPage(v ActivityStreamsPage) - // AppendActivityStreamsPerson appends a Person value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsPerson(v ActivityStreamsPerson) - // AppendActivityStreamsPlace appends a Place value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsPlace(v ActivityStreamsPlace) - // AppendActivityStreamsProfile appends a Profile value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsProfile(v ActivityStreamsProfile) - // AppendActivityStreamsQuestion appends a Question value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsQuestion(v ActivityStreamsQuestion) - // AppendActivityStreamsRead appends a Read value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsRead(v ActivityStreamsRead) - // AppendActivityStreamsReject appends a Reject value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsReject(v ActivityStreamsReject) - // AppendActivityStreamsRelationship appends a Relationship value to the - // back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsRelationship(v ActivityStreamsRelationship) - // AppendActivityStreamsRemove appends a Remove value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsRemove(v ActivityStreamsRemove) - // AppendActivityStreamsService appends a Service value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsService(v ActivityStreamsService) - // AppendActivityStreamsTentativeAccept appends a TentativeAccept value to - // the back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // AppendActivityStreamsTentativeReject appends a TentativeReject value to - // the back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // AppendActivityStreamsTombstone appends a Tombstone value to the back of - // a list of the property "tracksTicketsFor". Invalidates iterators - // that are traversing using Prev. - AppendActivityStreamsTombstone(v ActivityStreamsTombstone) - // AppendActivityStreamsTravel appends a Travel value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsTravel(v ActivityStreamsTravel) - // AppendActivityStreamsUndo appends a Undo value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsUndo(v ActivityStreamsUndo) - // AppendActivityStreamsUpdate appends a Update value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendActivityStreamsUpdate(v ActivityStreamsUpdate) - // AppendActivityStreamsVideo appends a Video value to the back of a list - // of the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsVideo(v ActivityStreamsVideo) - // AppendActivityStreamsView appends a View value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendActivityStreamsView(v ActivityStreamsView) - // AppendForgeFedBranch appends a Branch value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedBranch(v ForgeFedBranch) - // AppendForgeFedCommit appends a Commit value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedCommit(v ForgeFedCommit) - // AppendForgeFedPush appends a Push value to the back of a list of the - // property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedPush(v ForgeFedPush) - // AppendForgeFedRepository appends a Repository value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendForgeFedRepository(v ForgeFedRepository) - // AppendForgeFedTicket appends a Ticket value to the back of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendForgeFedTicket(v ForgeFedTicket) - // AppendForgeFedTicketDependency appends a TicketDependency value to the - // back of a list of the property "tracksTicketsFor". Invalidates - // iterators that are traversing using Prev. - AppendForgeFedTicketDependency(v ForgeFedTicketDependency) - // AppendIRI appends an IRI value to the back of a list of the property - // "tracksTicketsFor" - AppendIRI(v *url.URL) - // AppendSchemaPropertyValue appends a PropertyValue value to the back of - // a list of the property "tracksTicketsFor". Invalidates iterators - // that are traversing using Prev. - AppendSchemaPropertyValue(v SchemaPropertyValue) - // AppendTootEmoji appends a Emoji value to the back of a list of the - // property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. - AppendTootEmoji(v TootEmoji) - // AppendTootIdentityProof appends a IdentityProof value to the back of a - // list of the property "tracksTicketsFor". Invalidates iterators that - // are traversing using Prev. - AppendTootIdentityProof(v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "tracksTicketsFor". Invalidates iterators that are - // traversing using Prev. Returns an error if the type is not a valid - // one to set for this property. - AppendType(t Type) error - // At returns the property value for the specified index. Panics if the - // index is out of bounds. - At(index int) ForgeFedTracksTicketsForPropertyIterator - // Begin returns the first iterator, or nil if empty. Can be used with the - // iterator's Next method and this property's End method to iterate - // from front to back through all values. - Begin() ForgeFedTracksTicketsForPropertyIterator - // Empty returns returns true if there are no elements. - Empty() bool - // End returns beyond-the-last iterator, which is nil. Can be used with - // the iterator's Next method and this property's Begin method to - // iterate from front to back through all values. - End() ForgeFedTracksTicketsForPropertyIterator - // InsertActivityStreamsAccept inserts a Accept value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAccept(idx int, v ActivityStreamsAccept) - // InsertActivityStreamsActivity inserts a Activity value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsActivity(idx int, v ActivityStreamsActivity) - // InsertActivityStreamsAdd inserts a Add value at the specified index for - // a property "tracksTicketsFor". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAdd(idx int, v ActivityStreamsAdd) - // InsertActivityStreamsAnnounce inserts a Announce value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAnnounce(idx int, v ActivityStreamsAnnounce) - // InsertActivityStreamsApplication inserts a Application value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsApplication(idx int, v ActivityStreamsApplication) - // InsertActivityStreamsArrive inserts a Arrive value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsArrive(idx int, v ActivityStreamsArrive) - // InsertActivityStreamsArticle inserts a Article value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsArticle(idx int, v ActivityStreamsArticle) - // InsertActivityStreamsAudio inserts a Audio value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsAudio(idx int, v ActivityStreamsAudio) - // InsertActivityStreamsBlock inserts a Block value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsBlock(idx int, v ActivityStreamsBlock) - // InsertActivityStreamsCollection inserts a Collection value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsCollection(idx int, v ActivityStreamsCollection) - // InsertActivityStreamsCollectionPage inserts a CollectionPage value at - // the specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsCollectionPage(idx int, v ActivityStreamsCollectionPage) - // InsertActivityStreamsCreate inserts a Create value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsCreate(idx int, v ActivityStreamsCreate) - // InsertActivityStreamsDelete inserts a Delete value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDelete(idx int, v ActivityStreamsDelete) - // InsertActivityStreamsDislike inserts a Dislike value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDislike(idx int, v ActivityStreamsDislike) - // InsertActivityStreamsDocument inserts a Document value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsDocument(idx int, v ActivityStreamsDocument) - // InsertActivityStreamsEvent inserts a Event value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsEvent(idx int, v ActivityStreamsEvent) - // InsertActivityStreamsFlag inserts a Flag value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsFlag(idx int, v ActivityStreamsFlag) - // InsertActivityStreamsFollow inserts a Follow value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsFollow(idx int, v ActivityStreamsFollow) - // InsertActivityStreamsGroup inserts a Group value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsGroup(idx int, v ActivityStreamsGroup) - // InsertActivityStreamsIgnore inserts a Ignore value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsIgnore(idx int, v ActivityStreamsIgnore) - // InsertActivityStreamsImage inserts a Image value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsImage(idx int, v ActivityStreamsImage) - // InsertActivityStreamsIntransitiveActivity inserts a - // IntransitiveActivity value at the specified index for a property - // "tracksTicketsFor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertActivityStreamsIntransitiveActivity(idx int, v ActivityStreamsIntransitiveActivity) - // InsertActivityStreamsInvite inserts a Invite value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsInvite(idx int, v ActivityStreamsInvite) - // InsertActivityStreamsJoin inserts a Join value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsJoin(idx int, v ActivityStreamsJoin) - // InsertActivityStreamsLeave inserts a Leave value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsLeave(idx int, v ActivityStreamsLeave) - // InsertActivityStreamsLike inserts a Like value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsLike(idx int, v ActivityStreamsLike) - // InsertActivityStreamsListen inserts a Listen value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsListen(idx int, v ActivityStreamsListen) - // InsertActivityStreamsMove inserts a Move value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsMove(idx int, v ActivityStreamsMove) - // InsertActivityStreamsNote inserts a Note value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsNote(idx int, v ActivityStreamsNote) - // InsertActivityStreamsObject inserts a Object value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsObject(idx int, v ActivityStreamsObject) - // InsertActivityStreamsOffer inserts a Offer value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsOffer(idx int, v ActivityStreamsOffer) - // InsertActivityStreamsOrderedCollection inserts a OrderedCollection - // value at the specified index for a property "tracksTicketsFor". - // Existing elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsOrderedCollection(idx int, v ActivityStreamsOrderedCollection) - // InsertActivityStreamsOrderedCollectionPage inserts a - // OrderedCollectionPage value at the specified index for a property - // "tracksTicketsFor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertActivityStreamsOrderedCollectionPage(idx int, v ActivityStreamsOrderedCollectionPage) - // InsertActivityStreamsOrganization inserts a Organization value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsOrganization(idx int, v ActivityStreamsOrganization) - // InsertActivityStreamsPage inserts a Page value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPage(idx int, v ActivityStreamsPage) - // InsertActivityStreamsPerson inserts a Person value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPerson(idx int, v ActivityStreamsPerson) - // InsertActivityStreamsPlace inserts a Place value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsPlace(idx int, v ActivityStreamsPlace) - // InsertActivityStreamsProfile inserts a Profile value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsProfile(idx int, v ActivityStreamsProfile) - // InsertActivityStreamsQuestion inserts a Question value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsQuestion(idx int, v ActivityStreamsQuestion) - // InsertActivityStreamsRead inserts a Read value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsRead(idx int, v ActivityStreamsRead) - // InsertActivityStreamsReject inserts a Reject value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsReject(idx int, v ActivityStreamsReject) - // InsertActivityStreamsRelationship inserts a Relationship value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsRelationship(idx int, v ActivityStreamsRelationship) - // InsertActivityStreamsRemove inserts a Remove value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsRemove(idx int, v ActivityStreamsRemove) - // InsertActivityStreamsService inserts a Service value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsService(idx int, v ActivityStreamsService) - // InsertActivityStreamsTentativeAccept inserts a TentativeAccept value at - // the specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsTentativeAccept(idx int, v ActivityStreamsTentativeAccept) - // InsertActivityStreamsTentativeReject inserts a TentativeReject value at - // the specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsTentativeReject(idx int, v ActivityStreamsTentativeReject) - // InsertActivityStreamsTombstone inserts a Tombstone value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertActivityStreamsTombstone(idx int, v ActivityStreamsTombstone) - // InsertActivityStreamsTravel inserts a Travel value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsTravel(idx int, v ActivityStreamsTravel) - // InsertActivityStreamsUndo inserts a Undo value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsUndo(idx int, v ActivityStreamsUndo) - // InsertActivityStreamsUpdate inserts a Update value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsUpdate(idx int, v ActivityStreamsUpdate) - // InsertActivityStreamsVideo inserts a Video value at the specified index - // for a property "tracksTicketsFor". Existing elements at that index - // and higher are shifted back once. Invalidates all iterators. - InsertActivityStreamsVideo(idx int, v ActivityStreamsVideo) - // InsertActivityStreamsView inserts a View value at the specified index - // for a property "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 - // "tracksTicketsFor". Existing elements at that index and higher are - // shifted back once. Invalidates all iterators. - InsertIRI(idx int, v *url.URL) - // InsertSchemaPropertyValue inserts a PropertyValue value at the - // specified index for a property "tracksTicketsFor". Existing - // elements at that index and higher are shifted back once. - // Invalidates all iterators. - InsertSchemaPropertyValue(idx int, v SchemaPropertyValue) - // InsertTootEmoji inserts a Emoji value at the specified index for a - // property "tracksTicketsFor". Existing elements at that index and - // higher are shifted back once. Invalidates all iterators. - InsertTootEmoji(idx int, v TootEmoji) - // InsertTootIdentityProof inserts a IdentityProof value at the specified - // index for a property "tracksTicketsFor". Existing elements at that - // index and higher are shifted back once. Invalidates all iterators. - InsertTootIdentityProof(idx int, v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "tracksTicketsFor". Invalidates all iterators. Returns - // an error if the type is not a valid one to set for this property. - InsertType(idx int, t Type) error - // JSONLDContext returns the JSONLD URIs required in the context string - // for this property and the specific values that are set. The value - // in the map is the alias used to import the property's value or - // values. - JSONLDContext() map[string]string - // KindIndex computes an arbitrary value for indexing this kind of value. - // This is a leaky API method specifically needed only for alternate - // implementations for go-fed. Applications should not use this - // method. Panics if the index is out of bounds. - KindIndex(idx int) int - // Len returns the number of values that exist for the "tracksTicketsFor" - // property. - Len() (length int) - // Less computes whether another property is less than this one. Mixing - // types results in a consistent but arbitrary ordering - Less(i, j int) bool - // LessThan compares two instances of this property with an arbitrary but - // stable comparison. Applications should not use this because it is - // only meant to help alternative implementations to go-fed to be able - // to normalize nonfunctional properties. - LessThan(o ForgeFedTracksTicketsForProperty) bool - // Name returns the name of this property ("tracksTicketsFor") with any - // alias. - Name() string - // PrependActivityStreamsAccept prepends a Accept value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsAccept(v ActivityStreamsAccept) - // PrependActivityStreamsActivity prepends a Activity value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsActivity(v ActivityStreamsActivity) - // PrependActivityStreamsAdd prepends a Add value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsAdd(v ActivityStreamsAdd) - // PrependActivityStreamsAnnounce prepends a Announce value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsAnnounce(v ActivityStreamsAnnounce) - // PrependActivityStreamsApplication prepends a Application value to the - // front of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsApplication(v ActivityStreamsApplication) - // PrependActivityStreamsArrive prepends a Arrive value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsArrive(v ActivityStreamsArrive) - // PrependActivityStreamsArticle prepends a Article value to the front of - // a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsArticle(v ActivityStreamsArticle) - // PrependActivityStreamsAudio prepends a Audio value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsAudio(v ActivityStreamsAudio) - // PrependActivityStreamsBlock prepends a Block value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsBlock(v ActivityStreamsBlock) - // PrependActivityStreamsCollection prepends a Collection value to the - // front of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsCollection(v ActivityStreamsCollection) - // PrependActivityStreamsCollectionPage prepends a CollectionPage value to - // the front of a list of the property "tracksTicketsFor". Invalidates - // all iterators. - PrependActivityStreamsCollectionPage(v ActivityStreamsCollectionPage) - // PrependActivityStreamsCreate prepends a Create value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsCreate(v ActivityStreamsCreate) - // PrependActivityStreamsDelete prepends a Delete value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsDelete(v ActivityStreamsDelete) - // PrependActivityStreamsDislike prepends a Dislike value to the front of - // a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsDislike(v ActivityStreamsDislike) - // PrependActivityStreamsDocument prepends a Document value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsDocument(v ActivityStreamsDocument) - // PrependActivityStreamsEvent prepends a Event value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsEvent(v ActivityStreamsEvent) - // PrependActivityStreamsFlag prepends a Flag value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsFlag(v ActivityStreamsFlag) - // PrependActivityStreamsFollow prepends a Follow value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsFollow(v ActivityStreamsFollow) - // PrependActivityStreamsGroup prepends a Group value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsGroup(v ActivityStreamsGroup) - // PrependActivityStreamsIgnore prepends a Ignore value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsIgnore(v ActivityStreamsIgnore) - // PrependActivityStreamsImage prepends a Image value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsImage(v ActivityStreamsImage) - // PrependActivityStreamsIntransitiveActivity prepends a - // IntransitiveActivity value to the front of a list of the property - // "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsIntransitiveActivity(v ActivityStreamsIntransitiveActivity) - // PrependActivityStreamsInvite prepends a Invite value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsInvite(v ActivityStreamsInvite) - // PrependActivityStreamsJoin prepends a Join value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsJoin(v ActivityStreamsJoin) - // PrependActivityStreamsLeave prepends a Leave value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsLeave(v ActivityStreamsLeave) - // PrependActivityStreamsLike prepends a Like value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsLike(v ActivityStreamsLike) - // PrependActivityStreamsListen prepends a Listen value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsListen(v ActivityStreamsListen) - // PrependActivityStreamsMove prepends a Move value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsMove(v ActivityStreamsMove) - // PrependActivityStreamsNote prepends a Note value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsNote(v ActivityStreamsNote) - // PrependActivityStreamsObject prepends a Object value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsObject(v ActivityStreamsObject) - // PrependActivityStreamsOffer prepends a Offer value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsOffer(v ActivityStreamsOffer) - // PrependActivityStreamsOrderedCollection prepends a OrderedCollection - // value to the front of a list of the property "tracksTicketsFor". - // Invalidates all iterators. - PrependActivityStreamsOrderedCollection(v ActivityStreamsOrderedCollection) - // PrependActivityStreamsOrderedCollectionPage prepends a - // OrderedCollectionPage value to the front of a list of the property - // "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsOrderedCollectionPage(v ActivityStreamsOrderedCollectionPage) - // PrependActivityStreamsOrganization prepends a Organization value to the - // front of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsOrganization(v ActivityStreamsOrganization) - // PrependActivityStreamsPage prepends a Page value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsPage(v ActivityStreamsPage) - // PrependActivityStreamsPerson prepends a Person value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsPerson(v ActivityStreamsPerson) - // PrependActivityStreamsPlace prepends a Place value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsPlace(v ActivityStreamsPlace) - // PrependActivityStreamsProfile prepends a Profile value to the front of - // a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsProfile(v ActivityStreamsProfile) - // PrependActivityStreamsQuestion prepends a Question value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsQuestion(v ActivityStreamsQuestion) - // PrependActivityStreamsRead prepends a Read value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsRead(v ActivityStreamsRead) - // PrependActivityStreamsReject prepends a Reject value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsReject(v ActivityStreamsReject) - // PrependActivityStreamsRelationship prepends a Relationship value to the - // front of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsRelationship(v ActivityStreamsRelationship) - // PrependActivityStreamsRemove prepends a Remove value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsRemove(v ActivityStreamsRemove) - // PrependActivityStreamsService prepends a Service value to the front of - // a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsService(v ActivityStreamsService) - // PrependActivityStreamsTentativeAccept prepends a TentativeAccept value - // to the front of a list of the property "tracksTicketsFor". - // Invalidates all iterators. - PrependActivityStreamsTentativeAccept(v ActivityStreamsTentativeAccept) - // PrependActivityStreamsTentativeReject prepends a TentativeReject value - // to the front of a list of the property "tracksTicketsFor". - // Invalidates all iterators. - PrependActivityStreamsTentativeReject(v ActivityStreamsTentativeReject) - // PrependActivityStreamsTombstone prepends a Tombstone value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependActivityStreamsTombstone(v ActivityStreamsTombstone) - // PrependActivityStreamsTravel prepends a Travel value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsTravel(v ActivityStreamsTravel) - // PrependActivityStreamsUndo prepends a Undo value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsUndo(v ActivityStreamsUndo) - // PrependActivityStreamsUpdate prepends a Update value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsUpdate(v ActivityStreamsUpdate) - // PrependActivityStreamsVideo prepends a Video value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsVideo(v ActivityStreamsVideo) - // PrependActivityStreamsView prepends a View value to the front of a list - // of the property "tracksTicketsFor". Invalidates all iterators. - PrependActivityStreamsView(v ActivityStreamsView) - // PrependForgeFedBranch prepends a Branch value to the front of a list of - // the property "tracksTicketsFor". Invalidates all iterators. - PrependForgeFedBranch(v ForgeFedBranch) - // PrependForgeFedCommit prepends a Commit value to the front of a list of - // the property "tracksTicketsFor". Invalidates all iterators. - PrependForgeFedCommit(v ForgeFedCommit) - // PrependForgeFedPush prepends a Push value to the front of a list of the - // property "tracksTicketsFor". Invalidates all iterators. - PrependForgeFedPush(v ForgeFedPush) - // PrependForgeFedRepository prepends a Repository value to the front of a - // list of the property "tracksTicketsFor". Invalidates all iterators. - PrependForgeFedRepository(v ForgeFedRepository) - // PrependForgeFedTicket prepends a Ticket value to the front of a list of - // the property "tracksTicketsFor". Invalidates all iterators. - PrependForgeFedTicket(v ForgeFedTicket) - // PrependForgeFedTicketDependency prepends a TicketDependency value to - // the front of a list of the property "tracksTicketsFor". Invalidates - // all iterators. - PrependForgeFedTicketDependency(v ForgeFedTicketDependency) - // PrependIRI prepends an IRI value to the front of a list of the property - // "tracksTicketsFor". - PrependIRI(v *url.URL) - // PrependSchemaPropertyValue prepends a PropertyValue value to the front - // of a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependSchemaPropertyValue(v SchemaPropertyValue) - // PrependTootEmoji prepends a Emoji value to the front of a list of the - // property "tracksTicketsFor". Invalidates all iterators. - PrependTootEmoji(v TootEmoji) - // PrependTootIdentityProof prepends a IdentityProof value to the front of - // a list of the property "tracksTicketsFor". Invalidates all - // iterators. - PrependTootIdentityProof(v TootIdentityProof) - // PrependType prepends an arbitrary type value to the front of a list of - // the property "tracksTicketsFor". Invalidates all iterators. Returns - // an error if the type is not a valid one to set for this property. - PrependType(t Type) error - // Remove deletes an element at the specified index from a list of the - // property "tracksTicketsFor", regardless of its type. Panics if the - // index is out of bounds. Invalidates all iterators. - Remove(idx int) - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. Applications should not - // need this function as most typical use cases serialize types - // instead of individual properties. It is exposed for alternatives to - // go-fed implementations to use. - Serialize() (interface{}, error) - // SetActivityStreamsAccept sets a Accept value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsAccept(idx int, v ActivityStreamsAccept) - // SetActivityStreamsActivity sets a Activity value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsActivity(idx int, v ActivityStreamsActivity) - // SetActivityStreamsAdd sets a Add value to be at the specified index for - // the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsAdd(idx int, v ActivityStreamsAdd) - // SetActivityStreamsAnnounce sets a Announce value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsAnnounce(idx int, v ActivityStreamsAnnounce) - // SetActivityStreamsApplication sets a Application value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsApplication(idx int, v ActivityStreamsApplication) - // SetActivityStreamsArrive sets a Arrive value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsArrive(idx int, v ActivityStreamsArrive) - // SetActivityStreamsArticle sets a Article value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsArticle(idx int, v ActivityStreamsArticle) - // SetActivityStreamsAudio sets a Audio value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsAudio(idx int, v ActivityStreamsAudio) - // SetActivityStreamsBlock sets a Block value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsBlock(idx int, v ActivityStreamsBlock) - // SetActivityStreamsCollection sets a Collection value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsCollection(idx int, v ActivityStreamsCollection) - // SetActivityStreamsCollectionPage sets a CollectionPage value to be at - // the specified index for the property "tracksTicketsFor". Panics if - // the index is out of bounds. Invalidates all iterators. - SetActivityStreamsCollectionPage(idx int, v ActivityStreamsCollectionPage) - // SetActivityStreamsCreate sets a Create value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsCreate(idx int, v ActivityStreamsCreate) - // SetActivityStreamsDelete sets a Delete value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsDelete(idx int, v ActivityStreamsDelete) - // SetActivityStreamsDislike sets a Dislike value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsDislike(idx int, v ActivityStreamsDislike) - // SetActivityStreamsDocument sets a Document value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsDocument(idx int, v ActivityStreamsDocument) - // SetActivityStreamsEvent sets a Event value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsEvent(idx int, v ActivityStreamsEvent) - // SetActivityStreamsFlag sets a Flag value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsFlag(idx int, v ActivityStreamsFlag) - // SetActivityStreamsFollow sets a Follow value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsFollow(idx int, v ActivityStreamsFollow) - // SetActivityStreamsGroup sets a Group value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsGroup(idx int, v ActivityStreamsGroup) - // SetActivityStreamsIgnore sets a Ignore value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsIgnore(idx int, v ActivityStreamsIgnore) - // SetActivityStreamsImage sets a Image value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsImage(idx int, v ActivityStreamsImage) - // SetActivityStreamsIntransitiveActivity sets a IntransitiveActivity - // value to be at the specified index for the property - // "tracksTicketsFor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetActivityStreamsIntransitiveActivity(idx int, v ActivityStreamsIntransitiveActivity) - // SetActivityStreamsInvite sets a Invite value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsInvite(idx int, v ActivityStreamsInvite) - // SetActivityStreamsJoin sets a Join value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsJoin(idx int, v ActivityStreamsJoin) - // SetActivityStreamsLeave sets a Leave value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsLeave(idx int, v ActivityStreamsLeave) - // SetActivityStreamsLike sets a Like value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsLike(idx int, v ActivityStreamsLike) - // SetActivityStreamsListen sets a Listen value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsListen(idx int, v ActivityStreamsListen) - // SetActivityStreamsMove sets a Move value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsMove(idx int, v ActivityStreamsMove) - // SetActivityStreamsNote sets a Note value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsNote(idx int, v ActivityStreamsNote) - // SetActivityStreamsObject sets a Object value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsObject(idx int, v ActivityStreamsObject) - // SetActivityStreamsOffer sets a Offer value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsOffer(idx int, v ActivityStreamsOffer) - // SetActivityStreamsOrderedCollection sets a OrderedCollection value to - // be at the specified index for the property "tracksTicketsFor". - // Panics if the index is out of bounds. Invalidates all iterators. - SetActivityStreamsOrderedCollection(idx int, v ActivityStreamsOrderedCollection) - // SetActivityStreamsOrderedCollectionPage sets a OrderedCollectionPage - // value to be at the specified index for the property - // "tracksTicketsFor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetActivityStreamsOrderedCollectionPage(idx int, v ActivityStreamsOrderedCollectionPage) - // SetActivityStreamsOrganization sets a Organization value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsOrganization(idx int, v ActivityStreamsOrganization) - // SetActivityStreamsPage sets a Page value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsPage(idx int, v ActivityStreamsPage) - // SetActivityStreamsPerson sets a Person value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsPerson(idx int, v ActivityStreamsPerson) - // SetActivityStreamsPlace sets a Place value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsPlace(idx int, v ActivityStreamsPlace) - // SetActivityStreamsProfile sets a Profile value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsProfile(idx int, v ActivityStreamsProfile) - // SetActivityStreamsQuestion sets a Question value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsQuestion(idx int, v ActivityStreamsQuestion) - // SetActivityStreamsRead sets a Read value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsRead(idx int, v ActivityStreamsRead) - // SetActivityStreamsReject sets a Reject value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsReject(idx int, v ActivityStreamsReject) - // SetActivityStreamsRelationship sets a Relationship value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsRelationship(idx int, v ActivityStreamsRelationship) - // SetActivityStreamsRemove sets a Remove value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsRemove(idx int, v ActivityStreamsRemove) - // SetActivityStreamsService sets a Service value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsService(idx int, v ActivityStreamsService) - // SetActivityStreamsTentativeAccept sets a TentativeAccept value to be at - // the specified index for the property "tracksTicketsFor". Panics if - // the index is out of bounds. Invalidates all iterators. - SetActivityStreamsTentativeAccept(idx int, v ActivityStreamsTentativeAccept) - // SetActivityStreamsTentativeReject sets a TentativeReject value to be at - // the specified index for the property "tracksTicketsFor". Panics if - // the index is out of bounds. Invalidates all iterators. - SetActivityStreamsTentativeReject(idx int, v ActivityStreamsTentativeReject) - // SetActivityStreamsTombstone sets a Tombstone value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetActivityStreamsTombstone(idx int, v ActivityStreamsTombstone) - // SetActivityStreamsTravel sets a Travel value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsTravel(idx int, v ActivityStreamsTravel) - // SetActivityStreamsUndo sets a Undo value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsUndo(idx int, v ActivityStreamsUndo) - // SetActivityStreamsUpdate sets a Update value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetActivityStreamsUpdate(idx int, v ActivityStreamsUpdate) - // SetActivityStreamsVideo sets a Video value to be at the specified index - // for the property "tracksTicketsFor". Panics if the index is out of - // bounds. Invalidates all iterators. - SetActivityStreamsVideo(idx int, v ActivityStreamsVideo) - // SetActivityStreamsView sets a View value to be at the specified index - // for the property "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 "tracksTicketsFor". 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 - // "tracksTicketsFor". Panics if the index is out of bounds. - SetIRI(idx int, v *url.URL) - // SetSchemaPropertyValue sets a PropertyValue value to be at the - // specified index for the property "tracksTicketsFor". Panics if the - // index is out of bounds. Invalidates all iterators. - SetSchemaPropertyValue(idx int, v SchemaPropertyValue) - // SetTootEmoji sets a Emoji value to be at the specified index for the - // property "tracksTicketsFor". Panics if the index is out of bounds. - // Invalidates all iterators. - SetTootEmoji(idx int, v TootEmoji) - // SetTootIdentityProof sets a IdentityProof value to be at the specified - // index for the property "tracksTicketsFor". Panics if the index is - // out of bounds. Invalidates all iterators. - SetTootIdentityProof(idx int, v TootIdentityProof) - // SetType sets an arbitrary type value to the specified index of the - // property "tracksTicketsFor". Invalidates all iterators. Returns an - // error if the type is not a valid one to set for this property. - // Panics if the index is out of bounds. - SetType(idx int, t Type) error - // Swap swaps the location of values at two indices for the - // "tracksTicketsFor" property. - Swap(i, j int) -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go index 405db9a46..547134830 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_accept_interface.go @@ -153,15 +153,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 @@ -263,12 +254,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go index 8197fc44d..cbb1eaf28 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_activity_interface.go @@ -133,15 +133,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 @@ -244,12 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go index 5715911e0..a54aa94e3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_add_interface.go @@ -153,15 +153,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 @@ -263,12 +254,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go index 91076bc26..aecd4e8e6 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_announce_interface.go @@ -135,15 +135,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 @@ -246,12 +237,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go index 905a03e14..b3506f1d9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_application_interface.go @@ -134,15 +134,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 @@ -264,12 +255,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go index 68a083379..c84fe32d6 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_arrive_interface.go @@ -132,15 +132,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 @@ -240,12 +231,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go index f9ba9d4a7..b99514024 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_article_interface.go @@ -109,15 +109,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 @@ -210,12 +201,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go index 52f7c7659..c3872f4df 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_audio_interface.go @@ -111,15 +111,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 @@ -214,12 +205,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go index 6bcb92565..2d2831942 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_block_interface.go @@ -126,15 +126,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 @@ -236,12 +227,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go index 103ae2d4a..d928c390f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collection_interface.go @@ -134,15 +134,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 @@ -245,12 +236,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go index 4086327c0..139685cd0 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_collectionpage_interface.go @@ -144,15 +144,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 @@ -261,12 +252,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go index fa8884795..c827f355a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_create_interface.go @@ -130,15 +130,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 @@ -240,12 +231,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go index a69db57d5..a9c3c2594 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_delete_interface.go @@ -131,15 +131,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 @@ -241,12 +232,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go index 3b3841668..6f4f34f1d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_dislike_interface.go @@ -123,15 +123,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 @@ -234,12 +225,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go index 5df1cb34c..36a5ff237 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_document_interface.go @@ -107,15 +107,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 @@ -211,12 +202,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go index 11a2e3649..ab87e988f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_event_interface.go @@ -108,15 +108,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 @@ -208,12 +199,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go index bcb34036a..97e7fecc4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_flag_interface.go @@ -128,15 +128,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 @@ -238,12 +229,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go index 43c86d9ba..894391cb7 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_follow_interface.go @@ -132,15 +132,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 @@ -242,12 +233,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go index 6e536bc7a..589a65251 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_group_interface.go @@ -134,15 +134,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 @@ -263,12 +254,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go index 6631dc412..fc9b2834c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_ignore_interface.go @@ -127,15 +127,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 @@ -237,12 +228,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go index 935da88a7..9cda6edde 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_image_interface.go @@ -124,15 +124,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 @@ -231,12 +222,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go index a1fd2faf9..227aaf59a 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_intransitiveactivity_interface.go @@ -128,15 +128,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 @@ -237,12 +228,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go index 06df99a6f..7e5c8ebac 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_invite_interface.go @@ -140,15 +140,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 @@ -250,12 +241,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go index db7cb5720..3377cac82 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_join_interface.go @@ -130,15 +130,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 @@ -240,12 +231,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go index c2ff62819..4042315ec 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_leave_interface.go @@ -144,15 +144,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 @@ -254,12 +245,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go index 3f2d6524e..eed270a80 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_like_interface.go @@ -127,15 +127,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 @@ -237,12 +228,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go index e8764fa61..cf8896188 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_listen_interface.go @@ -126,15 +126,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 @@ -236,12 +227,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go index e483990c7..103360258 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_move_interface.go @@ -135,15 +135,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 @@ -245,12 +236,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go index 03e67264f..e40ec5fad 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_note_interface.go @@ -108,15 +108,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 @@ -208,12 +199,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go index f413282af..d13b468a9 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_object_interface.go @@ -110,15 +110,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 @@ -210,12 +201,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go index 1b931b644..94e395fdb 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_offer_interface.go @@ -134,15 +134,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 @@ -244,12 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go index 8186b982c..9460033a8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollection_interface.go @@ -133,18 +133,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 @@ -247,14 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go index b934f1fd6..b81333371 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_orderedcollectionpage_interface.go @@ -147,18 +147,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 @@ -269,14 +257,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go index 1df50cef0..da91831be 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_organization_interface.go @@ -134,15 +134,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 @@ -264,12 +255,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go index 2fde4ebe7..c439c2aad 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_page_interface.go @@ -107,15 +107,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 @@ -210,12 +201,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go index b27ab36a8..b202c34ab 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_person_interface.go @@ -134,15 +134,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 @@ -263,12 +254,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go index 2706d9beb..f726da126 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_place_interface.go @@ -132,15 +132,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 @@ -242,12 +233,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go index b7a2271b8..114ed055c 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_profile_interface.go @@ -115,15 +115,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 @@ -218,12 +209,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go index 68d5f1eae..b75f816ca 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_question_interface.go @@ -149,15 +149,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 @@ -267,12 +258,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go index e4e0a8d46..42482d7a8 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_read_interface.go @@ -126,15 +126,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 @@ -236,12 +227,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go index 44c67c72c..68fe20a70 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_reject_interface.go @@ -134,15 +134,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 @@ -244,12 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go index 8948734ac..535dbb221 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_relationship_interface.go @@ -123,15 +123,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 @@ -228,12 +219,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go index 643fee97b..98287a08f 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_remove_interface.go @@ -149,15 +149,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 @@ -259,12 +250,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go index 6dcc14000..f321e73be 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_service_interface.go @@ -134,15 +134,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 @@ -264,12 +255,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go index 5caeca9eb..89592f08d 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativeaccept_interface.go @@ -133,15 +133,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 @@ -244,12 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go index 31e13bd5f..a2715ccd3 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tentativereject_interface.go @@ -133,15 +133,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 @@ -244,12 +235,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go index 244f51fd2..4c69a76b4 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_tombstone_interface.go @@ -131,15 +131,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 @@ -236,12 +227,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go index 13e2b3148..212905842 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_travel_interface.go @@ -132,15 +132,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 @@ -240,12 +231,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go index 8a18b68a8..ee0a1d700 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_undo_interface.go @@ -132,15 +132,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 @@ -242,12 +233,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go index 606604fa9..04345d21e 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_update_interface.go @@ -129,15 +129,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 @@ -239,12 +230,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go index 227985670..7b85522e6 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_video_interface.go @@ -108,15 +108,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 @@ -211,12 +202,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go index 497829f4d..7394ba438 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_activitystreams_view_interface.go @@ -129,15 +129,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 @@ -239,12 +230,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_branch_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_branch_interface.go deleted file mode 100644 index c75b0508c..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_branch_interface.go +++ /dev/null @@ -1,234 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Represents a named variable reference to a version of the Repository, typically -// used for committing changes in parallel to other development, and usually -// eventually merging the changes into the main history line. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "context": "https://example.org/luke/myrepo", -// "id": "https://example.org/luke/myrepo/branches/master", -// "name": "master", -// "ref": "refs/heads/master", -// "type": "Branch" -// } -type ForgeFedBranch interface { - // GetActivityStreamsAltitude returns the "altitude" property if it - // exists, and nil otherwise. - GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty - // GetActivityStreamsAttachment returns the "attachment" property if it - // exists, and nil otherwise. - GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty - // GetActivityStreamsAttributedTo returns the "attributedTo" property if - // it exists, and nil otherwise. - GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty - // GetActivityStreamsAudience returns the "audience" property if it - // exists, and nil otherwise. - GetActivityStreamsAudience() ActivityStreamsAudienceProperty - // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil - // otherwise. - GetActivityStreamsBcc() ActivityStreamsBccProperty - // GetActivityStreamsBto returns the "bto" property if it exists, and nil - // otherwise. - GetActivityStreamsBto() ActivityStreamsBtoProperty - // GetActivityStreamsCc returns the "cc" property if it exists, and nil - // otherwise. - GetActivityStreamsCc() ActivityStreamsCcProperty - // GetActivityStreamsContent returns the "content" property if it exists, - // and nil otherwise. - GetActivityStreamsContent() ActivityStreamsContentProperty - // GetActivityStreamsContext returns the "context" property if it exists, - // and nil otherwise. - GetActivityStreamsContext() ActivityStreamsContextProperty - // GetActivityStreamsDuration returns the "duration" property if it - // exists, and nil otherwise. - GetActivityStreamsDuration() ActivityStreamsDurationProperty - // GetActivityStreamsEndTime returns the "endTime" property if it exists, - // and nil otherwise. - GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty - // GetActivityStreamsGenerator returns the "generator" property if it - // exists, and nil otherwise. - GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty - // GetActivityStreamsIcon returns the "icon" property if it exists, and - // nil otherwise. - GetActivityStreamsIcon() ActivityStreamsIconProperty - // GetActivityStreamsImage returns the "image" property if it exists, and - // nil otherwise. - GetActivityStreamsImage() ActivityStreamsImageProperty - // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it - // exists, and nil otherwise. - GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty - // GetActivityStreamsLikes returns the "likes" property if it exists, and - // nil otherwise. - GetActivityStreamsLikes() ActivityStreamsLikesProperty - // GetActivityStreamsLocation returns the "location" property if it - // exists, and nil otherwise. - GetActivityStreamsLocation() ActivityStreamsLocationProperty - // GetActivityStreamsMediaType returns the "mediaType" property if it - // exists, and nil otherwise. - GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty - // GetActivityStreamsName returns the "name" property if it exists, and - // nil otherwise. - GetActivityStreamsName() ActivityStreamsNameProperty - // GetActivityStreamsObject returns the "object" property if it exists, - // and nil otherwise. - GetActivityStreamsObject() ActivityStreamsObjectProperty - // GetActivityStreamsPreview returns the "preview" property if it exists, - // and nil otherwise. - GetActivityStreamsPreview() ActivityStreamsPreviewProperty - // GetActivityStreamsPublished returns the "published" property if it - // exists, and nil otherwise. - GetActivityStreamsPublished() ActivityStreamsPublishedProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSummary returns the "summary" property if it exists, - // and nil otherwise. - GetActivityStreamsSummary() ActivityStreamsSummaryProperty - // GetActivityStreamsTag returns the "tag" property if it exists, and nil - // otherwise. - GetActivityStreamsTag() ActivityStreamsTagProperty - // GetActivityStreamsTo returns the "to" property if it exists, and nil - // otherwise. - GetActivityStreamsTo() ActivityStreamsToProperty - // GetActivityStreamsUpdated returns the "updated" property if it exists, - // and nil otherwise. - GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty - // GetActivityStreamsUrl returns the "url" property if it exists, and nil - // otherwise. - GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedRef returns the "ref" property if it exists, and nil - // otherwise. - GetForgeFedRef() ForgeFedRefProperty - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the Branch - // 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 Branch 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 Branch is lesser, with an arbitrary but - // stable determination. - LessThan(o ForgeFedBranch) bool - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. - Serialize() (map[string]interface{}, error) - // SetActivityStreamsAltitude sets the "altitude" property. - SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) - // SetActivityStreamsAttachment sets the "attachment" property. - SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) - // SetActivityStreamsAttributedTo sets the "attributedTo" property. - SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) - // SetActivityStreamsAudience sets the "audience" property. - SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) - // SetActivityStreamsBcc sets the "bcc" property. - SetActivityStreamsBcc(i ActivityStreamsBccProperty) - // SetActivityStreamsBto sets the "bto" property. - SetActivityStreamsBto(i ActivityStreamsBtoProperty) - // SetActivityStreamsCc sets the "cc" property. - SetActivityStreamsCc(i ActivityStreamsCcProperty) - // SetActivityStreamsContent sets the "content" property. - SetActivityStreamsContent(i ActivityStreamsContentProperty) - // SetActivityStreamsContext sets the "context" property. - SetActivityStreamsContext(i ActivityStreamsContextProperty) - // SetActivityStreamsDuration sets the "duration" property. - SetActivityStreamsDuration(i ActivityStreamsDurationProperty) - // SetActivityStreamsEndTime sets the "endTime" property. - SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) - // SetActivityStreamsGenerator sets the "generator" property. - SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) - // SetActivityStreamsIcon sets the "icon" property. - SetActivityStreamsIcon(i ActivityStreamsIconProperty) - // SetActivityStreamsImage sets the "image" property. - SetActivityStreamsImage(i ActivityStreamsImageProperty) - // SetActivityStreamsInReplyTo sets the "inReplyTo" property. - SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) - // SetActivityStreamsLikes sets the "likes" property. - SetActivityStreamsLikes(i ActivityStreamsLikesProperty) - // SetActivityStreamsLocation sets the "location" property. - SetActivityStreamsLocation(i ActivityStreamsLocationProperty) - // SetActivityStreamsMediaType sets the "mediaType" property. - SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) - // SetActivityStreamsName sets the "name" property. - SetActivityStreamsName(i ActivityStreamsNameProperty) - // SetActivityStreamsObject sets the "object" property. - SetActivityStreamsObject(i ActivityStreamsObjectProperty) - // SetActivityStreamsPreview sets the "preview" property. - SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) - // SetActivityStreamsPublished sets the "published" property. - SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSummary sets the "summary" property. - SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) - // SetActivityStreamsTag sets the "tag" property. - SetActivityStreamsTag(i ActivityStreamsTagProperty) - // SetActivityStreamsTo sets the "to" property. - SetActivityStreamsTo(i ActivityStreamsToProperty) - // SetActivityStreamsUpdated sets the "updated" property. - SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) - // SetActivityStreamsUrl sets the "url" property. - SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedRef sets the "ref" property. - SetForgeFedRef(i ForgeFedRefProperty) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_commit_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_commit_interface.go deleted file mode 100644 index 95508e3a4..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_commit_interface.go +++ /dev/null @@ -1,274 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Represents a named set of changes in the history of a Repository. This is -// called "commit" in Git, Mercurial and Monotone; "patch" in Darcs; sometimes -// called "change set". Note that Commit is a set of changes that already -// exists in a repo’s history, while a Patch is a separate proposed change -// set, that could be applied and pushed to a repo, resulting with a Commit. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "attributedTo": "https://example.org/bob", -// "committed": "2019-07-26T23:45:01Z", -// "committedBy": "https://example.org/alice", -// "context": "https://example.org/alice/myrepo", -// "created": "2019-07-11T12:34:56Z", -// "description": { -// "content": "It's about time people can install on their computers!", -// "mediaType": "text/plain" -// }, -// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c", -// "summary": "Add an installation script, fixes issue #89", -// "type": "Commit" -// } -type ForgeFedCommit interface { - // GetActivityStreamsAltitude returns the "altitude" property if it - // exists, and nil otherwise. - GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty - // GetActivityStreamsAttachment returns the "attachment" property if it - // exists, and nil otherwise. - GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty - // GetActivityStreamsAttributedTo returns the "attributedTo" property if - // it exists, and nil otherwise. - GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty - // GetActivityStreamsAudience returns the "audience" property if it - // exists, and nil otherwise. - GetActivityStreamsAudience() ActivityStreamsAudienceProperty - // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil - // otherwise. - GetActivityStreamsBcc() ActivityStreamsBccProperty - // GetActivityStreamsBto returns the "bto" property if it exists, and nil - // otherwise. - GetActivityStreamsBto() ActivityStreamsBtoProperty - // GetActivityStreamsCc returns the "cc" property if it exists, and nil - // otherwise. - GetActivityStreamsCc() ActivityStreamsCcProperty - // GetActivityStreamsContent returns the "content" property if it exists, - // and nil otherwise. - GetActivityStreamsContent() ActivityStreamsContentProperty - // GetActivityStreamsContext returns the "context" property if it exists, - // and nil otherwise. - GetActivityStreamsContext() ActivityStreamsContextProperty - // GetActivityStreamsDuration returns the "duration" property if it - // exists, and nil otherwise. - GetActivityStreamsDuration() ActivityStreamsDurationProperty - // GetActivityStreamsEndTime returns the "endTime" property if it exists, - // and nil otherwise. - GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty - // GetActivityStreamsGenerator returns the "generator" property if it - // exists, and nil otherwise. - GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty - // GetActivityStreamsIcon returns the "icon" property if it exists, and - // nil otherwise. - GetActivityStreamsIcon() ActivityStreamsIconProperty - // GetActivityStreamsImage returns the "image" property if it exists, and - // nil otherwise. - GetActivityStreamsImage() ActivityStreamsImageProperty - // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it - // exists, and nil otherwise. - GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty - // GetActivityStreamsLikes returns the "likes" property if it exists, and - // nil otherwise. - GetActivityStreamsLikes() ActivityStreamsLikesProperty - // GetActivityStreamsLocation returns the "location" property if it - // exists, and nil otherwise. - GetActivityStreamsLocation() ActivityStreamsLocationProperty - // GetActivityStreamsMediaType returns the "mediaType" property if it - // exists, and nil otherwise. - GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty - // GetActivityStreamsName returns the "name" property if it exists, and - // nil otherwise. - GetActivityStreamsName() ActivityStreamsNameProperty - // GetActivityStreamsObject returns the "object" property if it exists, - // and nil otherwise. - GetActivityStreamsObject() ActivityStreamsObjectProperty - // GetActivityStreamsPreview returns the "preview" property if it exists, - // and nil otherwise. - GetActivityStreamsPreview() ActivityStreamsPreviewProperty - // GetActivityStreamsPublished returns the "published" property if it - // exists, and nil otherwise. - GetActivityStreamsPublished() ActivityStreamsPublishedProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSummary returns the "summary" property if it exists, - // and nil otherwise. - GetActivityStreamsSummary() ActivityStreamsSummaryProperty - // GetActivityStreamsTag returns the "tag" property if it exists, and nil - // otherwise. - GetActivityStreamsTag() ActivityStreamsTagProperty - // GetActivityStreamsTo returns the "to" property if it exists, and nil - // otherwise. - GetActivityStreamsTo() ActivityStreamsToProperty - // GetActivityStreamsUpdated returns the "updated" property if it exists, - // and nil otherwise. - GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty - // GetActivityStreamsUrl returns the "url" property if it exists, and nil - // otherwise. - GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedCommitted returns the "committed" property if it exists, and - // nil otherwise. - GetForgeFedCommitted() ForgeFedCommittedProperty - // GetForgeFedCommittedBy returns the "committedBy" property if it exists, - // and nil otherwise. - GetForgeFedCommittedBy() ForgeFedCommittedByProperty - // GetForgeFedDescription returns the "description" property if it exists, - // and nil otherwise. - GetForgeFedDescription() ForgeFedDescriptionProperty - // GetForgeFedFilesAdded returns the "filesAdded" property if it exists, - // and nil otherwise. - GetForgeFedFilesAdded() ForgeFedFilesAddedProperty - // GetForgeFedFilesModified returns the "filesModified" property if it - // exists, and nil otherwise. - GetForgeFedFilesModified() ForgeFedFilesModifiedProperty - // GetForgeFedFilesRemoved returns the "filesRemoved" property if it - // exists, and nil otherwise. - GetForgeFedFilesRemoved() ForgeFedFilesRemovedProperty - // GetForgeFedHash returns the "hash" property if it exists, and nil - // otherwise. - GetForgeFedHash() ForgeFedHashProperty - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the Commit - // 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 Commit 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 Commit is lesser, with an arbitrary but - // stable determination. - LessThan(o ForgeFedCommit) bool - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. - Serialize() (map[string]interface{}, error) - // SetActivityStreamsAltitude sets the "altitude" property. - SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) - // SetActivityStreamsAttachment sets the "attachment" property. - SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) - // SetActivityStreamsAttributedTo sets the "attributedTo" property. - SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) - // SetActivityStreamsAudience sets the "audience" property. - SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) - // SetActivityStreamsBcc sets the "bcc" property. - SetActivityStreamsBcc(i ActivityStreamsBccProperty) - // SetActivityStreamsBto sets the "bto" property. - SetActivityStreamsBto(i ActivityStreamsBtoProperty) - // SetActivityStreamsCc sets the "cc" property. - SetActivityStreamsCc(i ActivityStreamsCcProperty) - // SetActivityStreamsContent sets the "content" property. - SetActivityStreamsContent(i ActivityStreamsContentProperty) - // SetActivityStreamsContext sets the "context" property. - SetActivityStreamsContext(i ActivityStreamsContextProperty) - // SetActivityStreamsDuration sets the "duration" property. - SetActivityStreamsDuration(i ActivityStreamsDurationProperty) - // SetActivityStreamsEndTime sets the "endTime" property. - SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) - // SetActivityStreamsGenerator sets the "generator" property. - SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) - // SetActivityStreamsIcon sets the "icon" property. - SetActivityStreamsIcon(i ActivityStreamsIconProperty) - // SetActivityStreamsImage sets the "image" property. - SetActivityStreamsImage(i ActivityStreamsImageProperty) - // SetActivityStreamsInReplyTo sets the "inReplyTo" property. - SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) - // SetActivityStreamsLikes sets the "likes" property. - SetActivityStreamsLikes(i ActivityStreamsLikesProperty) - // SetActivityStreamsLocation sets the "location" property. - SetActivityStreamsLocation(i ActivityStreamsLocationProperty) - // SetActivityStreamsMediaType sets the "mediaType" property. - SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) - // SetActivityStreamsName sets the "name" property. - SetActivityStreamsName(i ActivityStreamsNameProperty) - // SetActivityStreamsObject sets the "object" property. - SetActivityStreamsObject(i ActivityStreamsObjectProperty) - // SetActivityStreamsPreview sets the "preview" property. - SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) - // SetActivityStreamsPublished sets the "published" property. - SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSummary sets the "summary" property. - SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) - // SetActivityStreamsTag sets the "tag" property. - SetActivityStreamsTag(i ActivityStreamsTagProperty) - // SetActivityStreamsTo sets the "to" property. - SetActivityStreamsTo(i ActivityStreamsToProperty) - // SetActivityStreamsUpdated sets the "updated" property. - SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) - // SetActivityStreamsUrl sets the "url" property. - SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedCommitted sets the "committed" property. - SetForgeFedCommitted(i ForgeFedCommittedProperty) - // SetForgeFedCommittedBy sets the "committedBy" property. - SetForgeFedCommittedBy(i ForgeFedCommittedByProperty) - // SetForgeFedDescription sets the "description" property. - SetForgeFedDescription(i ForgeFedDescriptionProperty) - // SetForgeFedFilesAdded sets the "filesAdded" property. - SetForgeFedFilesAdded(i ForgeFedFilesAddedProperty) - // SetForgeFedFilesModified sets the "filesModified" property. - SetForgeFedFilesModified(i ForgeFedFilesModifiedProperty) - // SetForgeFedFilesRemoved sets the "filesRemoved" property. - SetForgeFedFilesRemoved(i ForgeFedFilesRemovedProperty) - // SetForgeFedHash sets the "hash" property. - SetForgeFedHash(i ForgeFedHashProperty) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_push_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_push_interface.go deleted file mode 100644 index e4e92002e..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_push_interface.go +++ /dev/null @@ -1,275 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Indicates that new content has been pushed to the Repository. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "actor": "https://example.org/aviva", -// "context": "https://example.org/aviva/myproject", -// "id": "https://example.org/aviva/outbox/reBGo", -// "object": { -// "items": [ -// { -// "attributedTo": "https://example.org/aviva", -// "context": "https://example.org/aviva/myproject", -// "created": "2019-11-03T13:43:59Z", -// "hash": "d96596230322716bd6f87a232a648ca9822a1c20", -// "id": "https://example.org/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20", -// "summary": "Provide hints in sign-up form fields", -// "type": "Commit" -// } -// ], -// "totalItems": 1, -// "type": "OrderedCollection" -// }, -// "summary": "\u003cp\u003eAviva pushed a commit to -// myproject\u003c/p\u003e", -// "target": "https://example.org/aviva/myproject/branches/master", -// "to": [ -// "https://example.org/aviva/followers", -// "https://example.org/aviva/myproject", -// "https://example.org/aviva/myproject/team", -// "https://example.org/aviva/myproject/followers" -// ], -// "type": "Push" -// } -type ForgeFedPush interface { - // GetActivityStreamsActor returns the "actor" property if it exists, and - // nil otherwise. - GetActivityStreamsActor() ActivityStreamsActorProperty - // GetActivityStreamsAltitude returns the "altitude" property if it - // exists, and nil otherwise. - GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty - // GetActivityStreamsAttachment returns the "attachment" property if it - // exists, and nil otherwise. - GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty - // GetActivityStreamsAttributedTo returns the "attributedTo" property if - // it exists, and nil otherwise. - GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty - // GetActivityStreamsAudience returns the "audience" property if it - // exists, and nil otherwise. - GetActivityStreamsAudience() ActivityStreamsAudienceProperty - // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil - // otherwise. - GetActivityStreamsBcc() ActivityStreamsBccProperty - // GetActivityStreamsBto returns the "bto" property if it exists, and nil - // otherwise. - GetActivityStreamsBto() ActivityStreamsBtoProperty - // GetActivityStreamsCc returns the "cc" property if it exists, and nil - // otherwise. - GetActivityStreamsCc() ActivityStreamsCcProperty - // GetActivityStreamsContent returns the "content" property if it exists, - // and nil otherwise. - GetActivityStreamsContent() ActivityStreamsContentProperty - // GetActivityStreamsContext returns the "context" property if it exists, - // and nil otherwise. - GetActivityStreamsContext() ActivityStreamsContextProperty - // GetActivityStreamsDuration returns the "duration" property if it - // exists, and nil otherwise. - GetActivityStreamsDuration() ActivityStreamsDurationProperty - // GetActivityStreamsEndTime returns the "endTime" property if it exists, - // and nil otherwise. - GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty - // GetActivityStreamsGenerator returns the "generator" property if it - // exists, and nil otherwise. - GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty - // GetActivityStreamsIcon returns the "icon" property if it exists, and - // nil otherwise. - GetActivityStreamsIcon() ActivityStreamsIconProperty - // GetActivityStreamsImage returns the "image" property if it exists, and - // nil otherwise. - GetActivityStreamsImage() ActivityStreamsImageProperty - // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it - // exists, and nil otherwise. - GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty - // GetActivityStreamsInstrument returns the "instrument" property if it - // exists, and nil otherwise. - GetActivityStreamsInstrument() ActivityStreamsInstrumentProperty - // GetActivityStreamsLikes returns the "likes" property if it exists, and - // nil otherwise. - GetActivityStreamsLikes() ActivityStreamsLikesProperty - // GetActivityStreamsLocation returns the "location" property if it - // exists, and nil otherwise. - GetActivityStreamsLocation() ActivityStreamsLocationProperty - // GetActivityStreamsMediaType returns the "mediaType" property if it - // exists, and nil otherwise. - GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty - // GetActivityStreamsName returns the "name" property if it exists, and - // nil otherwise. - GetActivityStreamsName() ActivityStreamsNameProperty - // GetActivityStreamsObject returns the "object" property if it exists, - // and nil otherwise. - GetActivityStreamsObject() ActivityStreamsObjectProperty - // GetActivityStreamsOrigin returns the "origin" property if it exists, - // and nil otherwise. - GetActivityStreamsOrigin() ActivityStreamsOriginProperty - // GetActivityStreamsPreview returns the "preview" property if it exists, - // and nil otherwise. - GetActivityStreamsPreview() ActivityStreamsPreviewProperty - // GetActivityStreamsPublished returns the "published" property if it - // exists, and nil otherwise. - GetActivityStreamsPublished() ActivityStreamsPublishedProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsResult returns the "result" property if it exists, - // and nil otherwise. - GetActivityStreamsResult() ActivityStreamsResultProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSummary returns the "summary" property if it exists, - // and nil otherwise. - GetActivityStreamsSummary() ActivityStreamsSummaryProperty - // GetActivityStreamsTag returns the "tag" property if it exists, and nil - // otherwise. - GetActivityStreamsTag() ActivityStreamsTagProperty - // GetActivityStreamsTarget returns the "target" property if it exists, - // and nil otherwise. - GetActivityStreamsTarget() ActivityStreamsTargetProperty - // GetActivityStreamsTo returns the "to" property if it exists, and nil - // otherwise. - GetActivityStreamsTo() ActivityStreamsToProperty - // GetActivityStreamsUpdated returns the "updated" property if it exists, - // and nil otherwise. - GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty - // GetActivityStreamsUrl returns the "url" property if it exists, and nil - // otherwise. - GetActivityStreamsUrl() ActivityStreamsUrlProperty - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the Push 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 Push 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 Push is lesser, with an arbitrary but stable - // determination. - LessThan(o ForgeFedPush) bool - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. - Serialize() (map[string]interface{}, error) - // SetActivityStreamsActor sets the "actor" property. - SetActivityStreamsActor(i ActivityStreamsActorProperty) - // SetActivityStreamsAltitude sets the "altitude" property. - SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) - // SetActivityStreamsAttachment sets the "attachment" property. - SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) - // SetActivityStreamsAttributedTo sets the "attributedTo" property. - SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) - // SetActivityStreamsAudience sets the "audience" property. - SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) - // SetActivityStreamsBcc sets the "bcc" property. - SetActivityStreamsBcc(i ActivityStreamsBccProperty) - // SetActivityStreamsBto sets the "bto" property. - SetActivityStreamsBto(i ActivityStreamsBtoProperty) - // SetActivityStreamsCc sets the "cc" property. - SetActivityStreamsCc(i ActivityStreamsCcProperty) - // SetActivityStreamsContent sets the "content" property. - SetActivityStreamsContent(i ActivityStreamsContentProperty) - // SetActivityStreamsContext sets the "context" property. - SetActivityStreamsContext(i ActivityStreamsContextProperty) - // SetActivityStreamsDuration sets the "duration" property. - SetActivityStreamsDuration(i ActivityStreamsDurationProperty) - // SetActivityStreamsEndTime sets the "endTime" property. - SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) - // SetActivityStreamsGenerator sets the "generator" property. - SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) - // SetActivityStreamsIcon sets the "icon" property. - SetActivityStreamsIcon(i ActivityStreamsIconProperty) - // SetActivityStreamsImage sets the "image" property. - SetActivityStreamsImage(i ActivityStreamsImageProperty) - // SetActivityStreamsInReplyTo sets the "inReplyTo" property. - SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) - // SetActivityStreamsInstrument sets the "instrument" property. - SetActivityStreamsInstrument(i ActivityStreamsInstrumentProperty) - // SetActivityStreamsLikes sets the "likes" property. - SetActivityStreamsLikes(i ActivityStreamsLikesProperty) - // SetActivityStreamsLocation sets the "location" property. - SetActivityStreamsLocation(i ActivityStreamsLocationProperty) - // SetActivityStreamsMediaType sets the "mediaType" property. - SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) - // SetActivityStreamsName sets the "name" property. - SetActivityStreamsName(i ActivityStreamsNameProperty) - // SetActivityStreamsObject sets the "object" property. - SetActivityStreamsObject(i ActivityStreamsObjectProperty) - // SetActivityStreamsOrigin sets the "origin" property. - SetActivityStreamsOrigin(i ActivityStreamsOriginProperty) - // SetActivityStreamsPreview sets the "preview" property. - SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) - // SetActivityStreamsPublished sets the "published" property. - SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsResult sets the "result" property. - SetActivityStreamsResult(i ActivityStreamsResultProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSummary sets the "summary" property. - SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) - // SetActivityStreamsTag sets the "tag" property. - SetActivityStreamsTag(i ActivityStreamsTagProperty) - // SetActivityStreamsTarget sets the "target" property. - SetActivityStreamsTarget(i ActivityStreamsTargetProperty) - // SetActivityStreamsTo sets the "to" property. - SetActivityStreamsTo(i ActivityStreamsToProperty) - // SetActivityStreamsUpdated sets the "updated" property. - SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) - // SetActivityStreamsUrl sets the "url" property. - SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_repository_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_repository_interface.go deleted file mode 100644 index f1f255efe..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_repository_interface.go +++ /dev/null @@ -1,243 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Represents a version control system repository. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://w3id.org/security/v1", -// "https://forgefed.peers.community/ns" -// ], -// "followers": "https://dev.example/aviva/treesim/followers", -// "id": "https://dev.example/aviva/treesim", -// "inbox": "https://dev.example/aviva/treesim/inbox", -// "name": "Tree Growth 3D Simulation", -// "outbox": "https://dev.example/aviva/treesim/outbox", -// "publicKey": { -// "id": "https://dev.example/aviva/treesim#main-key", -// "owner": "https://dev.example/aviva/treesim", -// "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhki....." -// }, -// "summary": "\u003cp\u003eTree growth 3D simulator for my nature -// exploration game\u003c/p\u003e", -// "team": "https://dev.example/aviva/treesim/team", -// "type": "Repository" -// } -type ForgeFedRepository interface { - // GetActivityStreamsAltitude returns the "altitude" property if it - // exists, and nil otherwise. - GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty - // GetActivityStreamsAttachment returns the "attachment" property if it - // exists, and nil otherwise. - GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty - // GetActivityStreamsAttributedTo returns the "attributedTo" property if - // it exists, and nil otherwise. - GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty - // GetActivityStreamsAudience returns the "audience" property if it - // exists, and nil otherwise. - GetActivityStreamsAudience() ActivityStreamsAudienceProperty - // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil - // otherwise. - GetActivityStreamsBcc() ActivityStreamsBccProperty - // GetActivityStreamsBto returns the "bto" property if it exists, and nil - // otherwise. - GetActivityStreamsBto() ActivityStreamsBtoProperty - // GetActivityStreamsCc returns the "cc" property if it exists, and nil - // otherwise. - GetActivityStreamsCc() ActivityStreamsCcProperty - // GetActivityStreamsContent returns the "content" property if it exists, - // and nil otherwise. - GetActivityStreamsContent() ActivityStreamsContentProperty - // GetActivityStreamsContext returns the "context" property if it exists, - // and nil otherwise. - GetActivityStreamsContext() ActivityStreamsContextProperty - // GetActivityStreamsDuration returns the "duration" property if it - // exists, and nil otherwise. - GetActivityStreamsDuration() ActivityStreamsDurationProperty - // GetActivityStreamsEndTime returns the "endTime" property if it exists, - // and nil otherwise. - GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty - // GetActivityStreamsGenerator returns the "generator" property if it - // exists, and nil otherwise. - GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty - // GetActivityStreamsIcon returns the "icon" property if it exists, and - // nil otherwise. - GetActivityStreamsIcon() ActivityStreamsIconProperty - // GetActivityStreamsImage returns the "image" property if it exists, and - // nil otherwise. - GetActivityStreamsImage() ActivityStreamsImageProperty - // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it - // exists, and nil otherwise. - GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty - // GetActivityStreamsLikes returns the "likes" property if it exists, and - // nil otherwise. - GetActivityStreamsLikes() ActivityStreamsLikesProperty - // GetActivityStreamsLocation returns the "location" property if it - // exists, and nil otherwise. - GetActivityStreamsLocation() ActivityStreamsLocationProperty - // GetActivityStreamsMediaType returns the "mediaType" property if it - // exists, and nil otherwise. - GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty - // GetActivityStreamsName returns the "name" property if it exists, and - // nil otherwise. - GetActivityStreamsName() ActivityStreamsNameProperty - // GetActivityStreamsObject returns the "object" property if it exists, - // and nil otherwise. - GetActivityStreamsObject() ActivityStreamsObjectProperty - // GetActivityStreamsPreview returns the "preview" property if it exists, - // and nil otherwise. - GetActivityStreamsPreview() ActivityStreamsPreviewProperty - // GetActivityStreamsPublished returns the "published" property if it - // exists, and nil otherwise. - GetActivityStreamsPublished() ActivityStreamsPublishedProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSummary returns the "summary" property if it exists, - // and nil otherwise. - GetActivityStreamsSummary() ActivityStreamsSummaryProperty - // GetActivityStreamsTag returns the "tag" property if it exists, and nil - // otherwise. - GetActivityStreamsTag() ActivityStreamsTagProperty - // GetActivityStreamsTo returns the "to" property if it exists, and nil - // otherwise. - GetActivityStreamsTo() ActivityStreamsToProperty - // GetActivityStreamsUpdated returns the "updated" property if it exists, - // and nil otherwise. - GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty - // GetActivityStreamsUrl returns the "url" property if it exists, and nil - // otherwise. - GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedForks returns the "forks" property if it exists, and nil - // otherwise. - GetForgeFedForks() ForgeFedForksProperty - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the Repository - // 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 Repository 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 Repository is lesser, with an arbitrary but - // stable determination. - LessThan(o ForgeFedRepository) bool - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. - Serialize() (map[string]interface{}, error) - // SetActivityStreamsAltitude sets the "altitude" property. - SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) - // SetActivityStreamsAttachment sets the "attachment" property. - SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) - // SetActivityStreamsAttributedTo sets the "attributedTo" property. - SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) - // SetActivityStreamsAudience sets the "audience" property. - SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) - // SetActivityStreamsBcc sets the "bcc" property. - SetActivityStreamsBcc(i ActivityStreamsBccProperty) - // SetActivityStreamsBto sets the "bto" property. - SetActivityStreamsBto(i ActivityStreamsBtoProperty) - // SetActivityStreamsCc sets the "cc" property. - SetActivityStreamsCc(i ActivityStreamsCcProperty) - // SetActivityStreamsContent sets the "content" property. - SetActivityStreamsContent(i ActivityStreamsContentProperty) - // SetActivityStreamsContext sets the "context" property. - SetActivityStreamsContext(i ActivityStreamsContextProperty) - // SetActivityStreamsDuration sets the "duration" property. - SetActivityStreamsDuration(i ActivityStreamsDurationProperty) - // SetActivityStreamsEndTime sets the "endTime" property. - SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) - // SetActivityStreamsGenerator sets the "generator" property. - SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) - // SetActivityStreamsIcon sets the "icon" property. - SetActivityStreamsIcon(i ActivityStreamsIconProperty) - // SetActivityStreamsImage sets the "image" property. - SetActivityStreamsImage(i ActivityStreamsImageProperty) - // SetActivityStreamsInReplyTo sets the "inReplyTo" property. - SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) - // SetActivityStreamsLikes sets the "likes" property. - SetActivityStreamsLikes(i ActivityStreamsLikesProperty) - // SetActivityStreamsLocation sets the "location" property. - SetActivityStreamsLocation(i ActivityStreamsLocationProperty) - // SetActivityStreamsMediaType sets the "mediaType" property. - SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) - // SetActivityStreamsName sets the "name" property. - SetActivityStreamsName(i ActivityStreamsNameProperty) - // SetActivityStreamsObject sets the "object" property. - SetActivityStreamsObject(i ActivityStreamsObjectProperty) - // SetActivityStreamsPreview sets the "preview" property. - SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) - // SetActivityStreamsPublished sets the "published" property. - SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSummary sets the "summary" property. - SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) - // SetActivityStreamsTag sets the "tag" property. - SetActivityStreamsTag(i ActivityStreamsTagProperty) - // SetActivityStreamsTo sets the "to" property. - SetActivityStreamsTo(i ActivityStreamsToProperty) - // SetActivityStreamsUpdated sets the "updated" property. - SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) - // SetActivityStreamsUrl sets the "url" property. - SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedForks sets the "forks" property. - SetForgeFedForks(i ForgeFedForksProperty) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticket_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticket_interface.go deleted file mode 100644 index 9b6a5406d..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticket_interface.go +++ /dev/null @@ -1,268 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Represents an item that requires work or attention. Tickets exist in the -// context of a project (which may or may not be a version-control -// repository), and are used to track ideas, proposals, tasks, bugs and more. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "assignedTo": "https://example.org/alice", -// "attributedTo": "https://example.com/bob", -// "content": "\u003cp\u003ePlease fix. -// \u003ci\u003eEverything\u003c/i\u003e is broken!\u003c/p\u003e", -// "context": "https://example.org/alice/myrepo", -// "id": "https://example.org/alice/myrepo/issues/42", -// "isResolved": false, -// "mediaType": "text/html", -// "source": { -// "content": "Please fix. *Everything* is broken!", -// "mediaType": "text/markdown; variant=CommonMark" -// }, -// "summary": "Nothing works!", -// "type": "Ticket" -// } -type ForgeFedTicket interface { - // GetActivityStreamsAltitude returns the "altitude" property if it - // exists, and nil otherwise. - GetActivityStreamsAltitude() ActivityStreamsAltitudeProperty - // GetActivityStreamsAttachment returns the "attachment" property if it - // exists, and nil otherwise. - GetActivityStreamsAttachment() ActivityStreamsAttachmentProperty - // GetActivityStreamsAttributedTo returns the "attributedTo" property if - // it exists, and nil otherwise. - GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty - // GetActivityStreamsAudience returns the "audience" property if it - // exists, and nil otherwise. - GetActivityStreamsAudience() ActivityStreamsAudienceProperty - // GetActivityStreamsBcc returns the "bcc" property if it exists, and nil - // otherwise. - GetActivityStreamsBcc() ActivityStreamsBccProperty - // GetActivityStreamsBto returns the "bto" property if it exists, and nil - // otherwise. - GetActivityStreamsBto() ActivityStreamsBtoProperty - // GetActivityStreamsCc returns the "cc" property if it exists, and nil - // otherwise. - GetActivityStreamsCc() ActivityStreamsCcProperty - // GetActivityStreamsContent returns the "content" property if it exists, - // and nil otherwise. - GetActivityStreamsContent() ActivityStreamsContentProperty - // GetActivityStreamsContext returns the "context" property if it exists, - // and nil otherwise. - GetActivityStreamsContext() ActivityStreamsContextProperty - // GetActivityStreamsDuration returns the "duration" property if it - // exists, and nil otherwise. - GetActivityStreamsDuration() ActivityStreamsDurationProperty - // GetActivityStreamsEndTime returns the "endTime" property if it exists, - // and nil otherwise. - GetActivityStreamsEndTime() ActivityStreamsEndTimeProperty - // GetActivityStreamsGenerator returns the "generator" property if it - // exists, and nil otherwise. - GetActivityStreamsGenerator() ActivityStreamsGeneratorProperty - // GetActivityStreamsIcon returns the "icon" property if it exists, and - // nil otherwise. - GetActivityStreamsIcon() ActivityStreamsIconProperty - // GetActivityStreamsImage returns the "image" property if it exists, and - // nil otherwise. - GetActivityStreamsImage() ActivityStreamsImageProperty - // GetActivityStreamsInReplyTo returns the "inReplyTo" property if it - // exists, and nil otherwise. - GetActivityStreamsInReplyTo() ActivityStreamsInReplyToProperty - // GetActivityStreamsLikes returns the "likes" property if it exists, and - // nil otherwise. - GetActivityStreamsLikes() ActivityStreamsLikesProperty - // GetActivityStreamsLocation returns the "location" property if it - // exists, and nil otherwise. - GetActivityStreamsLocation() ActivityStreamsLocationProperty - // GetActivityStreamsMediaType returns the "mediaType" property if it - // exists, and nil otherwise. - GetActivityStreamsMediaType() ActivityStreamsMediaTypeProperty - // GetActivityStreamsName returns the "name" property if it exists, and - // nil otherwise. - GetActivityStreamsName() ActivityStreamsNameProperty - // GetActivityStreamsObject returns the "object" property if it exists, - // and nil otherwise. - GetActivityStreamsObject() ActivityStreamsObjectProperty - // GetActivityStreamsPreview returns the "preview" property if it exists, - // and nil otherwise. - GetActivityStreamsPreview() ActivityStreamsPreviewProperty - // GetActivityStreamsPublished returns the "published" property if it - // exists, and nil otherwise. - GetActivityStreamsPublished() ActivityStreamsPublishedProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSummary returns the "summary" property if it exists, - // and nil otherwise. - GetActivityStreamsSummary() ActivityStreamsSummaryProperty - // GetActivityStreamsTag returns the "tag" property if it exists, and nil - // otherwise. - GetActivityStreamsTag() ActivityStreamsTagProperty - // GetActivityStreamsTo returns the "to" property if it exists, and nil - // otherwise. - GetActivityStreamsTo() ActivityStreamsToProperty - // GetActivityStreamsUpdated returns the "updated" property if it exists, - // and nil otherwise. - GetActivityStreamsUpdated() ActivityStreamsUpdatedProperty - // GetActivityStreamsUrl returns the "url" property if it exists, and nil - // otherwise. - GetActivityStreamsUrl() ActivityStreamsUrlProperty - // GetForgeFedAssignedTo returns the "assignedTo" property if it exists, - // and nil otherwise. - GetForgeFedAssignedTo() ForgeFedAssignedToProperty - // GetForgeFedDependants returns the "dependants" property if it exists, - // and nil otherwise. - GetForgeFedDependants() ForgeFedDependantsProperty - // GetForgeFedDependedBy returns the "dependedBy" property if it exists, - // and nil otherwise. - GetForgeFedDependedBy() ForgeFedDependedByProperty - // GetForgeFedDependencies returns the "dependencies" property if it - // exists, and nil otherwise. - GetForgeFedDependencies() ForgeFedDependenciesProperty - // GetForgeFedDependsOn returns the "dependsOn" property if it exists, and - // nil otherwise. - GetForgeFedDependsOn() ForgeFedDependsOnProperty - // GetForgeFedIsResolved returns the "isResolved" property if it exists, - // and nil otherwise. - GetForgeFedIsResolved() ForgeFedIsResolvedProperty - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the Ticket - // 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 Ticket 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 Ticket is lesser, with an arbitrary but - // stable determination. - LessThan(o ForgeFedTicket) bool - // Serialize converts this into an interface representation suitable for - // marshalling into a text or binary format. - Serialize() (map[string]interface{}, error) - // SetActivityStreamsAltitude sets the "altitude" property. - SetActivityStreamsAltitude(i ActivityStreamsAltitudeProperty) - // SetActivityStreamsAttachment sets the "attachment" property. - SetActivityStreamsAttachment(i ActivityStreamsAttachmentProperty) - // SetActivityStreamsAttributedTo sets the "attributedTo" property. - SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) - // SetActivityStreamsAudience sets the "audience" property. - SetActivityStreamsAudience(i ActivityStreamsAudienceProperty) - // SetActivityStreamsBcc sets the "bcc" property. - SetActivityStreamsBcc(i ActivityStreamsBccProperty) - // SetActivityStreamsBto sets the "bto" property. - SetActivityStreamsBto(i ActivityStreamsBtoProperty) - // SetActivityStreamsCc sets the "cc" property. - SetActivityStreamsCc(i ActivityStreamsCcProperty) - // SetActivityStreamsContent sets the "content" property. - SetActivityStreamsContent(i ActivityStreamsContentProperty) - // SetActivityStreamsContext sets the "context" property. - SetActivityStreamsContext(i ActivityStreamsContextProperty) - // SetActivityStreamsDuration sets the "duration" property. - SetActivityStreamsDuration(i ActivityStreamsDurationProperty) - // SetActivityStreamsEndTime sets the "endTime" property. - SetActivityStreamsEndTime(i ActivityStreamsEndTimeProperty) - // SetActivityStreamsGenerator sets the "generator" property. - SetActivityStreamsGenerator(i ActivityStreamsGeneratorProperty) - // SetActivityStreamsIcon sets the "icon" property. - SetActivityStreamsIcon(i ActivityStreamsIconProperty) - // SetActivityStreamsImage sets the "image" property. - SetActivityStreamsImage(i ActivityStreamsImageProperty) - // SetActivityStreamsInReplyTo sets the "inReplyTo" property. - SetActivityStreamsInReplyTo(i ActivityStreamsInReplyToProperty) - // SetActivityStreamsLikes sets the "likes" property. - SetActivityStreamsLikes(i ActivityStreamsLikesProperty) - // SetActivityStreamsLocation sets the "location" property. - SetActivityStreamsLocation(i ActivityStreamsLocationProperty) - // SetActivityStreamsMediaType sets the "mediaType" property. - SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) - // SetActivityStreamsName sets the "name" property. - SetActivityStreamsName(i ActivityStreamsNameProperty) - // SetActivityStreamsObject sets the "object" property. - SetActivityStreamsObject(i ActivityStreamsObjectProperty) - // SetActivityStreamsPreview sets the "preview" property. - SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) - // SetActivityStreamsPublished sets the "published" property. - SetActivityStreamsPublished(i ActivityStreamsPublishedProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSummary sets the "summary" property. - SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) - // SetActivityStreamsTag sets the "tag" property. - SetActivityStreamsTag(i ActivityStreamsTagProperty) - // SetActivityStreamsTo sets the "to" property. - SetActivityStreamsTo(i ActivityStreamsToProperty) - // SetActivityStreamsUpdated sets the "updated" property. - SetActivityStreamsUpdated(i ActivityStreamsUpdatedProperty) - // SetActivityStreamsUrl sets the "url" property. - SetActivityStreamsUrl(i ActivityStreamsUrlProperty) - // SetForgeFedAssignedTo sets the "assignedTo" property. - SetForgeFedAssignedTo(i ForgeFedAssignedToProperty) - // SetForgeFedDependants sets the "dependants" property. - SetForgeFedDependants(i ForgeFedDependantsProperty) - // SetForgeFedDependedBy sets the "dependedBy" property. - SetForgeFedDependedBy(i ForgeFedDependedByProperty) - // SetForgeFedDependencies sets the "dependencies" property. - SetForgeFedDependencies(i ForgeFedDependenciesProperty) - // SetForgeFedDependsOn sets the "dependsOn" property. - SetForgeFedDependsOn(i ForgeFedDependsOnProperty) - // SetForgeFedIsResolved sets the "isResolved" property. - SetForgeFedIsResolved(i ForgeFedIsResolvedProperty) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go deleted file mode 100644 index eb6b16e00..000000000 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_forgefed_ticketdependency_interface.go +++ /dev/null @@ -1,247 +0,0 @@ -// Code generated by astool. DO NOT EDIT. - -package vocab - -// Represents a relationship between 2 Tickets, in which the resolution of one -// ticket requires the other ticket to be resolved too. It MUST specify the -// subject, object and relationship properties, and the relationship property -// MUST be dependsOn. -// -// { -// "@context": [ -// "https://www.w3.org/ns/activitystreams", -// "https://forgefed.peers.community/ns" -// ], -// "attributedTo": "https://example.org/alice", -// "id": "https://example.org/ticket-deps/2342593", -// "object": "https://example.com/bob/coolproj/issues/85", -// "published": "2019-07-11T12:34:56Z", -// "relationship": "dependsOn", -// "subject": "https://example.org/alice/myproj/issues/42", -// "summary": "Alice's ticket depends on Bob's ticket", -// "type": [ -// "Relationship", -// "TicketDependency" -// ] -// } -type ForgeFedTicketDependency 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 - // GetActivityStreamsRelationship returns the "relationship" property if - // it exists, and nil otherwise. - GetActivityStreamsRelationship() ActivityStreamsRelationshipProperty - // GetActivityStreamsReplies returns the "replies" property if it exists, - // and nil otherwise. - GetActivityStreamsReplies() ActivityStreamsRepliesProperty - // GetActivityStreamsSensitive returns the "sensitive" property if it - // exists, and nil otherwise. - GetActivityStreamsSensitive() ActivityStreamsSensitiveProperty - // GetActivityStreamsShares returns the "shares" property if it exists, - // and nil otherwise. - GetActivityStreamsShares() ActivityStreamsSharesProperty - // GetActivityStreamsSource returns the "source" property if it exists, - // and nil otherwise. - GetActivityStreamsSource() ActivityStreamsSourceProperty - // GetActivityStreamsStartTime returns the "startTime" property if it - // exists, and nil otherwise. - GetActivityStreamsStartTime() ActivityStreamsStartTimeProperty - // GetActivityStreamsSubject returns the "subject" property if it exists, - // and nil otherwise. - GetActivityStreamsSubject() ActivityStreamsSubjectProperty - // 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 - // 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 - // otherwise. - GetJSONLDType() JSONLDTypeProperty - // GetTypeName returns the name of this type. - GetTypeName() string - // GetUnknownProperties returns the unknown properties for the - // TicketDependency 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 TicketDependency 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 TicketDependency is lesser, with an arbitrary - // but stable determination. - LessThan(o ForgeFedTicketDependency) 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) - // SetActivityStreamsRelationship sets the "relationship" property. - SetActivityStreamsRelationship(i ActivityStreamsRelationshipProperty) - // SetActivityStreamsReplies sets the "replies" property. - SetActivityStreamsReplies(i ActivityStreamsRepliesProperty) - // SetActivityStreamsSensitive sets the "sensitive" property. - SetActivityStreamsSensitive(i ActivityStreamsSensitiveProperty) - // SetActivityStreamsShares sets the "shares" property. - SetActivityStreamsShares(i ActivityStreamsSharesProperty) - // SetActivityStreamsSource sets the "source" property. - SetActivityStreamsSource(i ActivityStreamsSourceProperty) - // SetActivityStreamsStartTime sets the "startTime" property. - SetActivityStreamsStartTime(i ActivityStreamsStartTimeProperty) - // SetActivityStreamsSubject sets the "subject" property. - SetActivityStreamsSubject(i ActivityStreamsSubjectProperty) - // 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) - // 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. - SetJSONLDType(i JSONLDTypeProperty) - // VocabularyURI returns the vocabulary's URI as a string. - VocabularyURI() string -} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go index a4cc6f90c..704708474 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_schema_propertyvalue_interface.go @@ -101,15 +101,6 @@ type SchemaPropertyValue 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 SchemaPropertyValue 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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go index 286e57a35..678c2ef66 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_emoji_interface.go @@ -118,15 +118,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 @@ -218,12 +209,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/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go new file mode 100644 index 000000000..eec2f6dfa --- /dev/null +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_hashtag_interface.go @@ -0,0 +1,104 @@ +// 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 { + // GetActivityStreamsAttributedTo returns the "attributedTo" property if + // it exists, and nil otherwise. + GetActivityStreamsAttributedTo() ActivityStreamsAttributedToProperty + // GetActivityStreamsHeight returns the "height" property if it exists, + // and nil otherwise. + GetActivityStreamsHeight() ActivityStreamsHeightProperty + // GetActivityStreamsHref returns the "href" property if it exists, and + // nil otherwise. + GetActivityStreamsHref() ActivityStreamsHrefProperty + // GetActivityStreamsHreflang returns the "hreflang" property if it + // exists, and nil otherwise. + GetActivityStreamsHreflang() ActivityStreamsHreflangProperty + // 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 + // GetActivityStreamsPreview returns the "preview" property if it exists, + // and nil otherwise. + GetActivityStreamsPreview() ActivityStreamsPreviewProperty + // GetActivityStreamsRel returns the "rel" property if it exists, and nil + // otherwise. + GetActivityStreamsRel() ActivityStreamsRelProperty + // GetActivityStreamsSummary returns the "summary" property if it exists, + // and nil otherwise. + GetActivityStreamsSummary() ActivityStreamsSummaryProperty + // GetActivityStreamsWidth returns the "width" property if it exists, and + // nil otherwise. + GetActivityStreamsWidth() ActivityStreamsWidthProperty + // 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) + // SetActivityStreamsAttributedTo sets the "attributedTo" property. + SetActivityStreamsAttributedTo(i ActivityStreamsAttributedToProperty) + // SetActivityStreamsHeight sets the "height" property. + SetActivityStreamsHeight(i ActivityStreamsHeightProperty) + // SetActivityStreamsHref sets the "href" property. + SetActivityStreamsHref(i ActivityStreamsHrefProperty) + // SetActivityStreamsHreflang sets the "hreflang" property. + SetActivityStreamsHreflang(i ActivityStreamsHreflangProperty) + // SetActivityStreamsMediaType sets the "mediaType" property. + SetActivityStreamsMediaType(i ActivityStreamsMediaTypeProperty) + // SetActivityStreamsName sets the "name" property. + SetActivityStreamsName(i ActivityStreamsNameProperty) + // SetActivityStreamsPreview sets the "preview" property. + SetActivityStreamsPreview(i ActivityStreamsPreviewProperty) + // SetActivityStreamsRel sets the "rel" property. + SetActivityStreamsRel(i ActivityStreamsRelProperty) + // SetActivityStreamsSummary sets the "summary" property. + SetActivityStreamsSummary(i ActivityStreamsSummaryProperty) + // SetActivityStreamsWidth sets the "width" property. + SetActivityStreamsWidth(i ActivityStreamsWidthProperty) + // SetJSONLDId sets the "id" property. + SetJSONLDId(i JSONLDIdProperty) + // SetJSONLDType sets the "type" property. + SetJSONLDType(i JSONLDTypeProperty) + // VocabularyURI returns the vocabulary's URI as a string. + VocabularyURI() string +} diff --git a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go index 1c31cf5fe..edd477635 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/vocab/gen_type_toot_identityproof_interface.go @@ -102,15 +102,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 @@ -209,12 +200,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. diff --git a/vendor/modules.txt b/vendor/modules.txt index 4c4a36271..c641c3f39 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -478,7 +478,7 @@ github.com/stretchr/testify/suite # github.com/subosito/gotenv v1.4.2 ## explicit; go 1.18 github.com/subosito/gotenv -# github.com/superseriousbusiness/activity v1.3.0-gts +# github.com/superseriousbusiness/activity v1.4.0-gts ## explicit; go 1.18 github.com/superseriousbusiness/activity/pub github.com/superseriousbusiness/activity/streams @@ -612,31 +612,6 @@ github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_undo github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_update github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_video github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_view -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_assignedto -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committed -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_committedby -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependants -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependedby -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependencies -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_dependson -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_description -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_earlyitems -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesadded -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesmodified -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_filesremoved -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_forks -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_hash -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_isresolved -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ref -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_team -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_ticketstrackedby -github.com/superseriousbusiness/activity/streams/impl/forgefed/property_tracksticketsfor -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_branch -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_commit -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_push -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_repository -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticket -github.com/superseriousbusiness/activity/streams/impl/forgefed/type_ticketdependency github.com/superseriousbusiness/activity/streams/impl/jsonld/property_id github.com/superseriousbusiness/activity/streams/impl/jsonld/property_type github.com/superseriousbusiness/activity/streams/impl/schema/property_value @@ -648,6 +623,7 @@ github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturealg github.com/superseriousbusiness/activity/streams/impl/toot/property_signaturevalue github.com/superseriousbusiness/activity/streams/impl/toot/property_voterscount github.com/superseriousbusiness/activity/streams/impl/toot/type_emoji +github.com/superseriousbusiness/activity/streams/impl/toot/type_hashtag github.com/superseriousbusiness/activity/streams/impl/toot/type_identityproof github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_owner github.com/superseriousbusiness/activity/streams/impl/w3idsecurityv1/property_publickey