criteo-api-retailmedia-sdk 2025.1.0.250317__py3-none-any.whl → 2025.1.0.251112__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
- criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
- criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
- criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
- criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
- criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
- criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
- criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
- {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 2025-01
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_v2025_01.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class NillableDecimal(ModelNormal):
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
|
|
39
|
+
Attributes:
|
|
40
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
+
with a capitalized key describing the allowed value and an allowed
|
|
43
|
+
value. These dicts store the allowed enum values.
|
|
44
|
+
attribute_map (dict): The key is attribute name
|
|
45
|
+
and the value is json key in definition.
|
|
46
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
47
|
+
variable value to the discriminator class name.
|
|
48
|
+
validations (dict): The key is the tuple path to the attribute
|
|
49
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
50
|
+
that stores validations for max_length, min_length, max_items,
|
|
51
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
52
|
+
inclusive_minimum, and regex.
|
|
53
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
54
|
+
as additional properties values.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
allowed_values = {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validations = {
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@cached_property
|
|
64
|
+
def additional_properties_type():
|
|
65
|
+
"""
|
|
66
|
+
This must be a method because a model may have properties that are
|
|
67
|
+
of type self, this must run after the class is loaded
|
|
68
|
+
"""
|
|
69
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
70
|
+
|
|
71
|
+
_nullable = True
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def openapi_types():
|
|
75
|
+
"""
|
|
76
|
+
This must be a method because a model may have properties that are
|
|
77
|
+
of type self, this must run after the class is loaded
|
|
78
|
+
|
|
79
|
+
Returns
|
|
80
|
+
openapi_types (dict): The key is attribute name
|
|
81
|
+
and the value is attribute type.
|
|
82
|
+
"""
|
|
83
|
+
return {
|
|
84
|
+
'value': (float, none_type,), # noqa: E501
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def discriminator():
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
attribute_map = {
|
|
93
|
+
'value': 'value', # noqa: E501
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
read_only_vars = {
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
_composed_schemas = {}
|
|
100
|
+
|
|
101
|
+
@classmethod
|
|
102
|
+
@convert_js_args_to_python_args
|
|
103
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
104
|
+
"""NillableDecimal - a model defined in OpenAPI
|
|
105
|
+
|
|
106
|
+
Keyword Args:
|
|
107
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
108
|
+
will be type checked and a TypeError will be
|
|
109
|
+
raised if the wrong type is input.
|
|
110
|
+
Defaults to True
|
|
111
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
112
|
+
drill down to the model in received_data
|
|
113
|
+
when deserializing a response
|
|
114
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
115
|
+
are serialized names, as specified in the OpenAPI document.
|
|
116
|
+
False if the variable names in the input data
|
|
117
|
+
are pythonic names, e.g. snake case (default)
|
|
118
|
+
_configuration (Configuration): the instance to use when
|
|
119
|
+
deserializing a file_type parameter.
|
|
120
|
+
If passed, type conversion is attempted
|
|
121
|
+
If omitted no type conversion is done.
|
|
122
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
123
|
+
classes that we have traveled through so that
|
|
124
|
+
if we see that class again we will not use its
|
|
125
|
+
discriminator again.
|
|
126
|
+
When traveling through a discriminator, the
|
|
127
|
+
composed schema that is
|
|
128
|
+
is traveled through is added to this set.
|
|
129
|
+
For example if Animal has a discriminator
|
|
130
|
+
petType and we pass in "Dog", and the class Dog
|
|
131
|
+
allOf includes Animal, we move through Animal
|
|
132
|
+
once using the discriminator, and pick Dog.
|
|
133
|
+
Then in Dog, we will make an instance of the
|
|
134
|
+
Animal class but this time we won't travel
|
|
135
|
+
through its discriminator because we passed in
|
|
136
|
+
_visited_composed_classes = (Animal,)
|
|
137
|
+
value (float, none_type): The value. If missing or null the value is set to \"null\". [optional] # noqa: E501
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
141
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
142
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
143
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
144
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
145
|
+
|
|
146
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
147
|
+
|
|
148
|
+
if args:
|
|
149
|
+
for arg in args:
|
|
150
|
+
if isinstance(arg, dict):
|
|
151
|
+
kwargs.update(arg)
|
|
152
|
+
else:
|
|
153
|
+
raise ApiTypeError(
|
|
154
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
155
|
+
args,
|
|
156
|
+
self.__class__.__name__,
|
|
157
|
+
),
|
|
158
|
+
path_to_item=_path_to_item,
|
|
159
|
+
valid_classes=(self.__class__,),
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
self._data_store = {}
|
|
163
|
+
self._check_type = _check_type
|
|
164
|
+
self._spec_property_naming = _spec_property_naming
|
|
165
|
+
self._path_to_item = _path_to_item
|
|
166
|
+
self._configuration = _configuration
|
|
167
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
168
|
+
|
|
169
|
+
for var_name, var_value in kwargs.items():
|
|
170
|
+
if var_name not in self.attribute_map and \
|
|
171
|
+
self._configuration is not None and \
|
|
172
|
+
self._configuration.discard_unknown_keys and \
|
|
173
|
+
self.additional_properties_type is None:
|
|
174
|
+
# discard variable.
|
|
175
|
+
continue
|
|
176
|
+
setattr(self, var_name, var_value)
|
|
177
|
+
return self
|
|
178
|
+
|
|
179
|
+
required_properties = set([
|
|
180
|
+
'_data_store',
|
|
181
|
+
'_check_type',
|
|
182
|
+
'_spec_property_naming',
|
|
183
|
+
'_path_to_item',
|
|
184
|
+
'_configuration',
|
|
185
|
+
'_visited_composed_classes',
|
|
186
|
+
])
|
|
187
|
+
|
|
188
|
+
@convert_js_args_to_python_args
|
|
189
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
190
|
+
"""NillableDecimal - a model defined in OpenAPI
|
|
191
|
+
|
|
192
|
+
Keyword Args:
|
|
193
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
194
|
+
will be type checked and a TypeError will be
|
|
195
|
+
raised if the wrong type is input.
|
|
196
|
+
Defaults to True
|
|
197
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
198
|
+
drill down to the model in received_data
|
|
199
|
+
when deserializing a response
|
|
200
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
201
|
+
are serialized names, as specified in the OpenAPI document.
|
|
202
|
+
False if the variable names in the input data
|
|
203
|
+
are pythonic names, e.g. snake case (default)
|
|
204
|
+
_configuration (Configuration): the instance to use when
|
|
205
|
+
deserializing a file_type parameter.
|
|
206
|
+
If passed, type conversion is attempted
|
|
207
|
+
If omitted no type conversion is done.
|
|
208
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
209
|
+
classes that we have traveled through so that
|
|
210
|
+
if we see that class again we will not use its
|
|
211
|
+
discriminator again.
|
|
212
|
+
When traveling through a discriminator, the
|
|
213
|
+
composed schema that is
|
|
214
|
+
is traveled through is added to this set.
|
|
215
|
+
For example if Animal has a discriminator
|
|
216
|
+
petType and we pass in "Dog", and the class Dog
|
|
217
|
+
allOf includes Animal, we move through Animal
|
|
218
|
+
once using the discriminator, and pick Dog.
|
|
219
|
+
Then in Dog, we will make an instance of the
|
|
220
|
+
Animal class but this time we won't travel
|
|
221
|
+
through its discriminator because we passed in
|
|
222
|
+
_visited_composed_classes = (Animal,)
|
|
223
|
+
value (float, none_type): The value. If missing or null the value is set to \"null\". [optional] # noqa: E501
|
|
224
|
+
"""
|
|
225
|
+
|
|
226
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
227
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
228
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
229
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
230
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
231
|
+
|
|
232
|
+
if args:
|
|
233
|
+
for arg in args:
|
|
234
|
+
if isinstance(arg, dict):
|
|
235
|
+
kwargs.update(arg)
|
|
236
|
+
else:
|
|
237
|
+
raise ApiTypeError(
|
|
238
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
239
|
+
args,
|
|
240
|
+
self.__class__.__name__,
|
|
241
|
+
),
|
|
242
|
+
path_to_item=_path_to_item,
|
|
243
|
+
valid_classes=(self.__class__,),
|
|
244
|
+
)
|
|
245
|
+
|
|
246
|
+
self._data_store = {}
|
|
247
|
+
self._check_type = _check_type
|
|
248
|
+
self._spec_property_naming = _spec_property_naming
|
|
249
|
+
self._path_to_item = _path_to_item
|
|
250
|
+
self._configuration = _configuration
|
|
251
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
252
|
+
|
|
253
|
+
for var_name, var_value in kwargs.items():
|
|
254
|
+
if var_name not in self.attribute_map and \
|
|
255
|
+
self._configuration is not None and \
|
|
256
|
+
self._configuration.discard_unknown_keys and \
|
|
257
|
+
self.additional_properties_type is None:
|
|
258
|
+
# discard variable.
|
|
259
|
+
continue
|
|
260
|
+
setattr(self, var_name, var_value)
|
|
261
|
+
if var_name in self.read_only_vars:
|
|
262
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
263
|
+
f"class with read only attributes.")
|
|
@@ -75,12 +75,12 @@ class PageMetadata(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'current_page_size': (int,), # noqa: E501
|
|
79
78
|
'current_page_index': (int,), # noqa: E501
|
|
80
|
-
'
|
|
81
|
-
'total_pages': (int, none_type,), # noqa: E501
|
|
79
|
+
'current_page_size': (int,), # noqa: E501
|
|
82
80
|
'next_page': (str, none_type,), # noqa: E501
|
|
83
81
|
'previous_page': (str, none_type,), # noqa: E501
|
|
82
|
+
'total_items_across_all_pages': (int, none_type,), # noqa: E501
|
|
83
|
+
'total_pages': (int, none_type,), # noqa: E501
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
@cached_property
|
|
@@ -89,12 +89,12 @@ class PageMetadata(ModelNormal):
|
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
attribute_map = {
|
|
92
|
-
'current_page_size': 'currentPageSize', # noqa: E501
|
|
93
92
|
'current_page_index': 'currentPageIndex', # noqa: E501
|
|
94
|
-
'
|
|
95
|
-
'total_pages': 'totalPages', # noqa: E501
|
|
93
|
+
'current_page_size': 'currentPageSize', # noqa: E501
|
|
96
94
|
'next_page': 'nextPage', # noqa: E501
|
|
97
95
|
'previous_page': 'previousPage', # noqa: E501
|
|
96
|
+
'total_items_across_all_pages': 'totalItemsAcrossAllPages', # noqa: E501
|
|
97
|
+
'total_pages': 'totalPages', # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
read_only_vars = {
|
|
@@ -104,12 +104,12 @@ class PageMetadata(ModelNormal):
|
|
|
104
104
|
|
|
105
105
|
@classmethod
|
|
106
106
|
@convert_js_args_to_python_args
|
|
107
|
-
def _from_openapi_data(cls,
|
|
107
|
+
def _from_openapi_data(cls, current_page_index, current_page_size, *args, **kwargs): # noqa: E501
|
|
108
108
|
"""PageMetadata - a model defined in OpenAPI
|
|
109
109
|
|
|
110
110
|
Args:
|
|
111
|
-
current_page_size (int):
|
|
112
111
|
current_page_index (int):
|
|
112
|
+
current_page_size (int):
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -142,10 +142,10 @@ class PageMetadata(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
146
|
-
total_pages (int, none_type): [optional] # noqa: E501
|
|
147
145
|
next_page (str, none_type): [optional] # noqa: E501
|
|
148
146
|
previous_page (str, none_type): [optional] # noqa: E501
|
|
147
|
+
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
148
|
+
total_pages (int, none_type): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,8 +177,8 @@ class PageMetadata(ModelNormal):
|
|
|
177
177
|
self._configuration = _configuration
|
|
178
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
179
|
|
|
180
|
-
self.current_page_size = current_page_size
|
|
181
180
|
self.current_page_index = current_page_index
|
|
181
|
+
self.current_page_size = current_page_size
|
|
182
182
|
for var_name, var_value in kwargs.items():
|
|
183
183
|
if var_name not in self.attribute_map and \
|
|
184
184
|
self._configuration is not None and \
|
|
@@ -199,12 +199,12 @@ class PageMetadata(ModelNormal):
|
|
|
199
199
|
])
|
|
200
200
|
|
|
201
201
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
202
|
+
def __init__(self, current_page_index, current_page_size, *args, **kwargs): # noqa: E501
|
|
203
203
|
"""PageMetadata - a model defined in OpenAPI
|
|
204
204
|
|
|
205
205
|
Args:
|
|
206
|
-
current_page_size (int):
|
|
207
206
|
current_page_index (int):
|
|
207
|
+
current_page_size (int):
|
|
208
208
|
|
|
209
209
|
Keyword Args:
|
|
210
210
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,10 +237,10 @@ class PageMetadata(ModelNormal):
|
|
|
237
237
|
Animal class but this time we won't travel
|
|
238
238
|
through its discriminator because we passed in
|
|
239
239
|
_visited_composed_classes = (Animal,)
|
|
240
|
-
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
241
|
-
total_pages (int, none_type): [optional] # noqa: E501
|
|
242
240
|
next_page (str, none_type): [optional] # noqa: E501
|
|
243
241
|
previous_page (str, none_type): [optional] # noqa: E501
|
|
242
|
+
total_items_across_all_pages (int, none_type): [optional] # noqa: E501
|
|
243
|
+
total_pages (int, none_type): [optional] # noqa: E501
|
|
244
244
|
"""
|
|
245
245
|
|
|
246
246
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -270,8 +270,8 @@ class PageMetadata(ModelNormal):
|
|
|
270
270
|
self._configuration = _configuration
|
|
271
271
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
272
272
|
|
|
273
|
-
self.current_page_size = current_page_size
|
|
274
273
|
self.current_page_index = current_page_index
|
|
274
|
+
self.current_page_size = current_page_size
|
|
275
275
|
for var_name, var_value in kwargs.items():
|
|
276
276
|
if var_name not in self.attribute_map and \
|
|
277
277
|
self._configuration is not None and \
|
|
@@ -82,8 +82,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'meta': (Metadata,), # noqa: E501
|
|
86
85
|
'data': ([BalanceHistoryChangeDataCaptureV1],), # noqa: E501
|
|
86
|
+
'meta': (Metadata,), # noqa: E501
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
@@ -92,8 +92,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
attribute_map = {
|
|
95
|
-
'meta': 'meta', # noqa: E501
|
|
96
95
|
'data': 'data', # noqa: E501
|
|
96
|
+
'meta': 'meta', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -103,12 +103,12 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
103
103
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
106
|
+
def _from_openapi_data(cls, data, meta, *args, **kwargs): # noqa: E501
|
|
107
107
|
"""PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Args:
|
|
110
|
-
meta (Metadata):
|
|
111
110
|
data ([BalanceHistoryChangeDataCaptureV1]):
|
|
111
|
+
meta (Metadata):
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -172,8 +172,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
172
172
|
self._configuration = _configuration
|
|
173
173
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
174
|
|
|
175
|
-
self.meta = meta
|
|
176
175
|
self.data = data
|
|
176
|
+
self.meta = meta
|
|
177
177
|
for var_name, var_value in kwargs.items():
|
|
178
178
|
if var_name not in self.attribute_map and \
|
|
179
179
|
self._configuration is not None and \
|
|
@@ -194,12 +194,12 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
194
194
|
])
|
|
195
195
|
|
|
196
196
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
197
|
+
def __init__(self, data, meta, *args, **kwargs): # noqa: E501
|
|
198
198
|
"""PageOfBalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
199
199
|
|
|
200
200
|
Args:
|
|
201
|
-
meta (Metadata):
|
|
202
201
|
data ([BalanceHistoryChangeDataCaptureV1]):
|
|
202
|
+
meta (Metadata):
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -261,8 +261,8 @@ class PageOfBalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
|
261
261
|
self._configuration = _configuration
|
|
262
262
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
263
|
|
|
264
|
-
self.meta = meta
|
|
265
264
|
self.data = data
|
|
265
|
+
self.meta = meta
|
|
266
266
|
for var_name, var_value in kwargs.items():
|
|
267
267
|
if var_name not in self.attribute_map and \
|
|
268
268
|
self._configuration is not None and \
|
|
@@ -55,6 +55,16 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('environments',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'WEB': "Web",
|
|
61
|
+
'MOBILE': "Mobile",
|
|
62
|
+
'APP': "App",
|
|
63
|
+
'LOCKOUT': "Lockout",
|
|
64
|
+
'MIXED': "Mixed",
|
|
65
|
+
'IOS': "iOS",
|
|
66
|
+
'ANDROID': "Android",
|
|
67
|
+
},
|
|
58
68
|
('page_type',): {
|
|
59
69
|
'None': None,
|
|
60
70
|
'UNKNOWN': "Unknown",
|
|
@@ -71,16 +81,6 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
71
81
|
'SEARCHBAR': "SearchBar",
|
|
72
82
|
'CATEGORYMENU': "CategoryMenu",
|
|
73
83
|
},
|
|
74
|
-
('environments',): {
|
|
75
|
-
'None': None,
|
|
76
|
-
'WEB': "Web",
|
|
77
|
-
'MOBILE': "Mobile",
|
|
78
|
-
'APP': "App",
|
|
79
|
-
'LOCKOUT': "Lockout",
|
|
80
|
-
'MIXED': "Mixed",
|
|
81
|
-
'IOS': "iOS",
|
|
82
|
-
'ANDROID': "Android",
|
|
83
|
-
},
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
validations = {
|
|
@@ -101,8 +101,8 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
-
'page_type': (str, none_type,), # noqa: E501
|
|
105
104
|
'environments': ([str], none_type,), # noqa: E501
|
|
105
|
+
'page_type': (str, none_type,), # noqa: E501
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
@cached_property
|
|
@@ -111,8 +111,8 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
attribute_map = {
|
|
114
|
-
'page_type': 'pageType', # noqa: E501
|
|
115
114
|
'environments': 'environments', # noqa: E501
|
|
115
|
+
'page_type': 'pageType', # noqa: E501
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
read_only_vars = {
|
|
@@ -156,8 +156,8 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
156
156
|
Animal class but this time we won't travel
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
|
-
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
160
159
|
environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501
|
|
160
|
+
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
163
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -243,8 +243,8 @@ class PageTypeEnvironment2(ModelNormal):
|
|
|
243
243
|
Animal class but this time we won't travel
|
|
244
244
|
through its discriminator because we passed in
|
|
245
245
|
_visited_composed_classes = (Animal,)
|
|
246
|
-
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
247
246
|
environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501
|
|
247
|
+
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -55,6 +55,16 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('environments',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'WEB': "Web",
|
|
61
|
+
'MOBILE': "Mobile",
|
|
62
|
+
'APP': "App",
|
|
63
|
+
'LOCKOUT': "Lockout",
|
|
64
|
+
'MIXED': "Mixed",
|
|
65
|
+
'IOS': "iOS",
|
|
66
|
+
'ANDROID': "Android",
|
|
67
|
+
},
|
|
58
68
|
('page_type',): {
|
|
59
69
|
'None': None,
|
|
60
70
|
'SEARCH': "Search",
|
|
@@ -67,16 +77,6 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
67
77
|
'MERCHANDISING': "Merchandising",
|
|
68
78
|
'DEALS': "Deals",
|
|
69
79
|
},
|
|
70
|
-
('environments',): {
|
|
71
|
-
'None': None,
|
|
72
|
-
'WEB': "Web",
|
|
73
|
-
'MOBILE': "Mobile",
|
|
74
|
-
'APP': "App",
|
|
75
|
-
'LOCKOUT': "Lockout",
|
|
76
|
-
'MIXED': "Mixed",
|
|
77
|
-
'IOS': "iOS",
|
|
78
|
-
'ANDROID': "Android",
|
|
79
|
-
},
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
validations = {
|
|
@@ -97,8 +97,8 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
97
97
|
and the value is attribute type.
|
|
98
98
|
"""
|
|
99
99
|
return {
|
|
100
|
-
'page_type': (str, none_type,), # noqa: E501
|
|
101
100
|
'environments': ([str], none_type,), # noqa: E501
|
|
101
|
+
'page_type': (str, none_type,), # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
@cached_property
|
|
@@ -107,8 +107,8 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
attribute_map = {
|
|
110
|
-
'page_type': 'pageType', # noqa: E501
|
|
111
110
|
'environments': 'environments', # noqa: E501
|
|
111
|
+
'page_type': 'pageType', # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
read_only_vars = {
|
|
@@ -152,8 +152,8 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
152
152
|
Animal class but this time we won't travel
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
|
-
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
156
155
|
environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501
|
|
156
|
+
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
157
157
|
"""
|
|
158
158
|
|
|
159
159
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -239,8 +239,8 @@ class PageTypeEnvironment202210(ModelNormal):
|
|
|
239
239
|
Animal class but this time we won't travel
|
|
240
240
|
through its discriminator because we passed in
|
|
241
241
|
_visited_composed_classes = (Animal,)
|
|
242
|
-
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
243
242
|
environments ([str], none_type): List of environments per PageType. [optional] # noqa: E501
|
|
243
|
+
page_type (str, none_type): Creative PageType. [optional] # noqa: E501
|
|
244
244
|
"""
|
|
245
245
|
|
|
246
246
|
_check_type = kwargs.pop('_check_type', True)
|