| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 170d0ed commit 90d6049
82 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,8 +178,8 @@ def account_post_with_http_info(self, account, **kwargs): # noqa: E501 | |||
| 178 | 178 | params[key] = val | |
| 179 | 179 | del params['kwargs'] | |
| 180 | 180 | # verify the required parameter 'account' is set | |
| 181 | - if ('account' not in params or | ||
| 182 | - params['account'] is None): | ||
| 181 | + if self.api_client.client_side_validation and ('account' not in params or | ||
| 182 | + params['account'] is None): # noqa: E501 | ||
| 183 | 183 | raise ValueError("Missing the required parameter `account` when calling `account_post`") # noqa: E501 | |
| 184 | 184 | ||
| 185 | 185 | collection_formats = {} | |
@@ -279,12 +279,12 @@ def account_useage_by_subaccount_get_with_http_info(self, year, month, **kwargs) | |||
| 279 | 279 | params[key] = val | |
| 280 | 280 | del params['kwargs'] | |
| 281 | 281 | # verify the required parameter 'year' is set | |
| 282 | - if ('year' not in params or | ||
| 283 | - params['year'] is None): | ||
| 282 | + if self.api_client.client_side_validation and ('year' not in params or | ||
| 283 | + params['year'] is None): # noqa: E501 | ||
| 284 | 284 | raise ValueError("Missing the required parameter `year` when calling `account_useage_by_subaccount_get`") # noqa: E501 | |
| 285 | 285 | # verify the required parameter 'month' is set | |
| 286 | - if ('month' not in params or | ||
| 287 | - params['month'] is None): | ||
| 286 | + if self.api_client.client_side_validation and ('month' not in params or | ||
| 287 | + params['month'] is None): # noqa: E501 | ||
| 288 | 288 | raise ValueError("Missing the required parameter `month` when calling `account_useage_by_subaccount_get`") # noqa: E501 | |
| 289 | 289 | ||
| 290 | 290 | collection_formats = {} | |
@@ -384,8 +384,8 @@ def account_verify_send_put_with_http_info(self, account_verify, **kwargs): # n | |||
| 384 | 384 | params[key] = val | |
| 385 | 385 | del params['kwargs'] | |
| 386 | 386 | # verify the required parameter 'account_verify' is set | |
| 387 | - if ('account_verify' not in params or | ||
| 388 | - params['account_verify'] is None): | ||
| 387 | + if self.api_client.client_side_validation and ('account_verify' not in params or | ||
| 388 | + params['account_verify'] is None): # noqa: E501 | ||
| 389 | 389 | raise ValueError("Missing the required parameter `account_verify` when calling `account_verify_send_put`") # noqa: E501 | |
| 390 | 390 | ||
| 391 | 391 | collection_formats = {} | |
@@ -483,8 +483,8 @@ def account_verify_verify_by_activation_token_put_with_http_info(self, activatio | |||
| 483 | 483 | params[key] = val | |
| 484 | 484 | del params['kwargs'] | |
| 485 | 485 | # verify the required parameter 'activation_token' is set | |
| 486 | - if ('activation_token' not in params or | ||
| 487 | - params['activation_token'] is None): | ||
| 486 | + if self.api_client.client_side_validation and ('activation_token' not in params or | ||
| 487 | + params['activation_token'] is None): # noqa: E501 | ||
| 488 | 488 | raise ValueError("Missing the required parameter `activation_token` when calling `account_verify_verify_by_activation_token_put`") # noqa: E501 | |
| 489 | 489 | ||
| 490 | 490 | collection_formats = {} | |
@@ -677,8 +677,8 @@ def forgot_password_verify_put_with_http_info(self, verify_password, **kwargs): | |||
| 677 | 677 | params[key] = val | |
| 678 | 678 | del params['kwargs'] | |
| 679 | 679 | # verify the required parameter 'verify_password' is set | |
| 680 | - if ('verify_password' not in params or | ||
| 681 | - params['verify_password'] is None): | ||
| 680 | + if self.api_client.client_side_validation and ('verify_password' not in params or | ||
| 681 | + params['verify_password'] is None): # noqa: E501 | ||
| 682 | 682 | raise ValueError("Missing the required parameter `verify_password` when calling `forgot_password_verify_put`") # noqa: E501 | |
| 683 | 683 | ||
| 684 | 684 | collection_formats = {} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,8 +178,8 @@ def recharge_credit_card_put_with_http_info(self, credit_card, **kwargs): # noq | |||
| 178 | 178 | params[key] = val | |
| 179 | 179 | del params['kwargs'] | |
| 180 | 180 | # verify the required parameter 'credit_card' is set | |
| 181 | - if ('credit_card' not in params or | ||
| 182 | - params['credit_card'] is None): | ||
| 181 | + if self.api_client.client_side_validation and ('credit_card' not in params or | ||
| 182 | + params['credit_card'] is None): # noqa: E501 | ||
| 183 | 183 | raise ValueError("Missing the required parameter `credit_card` when calling `recharge_credit_card_put`") # noqa: E501 | |
| 184 | 184 | ||
| 185 | 185 | collection_formats = {} | |
@@ -372,8 +372,8 @@ def recharge_purchase_by_package_id_put_with_http_info(self, package_id, **kwarg | |||
| 372 | 372 | params[key] = val | |
| 373 | 373 | del params['kwargs'] | |
| 374 | 374 | # verify the required parameter 'package_id' is set | |
| 375 | - if ('package_id' not in params or | ||
| 376 | - params['package_id'] is None): | ||
| 375 | + if self.api_client.client_side_validation and ('package_id' not in params or | ||
| 376 | + params['package_id'] is None): # noqa: E501 | ||
| 377 | 377 | raise ValueError("Missing the required parameter `package_id` when calling `recharge_purchase_by_package_id_put`") # noqa: E501 | |
| 378 | 378 | ||
| 379 | 379 | collection_formats = {} | |
@@ -471,8 +471,8 @@ def recharge_transactions_by_transaction_id_get_with_http_info(self, transaction | |||
| 471 | 471 | params[key] = val | |
| 472 | 472 | del params['kwargs'] | |
| 473 | 473 | # verify the required parameter 'transaction_id' is set | |
| 474 | - if ('transaction_id' not in params or | ||
| 475 | - params['transaction_id'] is None): | ||
| 474 | + if self.api_client.client_side_validation and ('transaction_id' not in params or | ||
| 475 | + params['transaction_id'] is None): # noqa: E501 | ||
| 476 | 476 | raise ValueError("Missing the required parameter `transaction_id` when calling `recharge_transactions_by_transaction_id_get`") # noqa: E501 | |
| 477 | 477 | ||
| 478 | 478 | collection_formats = {} | |
@@ -572,9 +572,9 @@ def recharge_transactions_get_with_http_info(self, **kwargs): # noqa: E501 | |||
| 572 | 572 | params[key] = val | |
| 573 | 573 | del params['kwargs'] | |
| 574 | 574 | ||
| 575 | - if 'page' in params and params['page'] < 1: # noqa: E501 | ||
| 575 | + if self.api_client.client_side_validation and ('page' in params and params['page'] < 1): # noqa: E501 | ||
| 576 | 576 | raise ValueError("Invalid value for parameter `page` when calling `recharge_transactions_get`, must be a value greater than or equal to `1`") # noqa: E501 | |
| 577 | - if 'limit' in params and params['limit'] < 1: # noqa: E501 | ||
| 577 | + if self.api_client.client_side_validation and ('limit' in params and params['limit'] < 1): # noqa: E501 | ||
| 578 | 578 | raise ValueError("Invalid value for parameter `limit` when calling `recharge_transactions_get`, must be a value greater than or equal to `1`") # noqa: E501 | |
| 579 | 579 | collection_formats = {} | |
| 580 | 580 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,12 +89,12 @@ def lists_contacts_by_list_id_and_contact_id_delete_with_http_info(self, list_id | |||
| 89 | 89 | params[key] = val | |
| 90 | 90 | del params['kwargs'] | |
| 91 | 91 | # verify the required parameter 'list_id' is set | |
| 92 | - if ('list_id' not in params or | ||
| 93 | - params['list_id'] is None): | ||
| 92 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 93 | + params['list_id'] is None): # noqa: E501 | ||
| 94 | 94 | raise ValueError("Missing the required parameter `list_id` when calling `lists_contacts_by_list_id_and_contact_id_delete`") # noqa: E501 | |
| 95 | 95 | # verify the required parameter 'contact_id' is set | |
| 96 | - if ('contact_id' not in params or | ||
| 97 | - params['contact_id'] is None): | ||
| 96 | + if self.api_client.client_side_validation and ('contact_id' not in params or | ||
| 97 | + params['contact_id'] is None): # noqa: E501 | ||
| 98 | 98 | raise ValueError("Missing the required parameter `contact_id` when calling `lists_contacts_by_list_id_and_contact_id_delete`") # noqa: E501 | |
| 99 | 99 | ||
| 100 | 100 | collection_formats = {} | |
@@ -196,12 +196,12 @@ def lists_contacts_by_list_id_and_contact_id_get_with_http_info(self, list_id, c | |||
| 196 | 196 | params[key] = val | |
| 197 | 197 | del params['kwargs'] | |
| 198 | 198 | # verify the required parameter 'list_id' is set | |
| 199 | - if ('list_id' not in params or | ||
| 200 | - params['list_id'] is None): | ||
| 199 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 200 | + params['list_id'] is None): # noqa: E501 | ||
| 201 | 201 | raise ValueError("Missing the required parameter `list_id` when calling `lists_contacts_by_list_id_and_contact_id_get`") # noqa: E501 | |
| 202 | 202 | # verify the required parameter 'contact_id' is set | |
| 203 | - if ('contact_id' not in params or | ||
| 204 | - params['contact_id'] is None): | ||
| 203 | + if self.api_client.client_side_validation and ('contact_id' not in params or | ||
| 204 | + params['contact_id'] is None): # noqa: E501 | ||
| 205 | 205 | raise ValueError("Missing the required parameter `contact_id` when calling `lists_contacts_by_list_id_and_contact_id_get`") # noqa: E501 | |
| 206 | 206 | ||
| 207 | 207 | collection_formats = {} | |
@@ -305,16 +305,16 @@ def lists_contacts_by_list_id_and_contact_id_put_with_http_info(self, list_id, c | |||
| 305 | 305 | params[key] = val | |
| 306 | 306 | del params['kwargs'] | |
| 307 | 307 | # verify the required parameter 'list_id' is set | |
| 308 | - if ('list_id' not in params or | ||
| 309 | - params['list_id'] is None): | ||
| 308 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 309 | + params['list_id'] is None): # noqa: E501 | ||
| 310 | 310 | raise ValueError("Missing the required parameter `list_id` when calling `lists_contacts_by_list_id_and_contact_id_put`") # noqa: E501 | |
| 311 | 311 | # verify the required parameter 'contact_id' is set | |
| 312 | - if ('contact_id' not in params or | ||
| 313 | - params['contact_id'] is None): | ||
| 312 | + if self.api_client.client_side_validation and ('contact_id' not in params or | ||
| 313 | + params['contact_id'] is None): # noqa: E501 | ||
| 314 | 314 | raise ValueError("Missing the required parameter `contact_id` when calling `lists_contacts_by_list_id_and_contact_id_put`") # noqa: E501 | |
| 315 | 315 | # verify the required parameter 'contact' is set | |
| 316 | - if ('contact' not in params or | ||
| 317 | - params['contact'] is None): | ||
| 316 | + if self.api_client.client_side_validation and ('contact' not in params or | ||
| 317 | + params['contact'] is None): # noqa: E501 | ||
| 318 | 318 | raise ValueError("Missing the required parameter `contact` when calling `lists_contacts_by_list_id_and_contact_id_put`") # noqa: E501 | |
| 319 | 319 | ||
| 320 | 320 | collection_formats = {} | |
@@ -420,13 +420,13 @@ def lists_contacts_by_list_id_get_with_http_info(self, list_id, **kwargs): # no | |||
| 420 | 420 | params[key] = val | |
| 421 | 421 | del params['kwargs'] | |
| 422 | 422 | # verify the required parameter 'list_id' is set | |
| 423 | - if ('list_id' not in params or | ||
| 424 | - params['list_id'] is None): | ||
| 423 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 424 | + params['list_id'] is None): # noqa: E501 | ||
| 425 | 425 | raise ValueError("Missing the required parameter `list_id` when calling `lists_contacts_by_list_id_get`") # noqa: E501 | |
| 426 | 426 | ||
| 427 | - if 'page' in params and params['page'] < 1: # noqa: E501 | ||
| 427 | + if self.api_client.client_side_validation and ('page' in params and params['page'] < 1): # noqa: E501 | ||
| 428 | 428 | raise ValueError("Invalid value for parameter `page` when calling `lists_contacts_by_list_id_get`, must be a value greater than or equal to `1`") # noqa: E501 | |
| 429 | - if 'limit' in params and params['limit'] < 1: # noqa: E501 | ||
| 429 | + if self.api_client.client_side_validation and ('limit' in params and params['limit'] < 1): # noqa: E501 | ||
| 430 | 430 | raise ValueError("Invalid value for parameter `limit` when calling `lists_contacts_by_list_id_get`, must be a value greater than or equal to `1`") # noqa: E501 | |
| 431 | 431 | collection_formats = {} | |
| 432 | 432 | ||
@@ -529,12 +529,12 @@ def lists_contacts_by_list_id_post_with_http_info(self, contact, list_id, **kwar | |||
| 529 | 529 | params[key] = val | |
| 530 | 530 | del params['kwargs'] | |
| 531 | 531 | # verify the required parameter 'contact' is set | |
| 532 | - if ('contact' not in params or | ||
| 533 | - params['contact'] is None): | ||
| 532 | + if self.api_client.client_side_validation and ('contact' not in params or | ||
| 533 | + params['contact'] is None): # noqa: E501 | ||
| 534 | 534 | raise ValueError("Missing the required parameter `contact` when calling `lists_contacts_by_list_id_post`") # noqa: E501 | |
| 535 | 535 | # verify the required parameter 'list_id' is set | |
| 536 | - if ('list_id' not in params or | ||
| 537 | - params['list_id'] is None): | ||
| 536 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 537 | + params['list_id'] is None): # noqa: E501 | ||
| 538 | 538 | raise ValueError("Missing the required parameter `list_id` when calling `lists_contacts_by_list_id_post`") # noqa: E501 | |
| 539 | 539 | ||
| 540 | 540 | collection_formats = {} | |
@@ -638,16 +638,16 @@ def lists_copy_contact_put_with_http_info(self, from_list_id, contact_id, to_lis | |||
| 638 | 638 | params[key] = val | |
| 639 | 639 | del params['kwargs'] | |
| 640 | 640 | # verify the required parameter 'from_list_id' is set | |
| 641 | - if ('from_list_id' not in params or | ||
| 642 | - params['from_list_id'] is None): | ||
| 641 | + if self.api_client.client_side_validation and ('from_list_id' not in params or | ||
| 642 | + params['from_list_id'] is None): # noqa: E501 | ||
| 643 | 643 | raise ValueError("Missing the required parameter `from_list_id` when calling `lists_copy_contact_put`") # noqa: E501 | |
| 644 | 644 | # verify the required parameter 'contact_id' is set | |
| 645 | - if ('contact_id' not in params or | ||
| 646 | - params['contact_id'] is None): | ||
| 645 | + if self.api_client.client_side_validation and ('contact_id' not in params or | ||
| 646 | + params['contact_id'] is None): # noqa: E501 | ||
| 647 | 647 | raise ValueError("Missing the required parameter `contact_id` when calling `lists_copy_contact_put`") # noqa: E501 | |
| 648 | 648 | # verify the required parameter 'to_list_id' is set | |
| 649 | - if ('to_list_id' not in params or | ||
| 650 | - params['to_list_id'] is None): | ||
| 649 | + if self.api_client.client_side_validation and ('to_list_id' not in params or | ||
| 650 | + params['to_list_id'] is None): # noqa: E501 | ||
| 651 | 651 | raise ValueError("Missing the required parameter `to_list_id` when calling `lists_copy_contact_put`") # noqa: E501 | |
| 652 | 652 | ||
| 653 | 653 | collection_formats = {} | |
@@ -751,12 +751,12 @@ def lists_remove_opted_out_contacts_by_list_id_and_opt_out_list_id_put_with_http | |||
| 751 | 751 | params[key] = val | |
| 752 | 752 | del params['kwargs'] | |
| 753 | 753 | # verify the required parameter 'list_id' is set | |
| 754 | - if ('list_id' not in params or | ||
| 755 | - params['list_id'] is None): | ||
| 754 | + if self.api_client.client_side_validation and ('list_id' not in params or | ||
| 755 | + params['list_id'] is None): # noqa: E501 | ||
| 756 | 756 | raise ValueError("Missing the required parameter `list_id` when calling `lists_remove_opted_out_contacts_by_list_id_and_opt_out_list_id_put`") # noqa: E501 | |
| 757 | 757 | # verify the required parameter 'opt_out_list_id' is set | |
| 758 | - if ('opt_out_list_id' not in params or | ||
| 759 | - params['opt_out_list_id'] is None): | ||
| 758 | + if self.api_client.client_side_validation and ('opt_out_list_id' not in params or | ||
| 759 | + params['opt_out_list_id'] is None): # noqa: E501 | ||
| 760 | 760 | raise ValueError("Missing the required parameter `opt_out_list_id` when calling `lists_remove_opted_out_contacts_by_list_id_and_opt_out_list_id_put`") # noqa: E501 | |
| 761 | 761 | ||
| 762 | 762 | collection_formats = {} | |
@@ -860,16 +860,16 @@ def lists_transfer_contact_put_with_http_info(self, from_list_id, contact_id, to | |||
| 860 | 860 | params[key] = val | |
| 861 | 861 | del params['kwargs'] | |
| 862 | 862 | # verify the required parameter 'from_list_id' is set | |
| 863 | - if ('from_list_id' not in params or | ||
| 864 | - params['from_list_id'] is None): | ||
| 863 | + if self.api_client.client_side_validation and ('from_list_id' not in params or | ||
| 864 | + params['from_list_id'] is None): # noqa: E501 | ||
| 865 | 865 | raise ValueError("Missing the required parameter `from_list_id` when calling `lists_transfer_contact_put`") # noqa: E501 | |
| 866 | 866 | # verify the required parameter 'contact_id' is set | |
| 867 | - if ('contact_id' not in params or | ||
| 868 | - params['contact_id'] is None): | ||
| 867 | + if self.api_client.client_side_validation and ('contact_id' not in params or | ||
| 868 | + params['contact_id'] is None): # noqa: E501 | ||
| 869 | 869 | raise ValueError("Missing the required parameter `contact_id` when calling `lists_transfer_contact_put`") # noqa: E501 | |
| 870 | 870 | # verify the required parameter 'to_list_id' is set | |
| 871 | - if ('to_list_id' not in params or | ||
| 872 | - params['to_list_id'] is None): | ||
| 871 | + if self.api_client.client_side_validation and ('to_list_id' not in params or | ||
| 872 | + params['to_list_id'] is None): # noqa: E501 | ||
| 873 | 873 | raise ValueError("Missing the required parameter `to_list_id` when calling `lists_transfer_contact_put`") # noqa: E501 | |
| 874 | 874 | ||
| 875 | 875 | collection_formats = {} | |
| Back | FazBrowse Home | New Git URL |
0 commit comments