From 1869e9b774145fbed3f73cc5d4cd46d5a1d76542 Mon Sep 17 00:00:00 2001 From: Joshua Sangmeister <33004050+jsangmeister@users.noreply.github.com> Date: Mon, 19 Feb 2024 10:47:54 +0100 Subject: [PATCH] Add identical motions (#846) --- internal/restrict/field_def.go | 3 + meta | 2 +- pkg/datastore/dsfetch/fields_generated.go | 18 + pkg/datastore/dskey/gen_collection_fields.go | 964 ++++++++++--------- 4 files changed, 507 insertions(+), 480 deletions(-) diff --git a/internal/restrict/field_def.go b/internal/restrict/field_def.go index 7d9b92e2..9d388058 100644 --- a/internal/restrict/field_def.go +++ b/internal/restrict/field_def.go @@ -289,6 +289,7 @@ var relationListFields = map[string]string{ "motion/comment_ids": "motion_comment/motion_id", "motion/derived_motion_ids": "motion/origin_id", "motion/editor_ids": "motion_editor/motion_id", + "motion/identical_motion_ids": "motion/identical_motion_ids", "motion/option_ids": "option/content_object_id", "motion/personal_note_ids": "personal_note/content_object_id", "motion/poll_ids": "poll/content_object_id", @@ -800,6 +801,7 @@ var restrictionModes = map[string]string{ "motion/change_recommendation_ids": "C", "motion/comment_ids": "C", "motion/created": "C", + "motion/identical_motion_ids": "C", "motion/last_modified": "C", "motion/lead_motion_id": "C", "motion/list_of_speakers_id": "C", @@ -830,6 +832,7 @@ var restrictionModes = map[string]string{ "motion/title": "C", "motion/workflow_timestamp": "C", "motion/number_value": "D", + "motion/text_hash": "D", "motion/recommendation_id": "E", // motion_block diff --git a/meta b/meta index 208116e7..5c09b5e0 160000 --- a/meta +++ b/meta @@ -1 +1 @@ -Subproject commit 208116e72f3dab20e1df65ba478411212ad2d257 +Subproject commit 5c09b5e048d0b3e5a78a2b22a3209f42ad7497d5 diff --git a/pkg/datastore/dsfetch/fields_generated.go b/pkg/datastore/dsfetch/fields_generated.go index dbe2e850..41ac4a14 100644 --- a/pkg/datastore/dsfetch/fields_generated.go +++ b/pkg/datastore/dsfetch/fields_generated.go @@ -5135,6 +5135,15 @@ func (r *Fetch) Motion_ID(motionID int) *ValueInt { return &ValueInt{fetch: r, key: key} } +func (r *Fetch) Motion_IDenticalMotionIDs(motionID int) *ValueIntSlice { + key, err := dskey.FromParts("motion", motionID, "identical_motion_ids") + if err != nil { + return &ValueIntSlice{err: err} + } + + return &ValueIntSlice{fetch: r, key: key} +} + func (r *Fetch) Motion_LastModified(motionID int) *ValueInt { key, err := dskey.FromParts("motion", motionID, "last_modified") if err != nil { @@ -5423,6 +5432,15 @@ func (r *Fetch) Motion_Text(motionID int) *ValueString { return &ValueString{fetch: r, key: key} } +func (r *Fetch) Motion_TextHash(motionID int) *ValueString { + key, err := dskey.FromParts("motion", motionID, "text_hash") + if err != nil { + return &ValueString{err: err} + } + + return &ValueString{fetch: r, key: key} +} + func (r *Fetch) Motion_Title(motionID int) *ValueString { key, err := dskey.FromParts("motion", motionID, "title") if err != nil { diff --git a/pkg/datastore/dskey/gen_collection_fields.go b/pkg/datastore/dskey/gen_collection_fields.go index 7d5244d8..e9d6bd52 100644 --- a/pkg/datastore/dskey/gen_collection_fields.go +++ b/pkg/datastore/dskey/gen_collection_fields.go @@ -426,6 +426,7 @@ var collectionFields = [...]collectionField{ {"motion", "editor_ids"}, {"motion", "forwarded"}, {"motion", "id"}, + {"motion", "identical_motion_ids"}, {"motion", "last_modified"}, {"motion", "lead_motion_id"}, {"motion", "list_of_speakers_id"}, @@ -458,6 +459,7 @@ var collectionFields = [...]collectionField{ {"motion", "supporter_meeting_user_ids"}, {"motion", "tag_ids"}, {"motion", "text"}, + {"motion", "text_hash"}, {"motion", "title"}, {"motion", "workflow_timestamp"}, {"motion", "working_group_speaker_ids"}, @@ -1755,964 +1757,968 @@ func collectionFieldToID(cf string) int { return 422 case "motion/id": return 423 - case "motion/last_modified": + case "motion/identical_motion_ids": return 424 - case "motion/lead_motion_id": + case "motion/last_modified": return 425 - case "motion/list_of_speakers_id": + case "motion/lead_motion_id": return 426 - case "motion/meeting_id": + case "motion/list_of_speakers_id": return 427 - case "motion/modified_final_version": + case "motion/meeting_id": return 428 - case "motion/number": + case "motion/modified_final_version": return 429 - case "motion/number_value": + case "motion/number": return 430 - case "motion/option_ids": + case "motion/number_value": return 431 - case "motion/origin_id": + case "motion/option_ids": return 432 - case "motion/origin_meeting_id": + case "motion/origin_id": return 433 - case "motion/personal_note_ids": + case "motion/origin_meeting_id": return 434 - case "motion/poll_ids": + case "motion/personal_note_ids": return 435 - case "motion/projection_ids": + case "motion/poll_ids": return 436 - case "motion/reason": + case "motion/projection_ids": return 437 - case "motion/recommendation_extension": + case "motion/reason": return 438 - case "motion/recommendation_extension_reference_ids": + case "motion/recommendation_extension": return 439 - case "motion/recommendation_id": + case "motion/recommendation_extension_reference_ids": return 440 - case "motion/referenced_in_motion_recommendation_extension_ids": + case "motion/recommendation_id": return 441 - case "motion/referenced_in_motion_state_extension_ids": + case "motion/referenced_in_motion_recommendation_extension_ids": return 442 - case "motion/sequential_number": + case "motion/referenced_in_motion_state_extension_ids": return 443 - case "motion/sort_child_ids": + case "motion/sequential_number": return 444 - case "motion/sort_parent_id": + case "motion/sort_child_ids": return 445 - case "motion/sort_weight": + case "motion/sort_parent_id": return 446 - case "motion/start_line_number": + case "motion/sort_weight": return 447 - case "motion/state_extension": + case "motion/start_line_number": return 448 - case "motion/state_extension_reference_ids": + case "motion/state_extension": return 449 - case "motion/state_id": + case "motion/state_extension_reference_ids": return 450 - case "motion/statute_paragraph_id": + case "motion/state_id": return 451 - case "motion/submitter_ids": + case "motion/statute_paragraph_id": return 452 - case "motion/supporter_meeting_user_ids": + case "motion/submitter_ids": return 453 - case "motion/tag_ids": + case "motion/supporter_meeting_user_ids": return 454 - case "motion/text": + case "motion/tag_ids": return 455 - case "motion/title": + case "motion/text": return 456 - case "motion/workflow_timestamp": + case "motion/text_hash": return 457 - case "motion/working_group_speaker_ids": + case "motion/title": return 458 - case "motion_block/A": + case "motion/workflow_timestamp": return 459 - case "motion_block/agenda_item_id": + case "motion/working_group_speaker_ids": return 460 - case "motion_block/id": + case "motion_block/A": return 461 - case "motion_block/internal": + case "motion_block/agenda_item_id": return 462 - case "motion_block/list_of_speakers_id": + case "motion_block/id": return 463 - case "motion_block/meeting_id": + case "motion_block/internal": return 464 - case "motion_block/motion_ids": + case "motion_block/list_of_speakers_id": return 465 - case "motion_block/projection_ids": + case "motion_block/meeting_id": return 466 - case "motion_block/sequential_number": + case "motion_block/motion_ids": return 467 - case "motion_block/title": + case "motion_block/projection_ids": return 468 - case "motion_category/A": + case "motion_block/sequential_number": return 469 - case "motion_category/child_ids": + case "motion_block/title": return 470 - case "motion_category/id": + case "motion_category/A": return 471 - case "motion_category/level": + case "motion_category/child_ids": return 472 - case "motion_category/meeting_id": + case "motion_category/id": return 473 - case "motion_category/motion_ids": + case "motion_category/level": return 474 - case "motion_category/name": + case "motion_category/meeting_id": return 475 - case "motion_category/parent_id": + case "motion_category/motion_ids": return 476 - case "motion_category/prefix": + case "motion_category/name": return 477 - case "motion_category/sequential_number": + case "motion_category/parent_id": return 478 - case "motion_category/weight": + case "motion_category/prefix": return 479 - case "motion_change_recommendation/A": + case "motion_category/sequential_number": return 480 - case "motion_change_recommendation/creation_time": + case "motion_category/weight": return 481 - case "motion_change_recommendation/id": + case "motion_change_recommendation/A": return 482 - case "motion_change_recommendation/internal": + case "motion_change_recommendation/creation_time": return 483 - case "motion_change_recommendation/line_from": + case "motion_change_recommendation/id": return 484 - case "motion_change_recommendation/line_to": + case "motion_change_recommendation/internal": return 485 - case "motion_change_recommendation/meeting_id": + case "motion_change_recommendation/line_from": return 486 - case "motion_change_recommendation/motion_id": + case "motion_change_recommendation/line_to": return 487 - case "motion_change_recommendation/other_description": + case "motion_change_recommendation/meeting_id": return 488 - case "motion_change_recommendation/rejected": + case "motion_change_recommendation/motion_id": return 489 - case "motion_change_recommendation/text": + case "motion_change_recommendation/other_description": return 490 - case "motion_change_recommendation/type": + case "motion_change_recommendation/rejected": return 491 - case "motion_comment/A": + case "motion_change_recommendation/text": return 492 - case "motion_comment/comment": + case "motion_change_recommendation/type": return 493 - case "motion_comment/id": + case "motion_comment/A": return 494 - case "motion_comment/meeting_id": + case "motion_comment/comment": return 495 - case "motion_comment/motion_id": + case "motion_comment/id": return 496 - case "motion_comment/section_id": + case "motion_comment/meeting_id": return 497 - case "motion_comment_section/A": + case "motion_comment/motion_id": return 498 - case "motion_comment_section/comment_ids": + case "motion_comment/section_id": return 499 - case "motion_comment_section/id": + case "motion_comment_section/A": return 500 - case "motion_comment_section/meeting_id": + case "motion_comment_section/comment_ids": return 501 - case "motion_comment_section/name": + case "motion_comment_section/id": return 502 - case "motion_comment_section/read_group_ids": + case "motion_comment_section/meeting_id": return 503 - case "motion_comment_section/sequential_number": + case "motion_comment_section/name": return 504 - case "motion_comment_section/submitter_can_write": + case "motion_comment_section/read_group_ids": return 505 - case "motion_comment_section/weight": + case "motion_comment_section/sequential_number": return 506 - case "motion_comment_section/write_group_ids": + case "motion_comment_section/submitter_can_write": return 507 - case "motion_editor/A": + case "motion_comment_section/weight": return 508 - case "motion_editor/id": + case "motion_comment_section/write_group_ids": return 509 - case "motion_editor/meeting_id": + case "motion_editor/A": return 510 - case "motion_editor/meeting_user_id": + case "motion_editor/id": return 511 - case "motion_editor/motion_id": + case "motion_editor/meeting_id": return 512 - case "motion_editor/weight": + case "motion_editor/meeting_user_id": return 513 - case "motion_state/A": + case "motion_editor/motion_id": return 514 - case "motion_state/allow_create_poll": + case "motion_editor/weight": return 515 - case "motion_state/allow_motion_forwarding": + case "motion_state/A": return 516 - case "motion_state/allow_submitter_edit": + case "motion_state/allow_create_poll": return 517 - case "motion_state/allow_support": + case "motion_state/allow_motion_forwarding": return 518 - case "motion_state/css_class": + case "motion_state/allow_submitter_edit": return 519 - case "motion_state/first_state_of_workflow_id": + case "motion_state/allow_support": return 520 - case "motion_state/id": + case "motion_state/css_class": return 521 - case "motion_state/is_internal": + case "motion_state/first_state_of_workflow_id": return 522 - case "motion_state/meeting_id": + case "motion_state/id": return 523 - case "motion_state/merge_amendment_into_final": + case "motion_state/is_internal": return 524 - case "motion_state/motion_ids": + case "motion_state/meeting_id": return 525 - case "motion_state/motion_recommendation_ids": + case "motion_state/merge_amendment_into_final": return 526 - case "motion_state/name": + case "motion_state/motion_ids": return 527 - case "motion_state/next_state_ids": + case "motion_state/motion_recommendation_ids": return 528 - case "motion_state/previous_state_ids": + case "motion_state/name": return 529 - case "motion_state/recommendation_label": + case "motion_state/next_state_ids": return 530 - case "motion_state/restrictions": + case "motion_state/previous_state_ids": return 531 - case "motion_state/set_number": + case "motion_state/recommendation_label": return 532 - case "motion_state/set_workflow_timestamp": + case "motion_state/restrictions": return 533 - case "motion_state/show_recommendation_extension_field": + case "motion_state/set_number": return 534 - case "motion_state/show_state_extension_field": + case "motion_state/set_workflow_timestamp": return 535 - case "motion_state/submitter_withdraw_back_ids": + case "motion_state/show_recommendation_extension_field": return 536 - case "motion_state/submitter_withdraw_state_id": + case "motion_state/show_state_extension_field": return 537 - case "motion_state/weight": + case "motion_state/submitter_withdraw_back_ids": return 538 - case "motion_state/workflow_id": + case "motion_state/submitter_withdraw_state_id": return 539 - case "motion_statute_paragraph/A": + case "motion_state/weight": return 540 - case "motion_statute_paragraph/id": + case "motion_state/workflow_id": return 541 - case "motion_statute_paragraph/meeting_id": + case "motion_statute_paragraph/A": return 542 - case "motion_statute_paragraph/motion_ids": + case "motion_statute_paragraph/id": return 543 - case "motion_statute_paragraph/sequential_number": + case "motion_statute_paragraph/meeting_id": return 544 - case "motion_statute_paragraph/text": + case "motion_statute_paragraph/motion_ids": return 545 - case "motion_statute_paragraph/title": + case "motion_statute_paragraph/sequential_number": return 546 - case "motion_statute_paragraph/weight": + case "motion_statute_paragraph/text": return 547 - case "motion_submitter/A": + case "motion_statute_paragraph/title": return 548 - case "motion_submitter/id": + case "motion_statute_paragraph/weight": return 549 - case "motion_submitter/meeting_id": + case "motion_submitter/A": return 550 - case "motion_submitter/meeting_user_id": + case "motion_submitter/id": return 551 - case "motion_submitter/motion_id": + case "motion_submitter/meeting_id": return 552 - case "motion_submitter/weight": + case "motion_submitter/meeting_user_id": return 553 - case "motion_workflow/A": + case "motion_submitter/motion_id": return 554 - case "motion_workflow/default_amendment_workflow_meeting_id": + case "motion_submitter/weight": return 555 - case "motion_workflow/default_statute_amendment_workflow_meeting_id": + case "motion_workflow/A": return 556 - case "motion_workflow/default_workflow_meeting_id": + case "motion_workflow/default_amendment_workflow_meeting_id": return 557 - case "motion_workflow/first_state_id": + case "motion_workflow/default_statute_amendment_workflow_meeting_id": return 558 - case "motion_workflow/id": + case "motion_workflow/default_workflow_meeting_id": return 559 - case "motion_workflow/meeting_id": + case "motion_workflow/first_state_id": return 560 - case "motion_workflow/name": + case "motion_workflow/id": return 561 - case "motion_workflow/sequential_number": + case "motion_workflow/meeting_id": return 562 - case "motion_workflow/state_ids": + case "motion_workflow/name": return 563 - case "motion_working_group_speaker/A": + case "motion_workflow/sequential_number": return 564 - case "motion_working_group_speaker/id": + case "motion_workflow/state_ids": return 565 - case "motion_working_group_speaker/meeting_id": + case "motion_working_group_speaker/A": return 566 - case "motion_working_group_speaker/meeting_user_id": + case "motion_working_group_speaker/id": return 567 - case "motion_working_group_speaker/motion_id": + case "motion_working_group_speaker/meeting_id": return 568 - case "motion_working_group_speaker/weight": + case "motion_working_group_speaker/meeting_user_id": return 569 - case "option/A": + case "motion_working_group_speaker/motion_id": return 570 - case "option/B": + case "motion_working_group_speaker/weight": return 571 - case "option/abstain": + case "option/A": return 572 - case "option/content_object_id": + case "option/B": return 573 - case "option/id": + case "option/abstain": return 574 - case "option/meeting_id": + case "option/content_object_id": return 575 - case "option/no": + case "option/id": return 576 - case "option/poll_id": + case "option/meeting_id": return 577 - case "option/text": + case "option/no": return 578 - case "option/used_as_global_option_in_poll_id": + case "option/poll_id": return 579 - case "option/vote_ids": + case "option/text": return 580 - case "option/weight": + case "option/used_as_global_option_in_poll_id": return 581 - case "option/yes": + case "option/vote_ids": return 582 - case "organization/A": + case "option/weight": return 583 - case "organization/B": + case "option/yes": return 584 - case "organization/C": + case "organization/A": return 585 - case "organization/active_meeting_ids": + case "organization/B": return 586 - case "organization/archived_meeting_ids": + case "organization/C": return 587 - case "organization/committee_ids": + case "organization/active_meeting_ids": return 588 - case "organization/default_language": + case "organization/archived_meeting_ids": return 589 - case "organization/description": + case "organization/committee_ids": return 590 - case "organization/enable_chat": + case "organization/default_language": return 591 - case "organization/enable_electronic_voting": + case "organization/description": return 592 - case "organization/genders": + case "organization/enable_chat": return 593 - case "organization/id": + case "organization/enable_electronic_voting": return 594 - case "organization/legal_notice": + case "organization/genders": return 595 - case "organization/limit_of_meetings": + case "organization/id": return 596 - case "organization/limit_of_users": + case "organization/legal_notice": return 597 - case "organization/login_text": + case "organization/limit_of_meetings": return 598 - case "organization/mediafile_ids": + case "organization/limit_of_users": return 599 - case "organization/name": + case "organization/login_text": return 600 - case "organization/organization_tag_ids": + case "organization/mediafile_ids": return 601 - case "organization/privacy_policy": + case "organization/name": return 602 - case "organization/reset_password_verbose_errors": + case "organization/organization_tag_ids": return 603 - case "organization/saml_attr_mapping": + case "organization/privacy_policy": return 604 - case "organization/saml_enabled": + case "organization/reset_password_verbose_errors": return 605 - case "organization/saml_login_button_text": + case "organization/saml_attr_mapping": return 606 - case "organization/saml_metadata_idp": + case "organization/saml_enabled": return 607 - case "organization/saml_metadata_sp": + case "organization/saml_login_button_text": return 608 - case "organization/saml_private_key": + case "organization/saml_metadata_idp": return 609 - case "organization/template_meeting_ids": + case "organization/saml_metadata_sp": return 610 - case "organization/theme_id": + case "organization/saml_private_key": return 611 - case "organization/theme_ids": + case "organization/template_meeting_ids": return 612 - case "organization/url": + case "organization/theme_id": return 613 - case "organization/user_ids": + case "organization/theme_ids": return 614 - case "organization/users_email_body": + case "organization/url": return 615 - case "organization/users_email_replyto": + case "organization/user_ids": return 616 - case "organization/users_email_sender": + case "organization/users_email_body": return 617 - case "organization/users_email_subject": + case "organization/users_email_replyto": return 618 - case "organization/vote_decrypt_public_main_key": + case "organization/users_email_sender": return 619 - case "organization_tag/A": + case "organization/users_email_subject": return 620 - case "organization_tag/color": + case "organization/vote_decrypt_public_main_key": return 621 - case "organization_tag/id": + case "organization_tag/A": return 622 - case "organization_tag/name": + case "organization_tag/color": return 623 - case "organization_tag/organization_id": + case "organization_tag/id": return 624 - case "organization_tag/tagged_ids": + case "organization_tag/name": return 625 - case "personal_note/A": + case "organization_tag/organization_id": return 626 - case "personal_note/content_object_id": + case "organization_tag/tagged_ids": return 627 - case "personal_note/id": + case "personal_note/A": return 628 - case "personal_note/meeting_id": + case "personal_note/content_object_id": return 629 - case "personal_note/meeting_user_id": + case "personal_note/id": return 630 - case "personal_note/note": + case "personal_note/meeting_id": return 631 - case "personal_note/star": + case "personal_note/meeting_user_id": return 632 - case "point_of_order_category/A": + case "personal_note/note": return 633 - case "point_of_order_category/id": + case "personal_note/star": return 634 - case "point_of_order_category/meeting_id": + case "point_of_order_category/A": return 635 - case "point_of_order_category/rank": + case "point_of_order_category/id": return 636 - case "point_of_order_category/speaker_ids": + case "point_of_order_category/meeting_id": return 637 - case "point_of_order_category/text": + case "point_of_order_category/rank": return 638 - case "poll/A": + case "point_of_order_category/speaker_ids": return 639 - case "poll/B": + case "point_of_order_category/text": return 640 - case "poll/C": + case "poll/A": return 641 - case "poll/D": + case "poll/B": return 642 - case "poll/backend": + case "poll/C": return 643 - case "poll/content_object_id": + case "poll/D": return 644 - case "poll/crypt_key": + case "poll/backend": return 645 - case "poll/crypt_signature": + case "poll/content_object_id": return 646 - case "poll/description": + case "poll/crypt_key": return 647 - case "poll/entitled_group_ids": + case "poll/crypt_signature": return 648 - case "poll/entitled_users_at_stop": + case "poll/description": return 649 - case "poll/global_abstain": + case "poll/entitled_group_ids": return 650 - case "poll/global_no": + case "poll/entitled_users_at_stop": return 651 - case "poll/global_option_id": + case "poll/global_abstain": return 652 - case "poll/global_yes": + case "poll/global_no": return 653 - case "poll/id": + case "poll/global_option_id": return 654 - case "poll/is_pseudoanonymized": + case "poll/global_yes": return 655 - case "poll/max_votes_amount": + case "poll/id": return 656 - case "poll/max_votes_per_option": + case "poll/is_pseudoanonymized": return 657 - case "poll/meeting_id": + case "poll/max_votes_amount": return 658 - case "poll/min_votes_amount": + case "poll/max_votes_per_option": return 659 - case "poll/onehundred_percent_base": + case "poll/meeting_id": return 660 - case "poll/option_ids": + case "poll/min_votes_amount": return 661 - case "poll/pollmethod": + case "poll/onehundred_percent_base": return 662 - case "poll/projection_ids": + case "poll/option_ids": return 663 - case "poll/sequential_number": + case "poll/pollmethod": return 664 - case "poll/state": + case "poll/projection_ids": return 665 - case "poll/title": + case "poll/sequential_number": return 666 - case "poll/type": + case "poll/state": return 667 - case "poll/vote_count": + case "poll/title": return 668 - case "poll/voted_ids": + case "poll/type": return 669 - case "poll/votes_raw": + case "poll/vote_count": return 670 - case "poll/votes_signature": + case "poll/voted_ids": return 671 - case "poll/votescast": + case "poll/votes_raw": return 672 - case "poll/votesinvalid": + case "poll/votes_signature": return 673 - case "poll/votesvalid": + case "poll/votescast": return 674 - case "poll_candidate/A": + case "poll/votesinvalid": return 675 - case "poll_candidate/id": + case "poll/votesvalid": return 676 - case "poll_candidate/meeting_id": + case "poll_candidate/A": return 677 - case "poll_candidate/poll_candidate_list_id": + case "poll_candidate/id": return 678 - case "poll_candidate/user_id": + case "poll_candidate/meeting_id": return 679 - case "poll_candidate/weight": + case "poll_candidate/poll_candidate_list_id": return 680 - case "poll_candidate_list/A": + case "poll_candidate/user_id": return 681 - case "poll_candidate_list/id": + case "poll_candidate/weight": return 682 - case "poll_candidate_list/meeting_id": + case "poll_candidate_list/A": return 683 - case "poll_candidate_list/option_id": + case "poll_candidate_list/id": return 684 - case "poll_candidate_list/poll_candidate_ids": + case "poll_candidate_list/meeting_id": return 685 - case "projection/A": + case "poll_candidate_list/option_id": return 686 - case "projection/content": + case "poll_candidate_list/poll_candidate_ids": return 687 - case "projection/content_object_id": + case "projection/A": return 688 - case "projection/current_projector_id": + case "projection/content": return 689 - case "projection/history_projector_id": + case "projection/content_object_id": return 690 - case "projection/id": + case "projection/current_projector_id": return 691 - case "projection/meeting_id": + case "projection/history_projector_id": return 692 - case "projection/options": + case "projection/id": return 693 - case "projection/preview_projector_id": + case "projection/meeting_id": return 694 - case "projection/stable": + case "projection/options": return 695 - case "projection/type": + case "projection/preview_projector_id": return 696 - case "projection/weight": + case "projection/stable": return 697 - case "projector/A": + case "projection/type": return 698 - case "projector/aspect_ratio_denominator": + case "projection/weight": return 699 - case "projector/aspect_ratio_numerator": + case "projector/A": return 700 - case "projector/background_color": + case "projector/aspect_ratio_denominator": return 701 - case "projector/chyron_background_color": + case "projector/aspect_ratio_numerator": return 702 - case "projector/chyron_font_color": + case "projector/background_color": return 703 - case "projector/color": + case "projector/chyron_background_color": return 704 - case "projector/current_projection_ids": + case "projector/chyron_font_color": return 705 - case "projector/header_background_color": + case "projector/color": return 706 - case "projector/header_font_color": + case "projector/current_projection_ids": return 707 - case "projector/header_h1_color": + case "projector/header_background_color": return 708 - case "projector/history_projection_ids": + case "projector/header_font_color": return 709 - case "projector/id": + case "projector/header_h1_color": return 710 - case "projector/is_internal": + case "projector/history_projection_ids": return 711 - case "projector/meeting_id": + case "projector/id": return 712 - case "projector/name": + case "projector/is_internal": return 713 - case "projector/preview_projection_ids": + case "projector/meeting_id": return 714 - case "projector/scale": + case "projector/name": return 715 - case "projector/scroll": + case "projector/preview_projection_ids": return 716 - case "projector/sequential_number": + case "projector/scale": return 717 - case "projector/show_clock": + case "projector/scroll": return 718 - case "projector/show_header_footer": + case "projector/sequential_number": return 719 - case "projector/show_logo": + case "projector/show_clock": return 720 - case "projector/show_title": + case "projector/show_header_footer": return 721 - case "projector/used_as_default_projector_for_agenda_item_list_in_meeting_id": + case "projector/show_logo": return 722 - case "projector/used_as_default_projector_for_amendment_in_meeting_id": + case "projector/show_title": return 723 - case "projector/used_as_default_projector_for_assignment_in_meeting_id": + case "projector/used_as_default_projector_for_agenda_item_list_in_meeting_id": return 724 - case "projector/used_as_default_projector_for_assignment_poll_in_meeting_id": + case "projector/used_as_default_projector_for_amendment_in_meeting_id": return 725 - case "projector/used_as_default_projector_for_countdown_in_meeting_id": + case "projector/used_as_default_projector_for_assignment_in_meeting_id": return 726 - case "projector/used_as_default_projector_for_current_list_of_speakers_in_meeting_id": + case "projector/used_as_default_projector_for_assignment_poll_in_meeting_id": return 727 - case "projector/used_as_default_projector_for_list_of_speakers_in_meeting_id": + case "projector/used_as_default_projector_for_countdown_in_meeting_id": return 728 - case "projector/used_as_default_projector_for_mediafile_in_meeting_id": + case "projector/used_as_default_projector_for_current_list_of_speakers_in_meeting_id": return 729 - case "projector/used_as_default_projector_for_message_in_meeting_id": + case "projector/used_as_default_projector_for_list_of_speakers_in_meeting_id": return 730 - case "projector/used_as_default_projector_for_motion_block_in_meeting_id": + case "projector/used_as_default_projector_for_mediafile_in_meeting_id": return 731 - case "projector/used_as_default_projector_for_motion_in_meeting_id": + case "projector/used_as_default_projector_for_message_in_meeting_id": return 732 - case "projector/used_as_default_projector_for_motion_poll_in_meeting_id": + case "projector/used_as_default_projector_for_motion_block_in_meeting_id": return 733 - case "projector/used_as_default_projector_for_poll_in_meeting_id": + case "projector/used_as_default_projector_for_motion_in_meeting_id": return 734 - case "projector/used_as_default_projector_for_topic_in_meeting_id": + case "projector/used_as_default_projector_for_motion_poll_in_meeting_id": return 735 - case "projector/used_as_reference_projector_meeting_id": + case "projector/used_as_default_projector_for_poll_in_meeting_id": return 736 - case "projector/width": + case "projector/used_as_default_projector_for_topic_in_meeting_id": return 737 - case "projector_countdown/A": + case "projector/used_as_reference_projector_meeting_id": return 738 - case "projector_countdown/countdown_time": + case "projector/width": return 739 - case "projector_countdown/default_time": + case "projector_countdown/A": return 740 - case "projector_countdown/description": + case "projector_countdown/countdown_time": return 741 - case "projector_countdown/id": + case "projector_countdown/default_time": return 742 - case "projector_countdown/meeting_id": + case "projector_countdown/description": return 743 - case "projector_countdown/projection_ids": + case "projector_countdown/id": return 744 - case "projector_countdown/running": + case "projector_countdown/meeting_id": return 745 - case "projector_countdown/title": + case "projector_countdown/projection_ids": return 746 - case "projector_countdown/used_as_list_of_speakers_countdown_meeting_id": + case "projector_countdown/running": return 747 - case "projector_countdown/used_as_poll_countdown_meeting_id": + case "projector_countdown/title": return 748 - case "projector_message/A": + case "projector_countdown/used_as_list_of_speakers_countdown_meeting_id": return 749 - case "projector_message/id": + case "projector_countdown/used_as_poll_countdown_meeting_id": return 750 - case "projector_message/meeting_id": + case "projector_message/A": return 751 - case "projector_message/message": + case "projector_message/id": return 752 - case "projector_message/projection_ids": + case "projector_message/meeting_id": return 753 - case "speaker/A": + case "projector_message/message": return 754 - case "speaker/begin_time": + case "projector_message/projection_ids": return 755 - case "speaker/end_time": + case "speaker/A": return 756 - case "speaker/id": + case "speaker/begin_time": return 757 - case "speaker/list_of_speakers_id": + case "speaker/end_time": return 758 - case "speaker/meeting_id": + case "speaker/id": return 759 - case "speaker/meeting_user_id": + case "speaker/list_of_speakers_id": return 760 - case "speaker/note": + case "speaker/meeting_id": return 761 - case "speaker/pause_time": + case "speaker/meeting_user_id": return 762 - case "speaker/point_of_order": + case "speaker/note": return 763 - case "speaker/point_of_order_category_id": + case "speaker/pause_time": return 764 - case "speaker/speech_state": + case "speaker/point_of_order": return 765 - case "speaker/structure_level_list_of_speakers_id": + case "speaker/point_of_order_category_id": return 766 - case "speaker/total_pause": + case "speaker/speech_state": return 767 - case "speaker/unpause_time": + case "speaker/structure_level_list_of_speakers_id": return 768 - case "speaker/weight": + case "speaker/total_pause": return 769 - case "structure_level/A": + case "speaker/unpause_time": return 770 - case "structure_level/color": + case "speaker/weight": return 771 - case "structure_level/default_time": + case "structure_level/A": return 772 - case "structure_level/id": + case "structure_level/color": return 773 + case "structure_level/default_time": + return 774 + case "structure_level/id": + return 775 case "structure_level/meeting_id": - return 774 + return 776 case "structure_level/meeting_user_ids": - return 775 + return 777 case "structure_level/name": - return 776 + return 778 case "structure_level/structure_level_list_of_speakers_ids": - return 777 + return 779 case "structure_level_list_of_speakers/A": - return 778 + return 780 case "structure_level_list_of_speakers/additional_time": - return 779 + return 781 case "structure_level_list_of_speakers/current_start_time": - return 780 + return 782 case "structure_level_list_of_speakers/id": - return 781 + return 783 case "structure_level_list_of_speakers/initial_time": - return 782 + return 784 case "structure_level_list_of_speakers/list_of_speakers_id": - return 783 + return 785 case "structure_level_list_of_speakers/meeting_id": - return 784 + return 786 case "structure_level_list_of_speakers/remaining_time": - return 785 + return 787 case "structure_level_list_of_speakers/speaker_ids": - return 786 + return 788 case "structure_level_list_of_speakers/structure_level_id": - return 787 + return 789 case "tag/A": - return 788 + return 790 case "tag/id": - return 789 + return 791 case "tag/meeting_id": - return 790 + return 792 case "tag/name": - return 791 + return 793 case "tag/tagged_ids": - return 792 + return 794 case "theme/A": - return 793 + return 795 case "theme/abstain": - return 794 + return 796 case "theme/accent_100": - return 795 + return 797 case "theme/accent_200": - return 796 + return 798 case "theme/accent_300": - return 797 + return 799 case "theme/accent_400": - return 798 + return 800 case "theme/accent_50": - return 799 + return 801 case "theme/accent_500": - return 800 + return 802 case "theme/accent_600": - return 801 + return 803 case "theme/accent_700": - return 802 + return 804 case "theme/accent_800": - return 803 + return 805 case "theme/accent_900": - return 804 + return 806 case "theme/accent_a100": - return 805 + return 807 case "theme/accent_a200": - return 806 + return 808 case "theme/accent_a400": - return 807 + return 809 case "theme/accent_a700": - return 808 + return 810 case "theme/headbar": - return 809 + return 811 case "theme/id": - return 810 + return 812 case "theme/name": - return 811 + return 813 case "theme/no": - return 812 + return 814 case "theme/organization_id": - return 813 + return 815 case "theme/primary_100": - return 814 + return 816 case "theme/primary_200": - return 815 + return 817 case "theme/primary_300": - return 816 + return 818 case "theme/primary_400": - return 817 + return 819 case "theme/primary_50": - return 818 + return 820 case "theme/primary_500": - return 819 + return 821 case "theme/primary_600": - return 820 + return 822 case "theme/primary_700": - return 821 + return 823 case "theme/primary_800": - return 822 + return 824 case "theme/primary_900": - return 823 + return 825 case "theme/primary_a100": - return 824 + return 826 case "theme/primary_a200": - return 825 + return 827 case "theme/primary_a400": - return 826 + return 828 case "theme/primary_a700": - return 827 + return 829 case "theme/theme_for_organization_id": - return 828 + return 830 case "theme/warn_100": - return 829 + return 831 case "theme/warn_200": - return 830 + return 832 case "theme/warn_300": - return 831 + return 833 case "theme/warn_400": - return 832 + return 834 case "theme/warn_50": - return 833 + return 835 case "theme/warn_500": - return 834 + return 836 case "theme/warn_600": - return 835 + return 837 case "theme/warn_700": - return 836 + return 838 case "theme/warn_800": - return 837 + return 839 case "theme/warn_900": - return 838 + return 840 case "theme/warn_a100": - return 839 + return 841 case "theme/warn_a200": - return 840 + return 842 case "theme/warn_a400": - return 841 + return 843 case "theme/warn_a700": - return 842 + return 844 case "theme/yes": - return 843 + return 845 case "topic/A": - return 844 + return 846 case "topic/agenda_item_id": - return 845 + return 847 case "topic/attachment_ids": - return 846 + return 848 case "topic/id": - return 847 + return 849 case "topic/list_of_speakers_id": - return 848 + return 850 case "topic/meeting_id": - return 849 + return 851 case "topic/poll_ids": - return 850 + return 852 case "topic/projection_ids": - return 851 + return 853 case "topic/sequential_number": - return 852 + return 854 case "topic/text": - return 853 + return 855 case "topic/title": - return 854 + return 856 case "user/A": - return 855 + return 857 case "user/D": - return 856 + return 858 case "user/E": - return 857 + return 859 case "user/F": - return 858 + return 860 case "user/G": - return 859 + return 861 case "user/H": - return 860 + return 862 case "user/can_change_own_password": - return 861 + return 863 case "user/committee_ids": - return 862 + return 864 case "user/committee_management_ids": - return 863 + return 865 case "user/default_number": - return 864 + return 866 case "user/default_password": - return 865 + return 867 case "user/default_vote_weight": - return 866 + return 868 case "user/delegated_vote_ids": - return 867 + return 869 case "user/email": - return 868 + return 870 case "user/first_name": - return 869 + return 871 case "user/forwarding_committee_ids": - return 870 + return 872 case "user/gender": - return 871 + return 873 case "user/id": - return 872 + return 874 case "user/is_active": - return 873 + return 875 case "user/is_demo_user": - return 874 + return 876 case "user/is_physical_person": - return 875 + return 877 case "user/is_present_in_meeting_ids": - return 876 + return 878 case "user/last_email_sent": - return 877 + return 879 case "user/last_login": - return 878 + return 880 case "user/last_name": - return 879 + return 881 case "user/meeting_ids": - return 880 + return 882 case "user/meeting_user_ids": - return 881 + return 883 case "user/option_ids": - return 882 + return 884 case "user/organization_id": - return 883 + return 885 case "user/organization_management_level": - return 884 + return 886 case "user/password": - return 885 + return 887 case "user/poll_candidate_ids": - return 886 + return 888 case "user/poll_voted_ids": - return 887 + return 889 case "user/pronoun": - return 888 + return 890 case "user/saml_id": - return 889 + return 891 case "user/title": - return 890 + return 892 case "user/username": - return 891 + return 893 case "user/vote_ids": - return 892 + return 894 case "vote/A": - return 893 + return 895 case "vote/B": - return 894 + return 896 case "vote/delegated_user_id": - return 895 + return 897 case "vote/id": - return 896 + return 898 case "vote/meeting_id": - return 897 + return 899 case "vote/option_id": - return 898 + return 900 case "vote/user_id": - return 899 + return 901 case "vote/user_token": - return 900 + return 902 case "vote/value": - return 901 + return 903 case "vote/weight": - return 902 + return 904 default: return -1 }