hubspot-api-client 11.2.0 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +2 -2
- data/lib/hubspot/client.rb +1 -0
- data/lib/hubspot/codegen/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +372 -52
- data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +147 -43
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +252 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{blog_post_api.rb → blog_posts_api.rb} +414 -94
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +271 -272
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next.rb +228 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +3 -3
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_language_variation.rb +398 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +5 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +11 -12
- data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +372 -52
- data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +304 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +2 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +321 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +218 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +9 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +91 -29
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +253 -0
- data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +257 -0
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +18 -18
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +293 -0
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +13 -13
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +24 -4
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +11 -11
- data/lib/hubspot/codegen/cms/source-code/api/content_api.rb +328 -0
- data/lib/hubspot/codegen/cms/source-code/api/extract_api.rb +93 -0
- data/lib/hubspot/codegen/cms/source-code/api/metadata_api.rb +99 -0
- data/lib/hubspot/codegen/cms/source-code/api/source_code_extract_api.rb +142 -0
- data/lib/hubspot/codegen/cms/source-code/api/validation_api.rb +98 -0
- data/lib/hubspot/codegen/cms/source-code/api_client.rb +406 -0
- data/lib/hubspot/codegen/cms/source-code/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/source-code/configuration.rb +263 -0
- data/lib/hubspot/codegen/cms/source-code/models/action_response.rb +297 -0
- data/lib/hubspot/codegen/cms/source-code/models/asset_file_metadata.rb +298 -0
- data/lib/hubspot/codegen/cms/source-code/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/source-code/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/source-code/models/file_extract_request.rb +215 -0
- data/lib/hubspot/codegen/cms/source-code/models/task_locator.rb +226 -0
- data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +1 -1
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +3 -3
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +7 -0
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/companies/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +10 -10
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +20 -80
- data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +224 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/deals/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +21 -87
- data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +94 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/calls/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/emails/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +156 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +205 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +186 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/objects/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +224 -0
- data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/notes/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +256 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +380 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +279 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +90 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +88 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api_client.rb +408 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/associated_id.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +315 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +335 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +228 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +294 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +260 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter_group.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/forward_paging.rb +212 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/paging.rb +221 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/previous_page.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +290 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +233 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +301 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +311 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +272 -0
- data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_team.rb +13 -42
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +94 -0
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +94 -0
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +37 -34
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +46 -34
- data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline.rb → collection_response_pipeline_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/pipelines/models/{collection_response_pipeline_stage.rb → collection_response_pipeline_stage_no_paging.rb} +7 -16
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +217 -0
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +48 -48
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +21 -21
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +58 -58
- data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +279 -0
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/products/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/products/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +157 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +207 -2
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +187 -1
- data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/configuration.rb +7 -0
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -0
- data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +88 -0
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +17 -1
- data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +20 -20
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +229 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +12 -1
- data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +270 -0
- data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +0 -5
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +446 -0
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +154 -0
- data/lib/hubspot/codegen/marketing/events/api/search_api.rb +89 -0
- data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +158 -0
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +192 -0
- data/lib/hubspot/codegen/marketing/events/api_client.rb +406 -0
- data/lib/hubspot/codegen/marketing/events/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/events/configuration.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +218 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +218 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +333 -0
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +217 -0
- data/lib/hubspot/codegen/marketing/events/models/error.rb +292 -0
- data/lib/hubspot/codegen/marketing/events/models/error_category.rb +263 -0
- data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +231 -0
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +216 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +333 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +303 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +231 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +246 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +345 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +420 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +225 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +293 -0
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +401 -0
- data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +309 -0
- data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +429 -0
- data/lib/hubspot/codegen/marketing/forms/api_client.rb +406 -0
- data/lib/hubspot/codegen/marketing/forms/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/forms/configuration.rb +263 -0
- data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +226 -0
- data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +344 -0
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +224 -0
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +307 -0
- data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +358 -0
- data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +233 -0
- data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +255 -0
- data/lib/hubspot/codegen/marketing/forms/models/error.rb +292 -0
- data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +293 -0
- data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +354 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +246 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +246 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +303 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +265 -0
- data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +403 -0
- data/lib/hubspot/codegen/{crm/pipelines/models/paging.rb → marketing/forms/models/forward_paging.rb} +8 -8
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +401 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +235 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +388 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +235 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +374 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +260 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +245 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +317 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +299 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +307 -0
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +251 -0
- data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +344 -0
- data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +348 -0
- data/lib/hubspot/codegen/{crm/pipelines → marketing/forms}/models/next_page.rb +7 -7
- data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +353 -0
- data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +229 -0
- data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +363 -0
- data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +229 -0
- data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +358 -0
- data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +334 -0
- data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +344 -0
- data/lib/hubspot/codegen/settings/users/api/roles_api.rb +82 -0
- data/lib/hubspot/codegen/settings/users/api/teams_api.rb +82 -0
- data/lib/hubspot/codegen/settings/users/api/users_api.rb +355 -0
- data/lib/hubspot/codegen/settings/users/api_client.rb +406 -0
- data/lib/hubspot/codegen/settings/users/api_error.rb +61 -0
- data/lib/hubspot/codegen/settings/users/configuration.rb +256 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +217 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +217 -0
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +226 -0
- data/lib/hubspot/codegen/settings/users/models/error.rb +292 -0
- data/lib/hubspot/codegen/settings/users/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +210 -0
- data/lib/hubspot/codegen/settings/users/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +246 -0
- data/lib/hubspot/codegen/settings/users/models/public_team.rb +265 -0
- data/lib/hubspot/codegen/settings/users/models/public_user.rb +263 -0
- data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +233 -0
- data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +263 -0
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +11 -23
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +38 -62
- data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/error_category.rb +2 -2
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +2 -4
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +2 -2
- data/lib/hubspot/discovery/cms/blogs/authors/api/{author_api.rb → blog_authors_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/authors/client.rb +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_post_api.rb → blog_posts_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +1 -1
- data/lib/hubspot/discovery/cms/blogs/tags/api/{tag_api.rb → blog_tags_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/tags/client.rb +1 -1
- data/lib/hubspot/discovery/cms/client.rb +1 -0
- data/lib/hubspot/discovery/cms/source_code/api/content_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/extract_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/metadata_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/api/validation_api.rb +13 -0
- data/lib/hubspot/discovery/cms/source_code/client.rb +23 -0
- data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/calls/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +6 -1
- data/lib/hubspot/discovery/crm/objects/emails/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +25 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +25 -0
- data/lib/hubspot/discovery/marketing/client.rb +2 -0
- data/lib/hubspot/discovery/marketing/events/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/client.rb +23 -0
- data/lib/hubspot/discovery/marketing/forms/api/forms_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/forms/client.rb +19 -0
- data/lib/hubspot/discovery/settings/client.rb +17 -0
- data/lib/hubspot/discovery/settings/users/api/roles_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/api/teams_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/api/users_api.rb +13 -0
- data/lib/hubspot/discovery/settings/users/client.rb +21 -0
- data/lib/hubspot/version.rb +1 -1
- data/lib/hubspot-api-client.rb +9 -0
- data/spec/codegen/cms/blogs/authors/api/{author_api_spec.rb → blog_authors_api_spec.rb} +77 -17
- data/spec/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/authors/models/batch_input_blog_author_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_spec.rb +75 -0
- data/spec/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next_spec.rb +59 -0
- data/spec/codegen/cms/blogs/authors/models/blog_author_spec.rb +44 -10
- data/spec/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/authors/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/authors/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/authors/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/blogs/blog-posts/api/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +81 -21
- data/spec/codegen/cms/blogs/blog-posts/models/angle_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_blog_post_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_spec.rb +75 -0
- data/spec/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next_spec.rb +47 -0
- data/spec/codegen/cms/blogs/blog-posts/models/blog_post_spec.rb +51 -51
- data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/color_stop_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/content_language_variation_spec.rb +119 -0
- data/spec/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/blog-posts/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/gradient_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/layout_section_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/previous_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/rgba_color_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/row_meta_data_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/blog-posts/models/side_or_corner_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/styles_spec.rb +1 -1
- data/spec/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/blogs/blog-posts/models/version_blog_post_spec.rb +2 -2
- data/spec/codegen/cms/blogs/blog-posts/models/version_user_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/api/{tag_api_spec.rb → blog_tags_api_spec.rb} +77 -17
- data/spec/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next_spec.rb +67 -0
- data/spec/codegen/cms/blogs/tags/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_input_tag_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/batch_response_tag_spec.rb +75 -0
- data/spec/codegen/cms/blogs/tags/models/batch_response_tag_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/tags/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next_spec.rb +41 -0
- data/spec/codegen/cms/blogs/tags/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/blogs/tags/models/tag_clone_request_v_next_spec.rb +59 -0
- data/spec/codegen/cms/blogs/tags/models/tag_spec.rb +20 -4
- data/spec/codegen/cms/blogs/tags/models/update_languages_request_v_next_spec.rb +51 -0
- data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +6 -6
- data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_spec.rb +75 -0
- data/spec/codegen/cms/hubdb/models/column_request_spec.rb +12 -0
- data/spec/codegen/cms/hubdb/models/column_spec.rb +2 -2
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +6 -6
- data/spec/codegen/cms/source-code/api/content_api_spec.rb +89 -0
- data/spec/codegen/cms/source-code/api/extract_api_spec.rb +47 -0
- data/spec/codegen/cms/source-code/api/metadata_api_spec.rb +48 -0
- data/spec/codegen/cms/source-code/api/source_code_extract_api_spec.rb +55 -0
- data/spec/codegen/cms/source-code/api/validation_api_spec.rb +48 -0
- data/spec/codegen/cms/source-code/models/action_response_spec.rb +69 -0
- data/spec/codegen/cms/source-code/models/asset_file_metadata_spec.rb +77 -0
- data/spec/codegen/cms/source-code/models/error_detail_spec.rb +65 -0
- data/spec/codegen/cms/source-code/models/error_spec.rb +77 -0
- data/spec/codegen/cms/source-code/models/file_extract_request_spec.rb +41 -0
- data/spec/codegen/cms/source-code/models/task_locator_spec.rb +47 -0
- data/spec/codegen/crm/companies/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/companies/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/companies/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/companies/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/companies/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/contacts/api/basic_api_spec.rb +4 -4
- data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +10 -22
- data/spec/codegen/crm/contacts/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/contacts/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/public_gdpr_delete_input_spec.rb +47 -0
- data/spec/codegen/crm/contacts/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/contacts/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/contacts/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/deals/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/deals/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/deals/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/deals/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/deals/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/line_items/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/line_items/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/line_items/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/line_items/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/line_items/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +10 -23
- data/spec/codegen/crm/objects/api/public_object_api_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/calls/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/calls/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/calls/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/calls/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/calls/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/calls/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/calls/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/calls/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/calls/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/calls/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/calls/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/emails/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/emails/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/emails/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/emails/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/emails/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/emails/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/emails/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/emails/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/emails/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/emails/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/emails/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/emails/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/associations_api_spec.rb +28 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/basic_api_spec.rb +40 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +33 -0
- data/spec/codegen/crm/objects/feedback_submissions/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/objects/feedback_submissions/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/meetings/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/meetings/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/meetings/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/meetings/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/meetings/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/meetings/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/meetings/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/meetings/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/meetings/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/meetings/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/meetings/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/meetings/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/objects/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/public_gdpr_delete_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/objects/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/notes/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/notes/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/notes/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/notes/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/notes/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/notes/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/notes/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/notes/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/notes/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/notes/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/notes/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/notes/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/objects/tasks/api/associations_api_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/api/basic_api_spec.rb +107 -0
- data/spec/codegen/crm/objects/tasks/api/batch_api_spec.rb +80 -0
- data/spec/codegen/crm/objects/tasks/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/objects/tasks/api/search_api_spec.rb +45 -0
- data/spec/codegen/crm/objects/tasks/models/associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id_spec.rb +59 -0
- data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging_spec.rb +53 -0
- data/spec/codegen/crm/objects/tasks/models/error_category_spec.rb +51 -0
- data/spec/codegen/crm/objects/tasks/models/error_detail_spec.rb +65 -0
- data/spec/codegen/crm/objects/tasks/models/error_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/models/filter_group_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/filter_spec.rb +63 -0
- data/spec/codegen/crm/objects/tasks/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/next_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/paging_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/previous_page_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/public_object_search_request_spec.rb +71 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_id_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_input_spec.rb +41 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_spec.rb +77 -0
- data/spec/codegen/crm/objects/tasks/models/simple_public_object_with_associations_spec.rb +83 -0
- data/spec/codegen/crm/objects/tasks/models/standard_error_spec.rb +83 -0
- data/spec/codegen/crm/objects/tasks/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/owners/api/owners_api_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/collection_response_public_owner_forward_paging_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/error_detail_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/error_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/next_page_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/public_owner_spec.rb +1 -1
- data/spec/codegen/crm/owners/models/public_team_spec.rb +2 -6
- data/spec/codegen/crm/pipelines/{models/paging_spec.rb → api/pipeline_audits_api_spec.rb} +15 -8
- data/spec/codegen/crm/pipelines/api/pipeline_stage_audits_api_spec.rb +48 -0
- data/spec/codegen/crm/pipelines/api/pipeline_stages_api_spec.rb +6 -9
- data/spec/codegen/crm/pipelines/api/pipelines_api_spec.rb +9 -9
- data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_spec.rb → collection_response_pipeline_no_paging_spec.rb} +6 -12
- data/spec/codegen/crm/pipelines/models/{collection_response_pipeline_stage_spec.rb → collection_response_pipeline_stage_no_paging_spec.rb} +6 -12
- data/spec/codegen/crm/pipelines/models/{next_page_spec.rb → collection_response_public_audit_info_no_paging_spec.rb} +7 -13
- data/spec/codegen/crm/pipelines/models/pipeline_input_spec.rb +3 -3
- data/spec/codegen/crm/pipelines/models/pipeline_spec.rb +8 -8
- data/spec/codegen/crm/pipelines/models/pipeline_stage_spec.rb +8 -8
- data/spec/codegen/crm/pipelines/models/public_audit_info_spec.rb +77 -0
- data/spec/codegen/crm/products/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/products/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/products/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/products/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/products/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/products/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/products/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/products/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/quotes/api/associations_api_spec.rb +28 -0
- data/spec/codegen/crm/quotes/api/basic_api_spec.rb +40 -0
- data/spec/codegen/crm/quotes/api/batch_api_spec.rb +33 -0
- data/spec/codegen/crm/quotes/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/quotes/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/quotes/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/quotes/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/tickets/api/basic_api_spec.rb +2 -0
- data/spec/codegen/crm/tickets/api/public_object_api_spec.rb +46 -0
- data/spec/codegen/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/error_category_spec.rb +6 -6
- data/spec/codegen/crm/tickets/models/filter_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/public_merge_input_spec.rb +47 -0
- data/spec/codegen/crm/tickets/models/simple_public_object_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/simple_public_object_with_associations_spec.rb +6 -0
- data/spec/codegen/crm/tickets/models/value_with_timestamp_spec.rb +71 -0
- data/spec/codegen/crm/timeline/models/error_category_spec.rb +1 -1
- data/spec/codegen/marketing/events/api/basic_api_spec.rb +113 -0
- data/spec/codegen/marketing/events/api/batch_api_spec.rb +59 -0
- data/spec/codegen/marketing/events/api/search_api_spec.rb +47 -0
- data/spec/codegen/marketing/events/api/settings_api_spec.rb +60 -0
- data/spec/codegen/marketing/events/api/subscriber_state_changes_api_spec.rb +65 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_create_request_params_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_input_marketing_event_subscriber_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_spec.rb +87 -0
- data/spec/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/error_category_spec.rb +51 -0
- data/spec/codegen/marketing/events/models/error_detail_spec.rb +65 -0
- data/spec/codegen/marketing/events/models/error_spec.rb +77 -0
- data/spec/codegen/marketing/events/models/event_detail_settings_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/event_detail_settings_url_spec.rb +41 -0
- data/spec/codegen/marketing/events/models/marketing_event_create_request_params_spec.rb +101 -0
- data/spec/codegen/marketing/events/models/marketing_event_default_response_spec.rb +89 -0
- data/spec/codegen/marketing/events/models/marketing_event_email_subscriber_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/marketing_event_external_unique_identifier_spec.rb +53 -0
- data/spec/codegen/marketing/events/models/marketing_event_public_default_response_spec.rb +107 -0
- data/spec/codegen/marketing/events/models/marketing_event_public_read_response_spec.rb +137 -0
- data/spec/codegen/marketing/events/models/marketing_event_subscriber_spec.rb +47 -0
- data/spec/codegen/marketing/events/models/marketing_event_update_request_params_spec.rb +89 -0
- data/spec/codegen/marketing/events/models/property_value_spec.rb +111 -0
- data/spec/codegen/marketing/events/models/standard_error_spec.rb +83 -0
- data/spec/codegen/marketing/forms/api/forms_api_spec.rb +113 -0
- data/spec/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/datepicker_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/dependent_field_filter_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/dependent_field_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/dropdown_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/email_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/email_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/enumerated_field_option_spec.rb +59 -0
- data/spec/codegen/marketing/forms/models/error_detail_spec.rb +65 -0
- data/spec/codegen/marketing/forms/models/error_spec.rb +77 -0
- data/spec/codegen/marketing/forms/models/field_group_spec.rb +67 -0
- data/spec/codegen/marketing/forms/models/file_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/form_definition_base_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/form_definition_create_request_base_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/form_display_options_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/form_post_submit_action_spec.rb +51 -0
- data/spec/codegen/marketing/forms/models/form_style_spec.rb +111 -0
- data/spec/codegen/marketing/forms/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_configuration_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_all_of_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_create_request_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_spec.rb +71 -0
- data/spec/codegen/marketing/forms/models/hub_spot_form_definition_spec.rb +35 -0
- data/spec/codegen/marketing/forms/models/legal_consent_checkbox_spec.rb +53 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process_spec.rb +81 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process_spec.rb +69 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_legitimate_interest_spec.rb +67 -0
- data/spec/codegen/marketing/forms/models/legal_consent_options_none_spec.rb +45 -0
- data/spec/codegen/marketing/forms/models/mobile_phone_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/multi_line_text_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/multiple_checkboxes_field_spec.rb +99 -0
- data/spec/codegen/marketing/forms/models/next_page_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/number_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/number_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/phone_field_spec.rb +111 -0
- data/spec/codegen/marketing/forms/models/phone_field_validation_spec.rb +47 -0
- data/spec/codegen/marketing/forms/models/radio_field_spec.rb +105 -0
- data/spec/codegen/marketing/forms/models/single_checkbox_field_spec.rb +93 -0
- data/spec/codegen/marketing/forms/models/single_line_text_field_spec.rb +99 -0
- data/spec/codegen/settings/users/api/roles_api_spec.rb +46 -0
- data/spec/codegen/settings/users/api/teams_api_spec.rb +46 -0
- data/spec/codegen/settings/users/api/users_api_spec.rb +100 -0
- data/spec/codegen/settings/users/models/collection_response_public_permission_set_no_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/collection_response_public_team_no_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/collection_response_public_user_forward_paging_spec.rb +47 -0
- data/spec/codegen/settings/users/models/error_detail_spec.rb +65 -0
- data/spec/codegen/settings/users/models/error_spec.rb +77 -0
- data/spec/codegen/settings/users/models/forward_paging_spec.rb +41 -0
- data/spec/codegen/settings/users/models/next_page_spec.rb +47 -0
- data/spec/codegen/settings/users/models/public_permission_set_spec.rb +53 -0
- data/spec/codegen/settings/users/models/public_team_spec.rb +59 -0
- data/spec/codegen/settings/users/models/public_user_spec.rb +65 -0
- data/spec/codegen/settings/users/models/public_user_update_spec.rb +53 -0
- data/spec/codegen/settings/users/models/user_provision_request_spec.rb +65 -0
- data/spec/codegen/webhooks/api/settings_api_spec.rb +4 -10
- data/spec/codegen/webhooks/api/subscriptions_api_spec.rb +12 -24
- data/spec/codegen/webhooks/models/error_category_spec.rb +1 -1
- data/spec/codegen/webhooks/models/subscription_create_request_spec.rb +1 -1
- data/spec/codegen/webhooks/models/subscription_response_spec.rb +1 -1
- data/spec/discovery/automation/actions/callbacks_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/definitions_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/functions_api_spec.rb +1 -1
- data/spec/discovery/automation/actions/revisions_api_spec.rb +1 -1
- data/spec/discovery/base_api_client_spec.rb +6 -6
- data/spec/discovery/base_module_client_spec.rb +1 -1
- data/spec/discovery/client_spec.rb +1 -1
- data/spec/discovery/cms/audit-logs/audit_logs_api_spec.rb +1 -1
- data/spec/discovery/cms/blogs/{tags/tag_api_spec.rb → authors/blog_authors_api_spec.rb} +2 -2
- data/spec/discovery/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
- data/spec/discovery/cms/blogs/{authors/author_api_spec.rb → tags/blog_tags_api_spec.rb} +2 -2
- data/spec/discovery/cms/domains/domains_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/rows_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +1 -1
- data/spec/discovery/cms/hubdb/tables_api_spec.rb +1 -1
- data/spec/discovery/cms/performance/public_performance_api_spec.rb +1 -1
- data/spec/discovery/cms/site-search/public_api_spec.rb +1 -1
- data/spec/discovery/cms/source-code/content_api_spec.rb +10 -0
- data/spec/discovery/cms/source-code/extract_api_spec.rb +7 -0
- data/spec/discovery/cms/source-code/metadata_api_spec.rb +7 -0
- data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +8 -0
- data/spec/discovery/cms/source-code/validation_api_spec.rb +7 -0
- data/spec/discovery/cms/url-redirects/redirects_api_spec.rb +1 -1
- data/spec/discovery/communication_preferences/definition_api_spec.rb +1 -1
- data/spec/discovery/communication_preferences/status_api_spec.rb +1 -1
- data/spec/discovery/conversations/visitor-identification/generate_api_spec.rb +1 -1
- data/spec/discovery/crm/associations/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/associations/types_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/search_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +3 -4
- data/spec/discovery/crm/contacts/search_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/deals/search_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/calling/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/cards/cards_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/cards/sample_response_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb +1 -1
- data/spec/discovery/crm/imports/core_api_spec.rb +1 -1
- data/spec/discovery/crm/imports/public_imports_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/line_items/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/calls/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/calls/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/calls/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/calls/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/emails/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/emails/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/emails/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/emails/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/gdpr_api_spec.rb +3 -4
- data/spec/discovery/crm/objects/meetings/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/meetings/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/meetings/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/notes/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/notes/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/notes/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/notes/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/search_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/tasks/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/tasks/basic_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/tasks/search_api_spec.rb +7 -0
- data/spec/discovery/crm/owners/owners_api_spec.rb +1 -1
- data/spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb +1 -1
- data/spec/discovery/crm/pipelines/pipelines_api_spec.rb +1 -1
- data/spec/discovery/crm/products/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/products/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/products/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/products/search_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/core_api_spec.rb +1 -1
- data/spec/discovery/crm/properties/groups_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/quotes/search_api_spec.rb +1 -1
- data/spec/discovery/crm/schemas/core_api_spec.rb +1 -1
- data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/associations_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/basic_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -1
- data/spec/discovery/crm/tickets/search_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/events_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/templates_api_spec.rb +1 -1
- data/spec/discovery/crm/timeline/tokens_api_spec.rb +1 -1
- data/spec/discovery/events/events_api_spec.rb +1 -1
- data/spec/discovery/files/files/files_api_spec.rb +1 -1
- data/spec/discovery/files/files/folders_api_spec.rb +1 -1
- data/spec/discovery/marketing/events/basic_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/batch_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/search_api_spec.rb +7 -0
- data/spec/discovery/marketing/events/settings_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- data/spec/discovery/marketing/forms/forms_api_spec.rb +12 -0
- data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
- data/spec/discovery/marketing/transactional/single_send_api_spec.rb +1 -1
- data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/tokens_api_spec.rb +1 -1
- data/spec/discovery/settings/users/roles_api_spec.rb +7 -0
- data/spec/discovery/settings/users/teams_api_spec.rb +7 -0
- data/spec/discovery/settings/users/users_api_spec.rb +11 -0
- data/spec/discovery/webhooks/settings_api_spec.rb +1 -1
- data/spec/discovery/webhooks/subscriptions_api_spec.rb +1 -1
- data/spec/features/cms/blogs/authors/{author_api_spec.rb → blog_authors_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/blog-posts/{blog_post_api_spec.rb → blog_posts_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/tags/{tag_api_spec.rb → blog_tags_api_spec.rb} +2 -2
- data/spec/features/cms/source-code/content_api_spec.rb +10 -0
- data/spec/features/cms/source-code/extract_api_spec.rb +7 -0
- data/spec/features/cms/source-code/metadata_api_spec.rb +7 -0
- data/spec/features/cms/source-code/source_code_extract_api_spec.rb +8 -0
- data/spec/features/cms/source-code/validation_api_spec.rb +7 -0
- data/spec/features/crm/contacts/gdpr_api_spec.rb +3 -4
- data/spec/features/crm/objects/calls/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/calls/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/calls/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/calls/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/calls/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/emails/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/emails/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/emails/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/emails/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/emails/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/feedback_submissions/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/gdpr_api_spec.rb +3 -4
- data/spec/features/crm/objects/meetings/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/meetings/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/meetings/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/meetings/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/meetings/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/notes/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/notes/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/notes/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/notes/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/notes/search_api_spec.rb +7 -0
- data/spec/features/crm/objects/tasks/associations_api_spec.rb +9 -0
- data/spec/features/crm/objects/tasks/basic_api_spec.rb +10 -0
- data/spec/features/crm/objects/tasks/batch_api_spec.rb +10 -0
- data/spec/features/crm/objects/tasks/public_object_api_spec.rb +7 -0
- data/spec/features/crm/objects/tasks/search_api_spec.rb +7 -0
- data/spec/features/marketing/events/basic_api_spec.rb +12 -0
- data/spec/features/marketing/events/batch_api_spec.rb +8 -0
- data/spec/features/marketing/events/search_api_spec.rb +7 -0
- data/spec/features/marketing/events/settings_api_spec.rb +8 -0
- data/spec/features/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- data/spec/features/marketing/forms/forms_api_spec.rb +12 -0
- data/spec/features/settings/users/roles_api_spec.rb +7 -0
- data/spec/features/settings/users/teams_api_spec.rb +7 -0
- data/spec/features/settings/users/users_api_spec.rb +11 -0
- metadata +1217 -38
@@ -0,0 +1,253 @@
|
|
1
|
+
=begin
|
2
|
+
#Blog Post endpoints
|
3
|
+
|
4
|
+
#Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Hubspot
|
16
|
+
module Cms
|
17
|
+
module Blogs
|
18
|
+
module Tags
|
19
|
+
class TagCloneRequestVNext
|
20
|
+
# ID of the object to be cloned.
|
21
|
+
attr_accessor :id
|
22
|
+
|
23
|
+
# Target language of new variant.
|
24
|
+
attr_accessor :language
|
25
|
+
|
26
|
+
# Language of primary blog tag to clone.
|
27
|
+
attr_accessor :primary_language
|
28
|
+
|
29
|
+
# Name of newly cloned blog tag.
|
30
|
+
attr_accessor :name
|
31
|
+
|
32
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
33
|
+
def self.attribute_map
|
34
|
+
{
|
35
|
+
:'id' => :'id',
|
36
|
+
:'language' => :'language',
|
37
|
+
:'primary_language' => :'primaryLanguage',
|
38
|
+
:'name' => :'name'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.openapi_types
|
44
|
+
{
|
45
|
+
:'id' => :'String',
|
46
|
+
:'language' => :'String',
|
47
|
+
:'primary_language' => :'String',
|
48
|
+
:'name' => :'String'
|
49
|
+
}
|
50
|
+
end
|
51
|
+
|
52
|
+
# List of attributes with nullable: true
|
53
|
+
def self.openapi_nullable
|
54
|
+
Set.new([
|
55
|
+
])
|
56
|
+
end
|
57
|
+
|
58
|
+
# Initializes the object
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
60
|
+
def initialize(attributes = {})
|
61
|
+
if (!attributes.is_a?(Hash))
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Blogs::Tags::TagCloneRequestVNext` initialize method"
|
63
|
+
end
|
64
|
+
|
65
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
66
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
67
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Blogs::Tags::TagCloneRequestVNext`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
69
|
+
end
|
70
|
+
h[k.to_sym] = v
|
71
|
+
}
|
72
|
+
|
73
|
+
if attributes.key?(:'id')
|
74
|
+
self.id = attributes[:'id']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.key?(:'language')
|
78
|
+
self.language = attributes[:'language']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'primary_language')
|
82
|
+
self.primary_language = attributes[:'primary_language']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.key?(:'name')
|
86
|
+
self.name = attributes[:'name']
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
91
|
+
# @return Array for valid properties with the reasons
|
92
|
+
def list_invalid_properties
|
93
|
+
invalid_properties = Array.new
|
94
|
+
if @id.nil?
|
95
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
96
|
+
end
|
97
|
+
|
98
|
+
if @name.nil?
|
99
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
100
|
+
end
|
101
|
+
|
102
|
+
invalid_properties
|
103
|
+
end
|
104
|
+
|
105
|
+
# Check to see if the all the properties in the model are valid
|
106
|
+
# @return true if the model is valid
|
107
|
+
def valid?
|
108
|
+
return false if @id.nil?
|
109
|
+
return false if @name.nil?
|
110
|
+
true
|
111
|
+
end
|
112
|
+
|
113
|
+
# Checks equality by comparing each attribute.
|
114
|
+
# @param [Object] Object to be compared
|
115
|
+
def ==(o)
|
116
|
+
return true if self.equal?(o)
|
117
|
+
self.class == o.class &&
|
118
|
+
id == o.id &&
|
119
|
+
language == o.language &&
|
120
|
+
primary_language == o.primary_language &&
|
121
|
+
name == o.name
|
122
|
+
end
|
123
|
+
|
124
|
+
# @see the `==` method
|
125
|
+
# @param [Object] Object to be compared
|
126
|
+
def eql?(o)
|
127
|
+
self == o
|
128
|
+
end
|
129
|
+
|
130
|
+
# Calculates hash code according to all attributes.
|
131
|
+
# @return [Integer] Hash code
|
132
|
+
def hash
|
133
|
+
[id, language, primary_language, name].hash
|
134
|
+
end
|
135
|
+
|
136
|
+
# Builds the object from hash
|
137
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
138
|
+
# @return [Object] Returns the model itself
|
139
|
+
def self.build_from_hash(attributes)
|
140
|
+
new.build_from_hash(attributes)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Builds the object from hash
|
144
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
145
|
+
# @return [Object] Returns the model itself
|
146
|
+
def build_from_hash(attributes)
|
147
|
+
return nil unless attributes.is_a?(Hash)
|
148
|
+
self.class.openapi_types.each_pair do |key, type|
|
149
|
+
if type =~ /\AArray<(.*)>/i
|
150
|
+
# check to ensure the input is an array given that the attribute
|
151
|
+
# is documented as an array but the input is not
|
152
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
153
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
154
|
+
end
|
155
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
156
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
157
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
158
|
+
end
|
159
|
+
|
160
|
+
self
|
161
|
+
end
|
162
|
+
|
163
|
+
# Deserializes the data based on type
|
164
|
+
# @param string type Data type
|
165
|
+
# @param string value Value to be deserialized
|
166
|
+
# @return [Object] Deserialized data
|
167
|
+
def _deserialize(type, value)
|
168
|
+
case type.to_sym
|
169
|
+
when :DateTime
|
170
|
+
DateTime.parse(value)
|
171
|
+
when :Date
|
172
|
+
Date.parse(value)
|
173
|
+
when :String
|
174
|
+
value.to_s
|
175
|
+
when :Integer
|
176
|
+
value.to_i
|
177
|
+
when :Float
|
178
|
+
value.to_f
|
179
|
+
when :Boolean
|
180
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
181
|
+
true
|
182
|
+
else
|
183
|
+
false
|
184
|
+
end
|
185
|
+
when :Object
|
186
|
+
# generic object (usually a Hash), return directly
|
187
|
+
value
|
188
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
189
|
+
inner_type = Regexp.last_match[:inner_type]
|
190
|
+
value.map { |v| _deserialize(inner_type, v) }
|
191
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
192
|
+
k_type = Regexp.last_match[:k_type]
|
193
|
+
v_type = Regexp.last_match[:v_type]
|
194
|
+
{}.tap do |hash|
|
195
|
+
value.each do |k, v|
|
196
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
else # model
|
200
|
+
Hubspot::Cms::Blogs::Tags.const_get(type).build_from_hash(value)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# Returns the string representation of the object
|
205
|
+
# @return [String] String presentation of the object
|
206
|
+
def to_s
|
207
|
+
to_hash.to_s
|
208
|
+
end
|
209
|
+
|
210
|
+
# to_body is an alias to to_hash (backward compatibility)
|
211
|
+
# @return [Hash] Returns the object in the form of hash
|
212
|
+
def to_body
|
213
|
+
to_hash
|
214
|
+
end
|
215
|
+
|
216
|
+
# Returns the object in the form of hash
|
217
|
+
# @return [Hash] Returns the object in the form of hash
|
218
|
+
def to_hash
|
219
|
+
hash = {}
|
220
|
+
self.class.attribute_map.each_pair do |attr, param|
|
221
|
+
value = self.send(attr)
|
222
|
+
if value.nil?
|
223
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
224
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
225
|
+
end
|
226
|
+
|
227
|
+
hash[param] = _to_hash(value)
|
228
|
+
end
|
229
|
+
hash
|
230
|
+
end
|
231
|
+
|
232
|
+
# Outputs non-array value in the form of hash
|
233
|
+
# For object, use to_hash. Otherwise, just return the value
|
234
|
+
# @param [Object] value Any valid value
|
235
|
+
# @return [Hash] Returns the value in the form of hash
|
236
|
+
def _to_hash(value)
|
237
|
+
if value.is_a?(Array)
|
238
|
+
value.compact.map { |v| _to_hash(v) }
|
239
|
+
elsif value.is_a?(Hash)
|
240
|
+
{}.tap do |hash|
|
241
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
242
|
+
end
|
243
|
+
elsif value.respond_to? :to_hash
|
244
|
+
value.to_hash
|
245
|
+
else
|
246
|
+
value
|
247
|
+
end
|
248
|
+
end
|
249
|
+
end
|
250
|
+
end
|
251
|
+
end
|
252
|
+
end
|
253
|
+
end
|
@@ -0,0 +1,257 @@
|
|
1
|
+
=begin
|
2
|
+
#Blog Post endpoints
|
3
|
+
|
4
|
+
#Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Hubspot
|
16
|
+
module Cms
|
17
|
+
module Blogs
|
18
|
+
module Tags
|
19
|
+
class UpdateLanguagesRequestVNext
|
20
|
+
# ID of the primary object in the multi-language group.
|
21
|
+
attr_accessor :primary_id
|
22
|
+
|
23
|
+
# Map of object IDs to associated languages of object in the multi-language group.
|
24
|
+
attr_accessor :languages
|
25
|
+
|
26
|
+
class EnumAttributeValidator
|
27
|
+
attr_reader :datatype
|
28
|
+
attr_reader :allowable_values
|
29
|
+
|
30
|
+
def initialize(datatype, allowable_values)
|
31
|
+
@allowable_values = allowable_values.map do |value|
|
32
|
+
case datatype.to_s
|
33
|
+
when /Integer/i
|
34
|
+
value.to_i
|
35
|
+
when /Float/i
|
36
|
+
value.to_f
|
37
|
+
else
|
38
|
+
value
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def valid?(value)
|
44
|
+
!value || allowable_values.include?(value)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
49
|
+
def self.attribute_map
|
50
|
+
{
|
51
|
+
:'primary_id' => :'primaryId',
|
52
|
+
:'languages' => :'languages'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Attribute type mapping.
|
57
|
+
def self.openapi_types
|
58
|
+
{
|
59
|
+
:'primary_id' => :'String',
|
60
|
+
:'languages' => :'Hash<String, String>'
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
# List of attributes with nullable: true
|
65
|
+
def self.openapi_nullable
|
66
|
+
Set.new([
|
67
|
+
])
|
68
|
+
end
|
69
|
+
|
70
|
+
# Initializes the object
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
72
|
+
def initialize(attributes = {})
|
73
|
+
if (!attributes.is_a?(Hash))
|
74
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Blogs::Tags::UpdateLanguagesRequestVNext` initialize method"
|
75
|
+
end
|
76
|
+
|
77
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
78
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
79
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
80
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Blogs::Tags::UpdateLanguagesRequestVNext`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
81
|
+
end
|
82
|
+
h[k.to_sym] = v
|
83
|
+
}
|
84
|
+
|
85
|
+
if attributes.key?(:'primary_id')
|
86
|
+
self.primary_id = attributes[:'primary_id']
|
87
|
+
end
|
88
|
+
|
89
|
+
if attributes.key?(:'languages')
|
90
|
+
if (value = attributes[:'languages']).is_a?(Hash)
|
91
|
+
self.languages = value
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
97
|
+
# @return Array for valid properties with the reasons
|
98
|
+
def list_invalid_properties
|
99
|
+
invalid_properties = Array.new
|
100
|
+
if @primary_id.nil?
|
101
|
+
invalid_properties.push('invalid value for "primary_id", primary_id cannot be nil.')
|
102
|
+
end
|
103
|
+
|
104
|
+
if @languages.nil?
|
105
|
+
invalid_properties.push('invalid value for "languages", languages cannot be nil.')
|
106
|
+
end
|
107
|
+
|
108
|
+
invalid_properties
|
109
|
+
end
|
110
|
+
|
111
|
+
# Check to see if the all the properties in the model are valid
|
112
|
+
# @return true if the model is valid
|
113
|
+
def valid?
|
114
|
+
return false if @primary_id.nil?
|
115
|
+
return false if @languages.nil?
|
116
|
+
true
|
117
|
+
end
|
118
|
+
|
119
|
+
# Checks equality by comparing each attribute.
|
120
|
+
# @param [Object] Object to be compared
|
121
|
+
def ==(o)
|
122
|
+
return true if self.equal?(o)
|
123
|
+
self.class == o.class &&
|
124
|
+
primary_id == o.primary_id &&
|
125
|
+
languages == o.languages
|
126
|
+
end
|
127
|
+
|
128
|
+
# @see the `==` method
|
129
|
+
# @param [Object] Object to be compared
|
130
|
+
def eql?(o)
|
131
|
+
self == o
|
132
|
+
end
|
133
|
+
|
134
|
+
# Calculates hash code according to all attributes.
|
135
|
+
# @return [Integer] Hash code
|
136
|
+
def hash
|
137
|
+
[primary_id, languages].hash
|
138
|
+
end
|
139
|
+
|
140
|
+
# Builds the object from hash
|
141
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
142
|
+
# @return [Object] Returns the model itself
|
143
|
+
def self.build_from_hash(attributes)
|
144
|
+
new.build_from_hash(attributes)
|
145
|
+
end
|
146
|
+
|
147
|
+
# Builds the object from hash
|
148
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
149
|
+
# @return [Object] Returns the model itself
|
150
|
+
def build_from_hash(attributes)
|
151
|
+
return nil unless attributes.is_a?(Hash)
|
152
|
+
self.class.openapi_types.each_pair do |key, type|
|
153
|
+
if type =~ /\AArray<(.*)>/i
|
154
|
+
# check to ensure the input is an array given that the attribute
|
155
|
+
# is documented as an array but the input is not
|
156
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
157
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
158
|
+
end
|
159
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
160
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
161
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
162
|
+
end
|
163
|
+
|
164
|
+
self
|
165
|
+
end
|
166
|
+
|
167
|
+
# Deserializes the data based on type
|
168
|
+
# @param string type Data type
|
169
|
+
# @param string value Value to be deserialized
|
170
|
+
# @return [Object] Deserialized data
|
171
|
+
def _deserialize(type, value)
|
172
|
+
case type.to_sym
|
173
|
+
when :DateTime
|
174
|
+
DateTime.parse(value)
|
175
|
+
when :Date
|
176
|
+
Date.parse(value)
|
177
|
+
when :String
|
178
|
+
value.to_s
|
179
|
+
when :Integer
|
180
|
+
value.to_i
|
181
|
+
when :Float
|
182
|
+
value.to_f
|
183
|
+
when :Boolean
|
184
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
185
|
+
true
|
186
|
+
else
|
187
|
+
false
|
188
|
+
end
|
189
|
+
when :Object
|
190
|
+
# generic object (usually a Hash), return directly
|
191
|
+
value
|
192
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
193
|
+
inner_type = Regexp.last_match[:inner_type]
|
194
|
+
value.map { |v| _deserialize(inner_type, v) }
|
195
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
196
|
+
k_type = Regexp.last_match[:k_type]
|
197
|
+
v_type = Regexp.last_match[:v_type]
|
198
|
+
{}.tap do |hash|
|
199
|
+
value.each do |k, v|
|
200
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
else # model
|
204
|
+
Hubspot::Cms::Blogs::Tags.const_get(type).build_from_hash(value)
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
# Returns the string representation of the object
|
209
|
+
# @return [String] String presentation of the object
|
210
|
+
def to_s
|
211
|
+
to_hash.to_s
|
212
|
+
end
|
213
|
+
|
214
|
+
# to_body is an alias to to_hash (backward compatibility)
|
215
|
+
# @return [Hash] Returns the object in the form of hash
|
216
|
+
def to_body
|
217
|
+
to_hash
|
218
|
+
end
|
219
|
+
|
220
|
+
# Returns the object in the form of hash
|
221
|
+
# @return [Hash] Returns the object in the form of hash
|
222
|
+
def to_hash
|
223
|
+
hash = {}
|
224
|
+
self.class.attribute_map.each_pair do |attr, param|
|
225
|
+
value = self.send(attr)
|
226
|
+
if value.nil?
|
227
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
228
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
229
|
+
end
|
230
|
+
|
231
|
+
hash[param] = _to_hash(value)
|
232
|
+
end
|
233
|
+
hash
|
234
|
+
end
|
235
|
+
|
236
|
+
# Outputs non-array value in the form of hash
|
237
|
+
# For object, use to_hash. Otherwise, just return the value
|
238
|
+
# @param [Object] value Any valid value
|
239
|
+
# @return [Hash] Returns the value in the form of hash
|
240
|
+
def _to_hash(value)
|
241
|
+
if value.is_a?(Array)
|
242
|
+
value.compact.map { |v| _to_hash(v) }
|
243
|
+
elsif value.is_a?(Hash)
|
244
|
+
{}.tap do |hash|
|
245
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
246
|
+
end
|
247
|
+
elsif value.respond_to? :to_hash
|
248
|
+
value.to_hash
|
249
|
+
else
|
250
|
+
value
|
251
|
+
end
|
252
|
+
end
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
end
|
@@ -26,7 +26,7 @@ module Hubspot
|
|
26
26
|
# @param table_id_or_name [String] The ID or name of the table
|
27
27
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
|
-
# @return [
|
29
|
+
# @return [BatchResponseHubDbTableRowV3]
|
30
30
|
def batch_clone_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
|
31
31
|
data, _status_code, _headers = batch_clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
32
32
|
data
|
@@ -37,7 +37,7 @@ module Hubspot
|
|
37
37
|
# @param table_id_or_name [String] The ID or name of the table
|
38
38
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [Array<(
|
40
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
41
41
|
def batch_clone_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
42
42
|
if @api_client.config.debugging
|
43
43
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_clone_draft_table_rows ...'
|
@@ -70,7 +70,7 @@ module Hubspot
|
|
70
70
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_string)
|
71
71
|
|
72
72
|
# return_type
|
73
|
-
return_type = opts[:return_type] || '
|
73
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
74
74
|
|
75
75
|
# auth_names
|
76
76
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -96,7 +96,7 @@ module Hubspot
|
|
96
96
|
# @param table_id_or_name [String] The ID or name of the table
|
97
97
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [
|
99
|
+
# @return [BatchResponseHubDbTableRowV3]
|
100
100
|
def batch_create_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
101
101
|
data, _status_code, _headers = batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
|
102
102
|
data
|
@@ -107,7 +107,7 @@ module Hubspot
|
|
107
107
|
# @param table_id_or_name [String] The ID or name of the table
|
108
108
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects
|
109
109
|
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [Array<(
|
110
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
111
111
|
def batch_create_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
112
112
|
if @api_client.config.debugging
|
113
113
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_create_draft_table_rows ...'
|
@@ -140,7 +140,7 @@ module Hubspot
|
|
140
140
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_request)
|
141
141
|
|
142
142
|
# return_type
|
143
|
-
return_type = opts[:return_type] || '
|
143
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
144
144
|
|
145
145
|
# auth_names
|
146
146
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -236,7 +236,7 @@ module Hubspot
|
|
236
236
|
# @param table_id_or_name [String] The ID or name of the table
|
237
237
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
238
238
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @return [
|
239
|
+
# @return [BatchResponseHubDbTableRowV3]
|
240
240
|
def batch_read_draft_table_rows(table_id_or_name, batch_input_string, opts = {})
|
241
241
|
data, _status_code, _headers = batch_read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
242
242
|
data
|
@@ -247,7 +247,7 @@ module Hubspot
|
|
247
247
|
# @param table_id_or_name [String] The ID or name of the table
|
248
248
|
# @param batch_input_string [BatchInputString] JSON array of row ids.
|
249
249
|
# @param [Hash] opts the optional parameters
|
250
|
-
# @return [Array<(
|
250
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
251
251
|
def batch_read_draft_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
252
252
|
if @api_client.config.debugging
|
253
253
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_read_draft_table_rows ...'
|
@@ -280,7 +280,7 @@ module Hubspot
|
|
280
280
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_string)
|
281
281
|
|
282
282
|
# return_type
|
283
|
-
return_type = opts[:return_type] || '
|
283
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
284
284
|
|
285
285
|
# auth_names
|
286
286
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -306,7 +306,7 @@ module Hubspot
|
|
306
306
|
# @param table_id_or_name [String] The ID or name of the table to query.
|
307
307
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
|
-
# @return [
|
309
|
+
# @return [BatchResponseHubDbTableRowV3]
|
310
310
|
def batch_read_table_rows(table_id_or_name, batch_input_string, opts = {})
|
311
311
|
data, _status_code, _headers = batch_read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts)
|
312
312
|
data
|
@@ -317,7 +317,7 @@ module Hubspot
|
|
317
317
|
# @param table_id_or_name [String] The ID or name of the table to query.
|
318
318
|
# @param batch_input_string [BatchInputString] The JSON array of row ids
|
319
319
|
# @param [Hash] opts the optional parameters
|
320
|
-
# @return [Array<(
|
320
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
321
321
|
def batch_read_table_rows_with_http_info(table_id_or_name, batch_input_string, opts = {})
|
322
322
|
if @api_client.config.debugging
|
323
323
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_read_table_rows ...'
|
@@ -350,7 +350,7 @@ module Hubspot
|
|
350
350
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_string)
|
351
351
|
|
352
352
|
# return_type
|
353
|
-
return_type = opts[:return_type] || '
|
353
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
354
354
|
|
355
355
|
# auth_names
|
356
356
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -376,7 +376,7 @@ module Hubspot
|
|
376
376
|
# @param table_id_or_name [String] The ID or name of the table
|
377
377
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
|
378
378
|
# @param [Hash] opts the optional parameters
|
379
|
-
# @return [
|
379
|
+
# @return [BatchResponseHubDbTableRowV3]
|
380
380
|
def batch_replace_draft_table_rows(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
381
381
|
data, _status_code, _headers = batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts)
|
382
382
|
data
|
@@ -387,7 +387,7 @@ module Hubspot
|
|
387
387
|
# @param table_id_or_name [String] The ID or name of the table
|
388
388
|
# @param batch_input_hub_db_table_row_v3_request [BatchInputHubDbTableRowV3Request] JSON array of row objects.
|
389
389
|
# @param [Hash] opts the optional parameters
|
390
|
-
# @return [Array<(
|
390
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
391
391
|
def batch_replace_draft_table_rows_with_http_info(table_id_or_name, batch_input_hub_db_table_row_v3_request, opts = {})
|
392
392
|
if @api_client.config.debugging
|
393
393
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_replace_draft_table_rows ...'
|
@@ -420,7 +420,7 @@ module Hubspot
|
|
420
420
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_hub_db_table_row_v3_request)
|
421
421
|
|
422
422
|
# return_type
|
423
|
-
return_type = opts[:return_type] || '
|
423
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
424
424
|
|
425
425
|
# auth_names
|
426
426
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|
@@ -446,7 +446,7 @@ module Hubspot
|
|
446
446
|
# @param table_id_or_name [String] The ID or name of the table
|
447
447
|
# @param batch_input_json_node [BatchInputJsonNode] JSON array of row objects.
|
448
448
|
# @param [Hash] opts the optional parameters
|
449
|
-
# @return [
|
449
|
+
# @return [BatchResponseHubDbTableRowV3]
|
450
450
|
def batch_update_draft_table_rows(table_id_or_name, batch_input_json_node, opts = {})
|
451
451
|
data, _status_code, _headers = batch_update_draft_table_rows_with_http_info(table_id_or_name, batch_input_json_node, opts)
|
452
452
|
data
|
@@ -457,7 +457,7 @@ module Hubspot
|
|
457
457
|
# @param table_id_or_name [String] The ID or name of the table
|
458
458
|
# @param batch_input_json_node [BatchInputJsonNode] JSON array of row objects.
|
459
459
|
# @param [Hash] opts the optional parameters
|
460
|
-
# @return [Array<(
|
460
|
+
# @return [Array<(BatchResponseHubDbTableRowV3, Integer, Hash)>] BatchResponseHubDbTableRowV3 data, response status code and response headers
|
461
461
|
def batch_update_draft_table_rows_with_http_info(table_id_or_name, batch_input_json_node, opts = {})
|
462
462
|
if @api_client.config.debugging
|
463
463
|
@api_client.config.logger.debug 'Calling API: RowsBatchApi.batch_update_draft_table_rows ...'
|
@@ -490,7 +490,7 @@ module Hubspot
|
|
490
490
|
post_body = opts[:body] || @api_client.object_to_http_body(batch_input_json_node)
|
491
491
|
|
492
492
|
# return_type
|
493
|
-
return_type = opts[:return_type] || '
|
493
|
+
return_type = opts[:return_type] || 'BatchResponseHubDbTableRowV3'
|
494
494
|
|
495
495
|
# auth_names
|
496
496
|
auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
|