diff --git a/.gitignore b/.gitignore index 38dee03..6408c8c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ __pycache__/ # Distribution / packaging .Python +env/ build/ develop-eggs/ dist/ diff --git a/ankr/models/ankr_explain_token_price_body.py b/ankr/models/ankr_explain_token_price_body.py index 95a955f..0e009df 100644 --- a/ankr/models/ankr_explain_token_price_body.py +++ b/ankr/models/ankr_explain_token_price_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrExplainTokenPriceBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_account_balance_body.py b/ankr/models/ankr_get_account_balance_body.py index a07a1ac..c580c81 100644 --- a/ankr/models/ankr_get_account_balance_body.py +++ b/ankr/models/ankr_get_account_balance_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetAccountBalanceBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_account_balance_historical_body.py b/ankr/models/ankr_get_account_balance_historical_body.py index 5ec6ce7..9b99149 100644 --- a/ankr/models/ankr_get_account_balance_historical_body.py +++ b/ankr/models/ankr_get_account_balance_historical_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetAccountBalanceHistoricalBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_blockchain_stats_body.py b/ankr/models/ankr_get_blockchain_stats_body.py index 04a8059..4df1c4f 100644 --- a/ankr/models/ankr_get_blockchain_stats_body.py +++ b/ankr/models/ankr_get_blockchain_stats_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetBlockchainStatsBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_blocks_body.py b/ankr/models/ankr_get_blocks_body.py index ec60178..bfb2987 100644 --- a/ankr/models/ankr_get_blocks_body.py +++ b/ankr/models/ankr_get_blocks_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetBlocksBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_currencies_body.py b/ankr/models/ankr_get_currencies_body.py index f0efe5b..28e6c52 100644 --- a/ankr/models/ankr_get_currencies_body.py +++ b/ankr/models/ankr_get_currencies_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetCurrenciesBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_interactions_body.py b/ankr/models/ankr_get_interactions_body.py index 3198259..567163d 100644 --- a/ankr/models/ankr_get_interactions_body.py +++ b/ankr/models/ankr_get_interactions_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetInteractionsBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_internal_transactions_by_block_number_body.py b/ankr/models/ankr_get_internal_transactions_by_block_number_body.py index 5a2e4a2..fe51d98 100644 --- a/ankr/models/ankr_get_internal_transactions_by_block_number_body.py +++ b/ankr/models/ankr_get_internal_transactions_by_block_number_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetInternalTransactionsByBlockNumberBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_internal_transactions_by_parent_hash_body.py b/ankr/models/ankr_get_internal_transactions_by_parent_hash_body.py index 2cce465..f3b9abf 100644 --- a/ankr/models/ankr_get_internal_transactions_by_parent_hash_body.py +++ b/ankr/models/ankr_get_internal_transactions_by_parent_hash_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetInternalTransactionsByParentHashBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_logs_body.py b/ankr/models/ankr_get_logs_body.py index 92f08ed..8c55602 100644 --- a/ankr/models/ankr_get_logs_body.py +++ b/ankr/models/ankr_get_logs_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetLogsBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_nft_holders_body.py b/ankr/models/ankr_get_nft_holders_body.py index 86921c3..19156ff 100644 --- a/ankr/models/ankr_get_nft_holders_body.py +++ b/ankr/models/ankr_get_nft_holders_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetNFTHoldersBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_nft_metadata_body.py b/ankr/models/ankr_get_nft_metadata_body.py index 6955a89..ceb1ba3 100644 --- a/ankr/models/ankr_get_nft_metadata_body.py +++ b/ankr/models/ankr_get_nft_metadata_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetNFTMetadataBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_nft_transfers_body.py b/ankr/models/ankr_get_nft_transfers_body.py index 8c8b720..50609c9 100644 --- a/ankr/models/ankr_get_nft_transfers_body.py +++ b/ankr/models/ankr_get_nft_transfers_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetNftTransfersBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_nfts_by_owner_body.py b/ankr/models/ankr_get_nfts_by_owner_body.py index 0206909..689175e 100644 --- a/ankr/models/ankr_get_nfts_by_owner_body.py +++ b/ankr/models/ankr_get_nfts_by_owner_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetNFTsByOwnerBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_token_holders_body.py b/ankr/models/ankr_get_token_holders_body.py index 3296cf4..d6a86e9 100644 --- a/ankr/models/ankr_get_token_holders_body.py +++ b/ankr/models/ankr_get_token_holders_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTokenHoldersBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_token_holders_count_body.py b/ankr/models/ankr_get_token_holders_count_body.py index a498608..f54d484 100644 --- a/ankr/models/ankr_get_token_holders_count_body.py +++ b/ankr/models/ankr_get_token_holders_count_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTokenHoldersCountBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_token_price_body.py b/ankr/models/ankr_get_token_price_body.py index e3d1a8b..4069a68 100644 --- a/ankr/models/ankr_get_token_price_body.py +++ b/ankr/models/ankr_get_token_price_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTokenPriceBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_token_price_history_body.py b/ankr/models/ankr_get_token_price_history_body.py index e40376e..b4d6f08 100644 --- a/ankr/models/ankr_get_token_price_history_body.py +++ b/ankr/models/ankr_get_token_price_history_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTokenPriceHistoryBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_token_transfers_body.py b/ankr/models/ankr_get_token_transfers_body.py index c33b227..e70286f 100644 --- a/ankr/models/ankr_get_token_transfers_body.py +++ b/ankr/models/ankr_get_token_transfers_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTokenTransfersBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_transactions_by_address_body.py b/ankr/models/ankr_get_transactions_by_address_body.py index 293a4f9..7ed1787 100644 --- a/ankr/models/ankr_get_transactions_by_address_body.py +++ b/ankr/models/ankr_get_transactions_by_address_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTransactionsByAddressBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/ankr_get_transactions_by_hash_body.py b/ankr/models/ankr_get_transactions_by_hash_body.py index e03ad33..964c0a1 100644 --- a/ankr/models/ankr_get_transactions_by_hash_body.py +++ b/ankr/models/ankr_get_transactions_by_hash_body.py @@ -48,7 +48,8 @@ def __init__(self, id=None, jsonrpc=None, method=None, params=None): # noqa: E5 self._method = None self._params = None self.discriminator = None - self.id = id + if id is not None: + self.id = id self.jsonrpc = jsonrpc self.method = method self.params = params @@ -71,8 +72,6 @@ def id(self, id): :param id: The id of this AnkrGetTransactionsByHashBody. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id diff --git a/ankr/models/inline_response200.py b/ankr/models/inline_response200.py index b4c1c0b..5b9ccf8 100644 --- a/ankr/models/inline_response200.py +++ b/ankr/models/inline_response200.py @@ -28,26 +28,54 @@ class InlineResponse200(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse200 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse200. # noqa: E501 + + + :return: The error of this InlineResponse200. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse200. + + + :param error: The error of this InlineResponse200. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse200. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse200. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2001.py b/ankr/models/inline_response2001.py index 9ec9469..c90a458 100644 --- a/ankr/models/inline_response2001.py +++ b/ankr/models/inline_response2001.py @@ -28,26 +28,54 @@ class InlineResponse2001(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2001 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2001. # noqa: E501 + + + :return: The error of this InlineResponse2001. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2001. + + + :param error: The error of this InlineResponse2001. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2001. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2001. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20010.py b/ankr/models/inline_response20010.py index 40edbf3..81c33b4 100644 --- a/ankr/models/inline_response20010.py +++ b/ankr/models/inline_response20010.py @@ -28,26 +28,54 @@ class InlineResponse20010(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20010 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20010. # noqa: E501 + + + :return: The error of this InlineResponse20010. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20010. + + + :param error: The error of this InlineResponse20010. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20010. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20010. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20011.py b/ankr/models/inline_response20011.py index a8b65e9..8b7fef1 100644 --- a/ankr/models/inline_response20011.py +++ b/ankr/models/inline_response20011.py @@ -28,26 +28,54 @@ class InlineResponse20011(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20011 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20011. # noqa: E501 + + + :return: The error of this InlineResponse20011. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20011. + + + :param error: The error of this InlineResponse20011. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20011. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20011. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20012.py b/ankr/models/inline_response20012.py index 7761ce8..ecb7409 100644 --- a/ankr/models/inline_response20012.py +++ b/ankr/models/inline_response20012.py @@ -28,26 +28,54 @@ class InlineResponse20012(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20012 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20012. # noqa: E501 + + + :return: The error of this InlineResponse20012. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20012. + + + :param error: The error of this InlineResponse20012. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20012. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20012. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20013.py b/ankr/models/inline_response20013.py index c130f1f..ab57ac3 100644 --- a/ankr/models/inline_response20013.py +++ b/ankr/models/inline_response20013.py @@ -28,26 +28,54 @@ class InlineResponse20013(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20013 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20013. # noqa: E501 + + + :return: The error of this InlineResponse20013. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20013. + + + :param error: The error of this InlineResponse20013. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20013. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20013. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20014.py b/ankr/models/inline_response20014.py index b99b5f9..f3f0d39 100644 --- a/ankr/models/inline_response20014.py +++ b/ankr/models/inline_response20014.py @@ -28,26 +28,54 @@ class InlineResponse20014(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20014 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20014. # noqa: E501 + + + :return: The error of this InlineResponse20014. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20014. + + + :param error: The error of this InlineResponse20014. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20014. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20014. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20015.py b/ankr/models/inline_response20015.py index 7ec2d75..2ebd9e8 100644 --- a/ankr/models/inline_response20015.py +++ b/ankr/models/inline_response20015.py @@ -28,26 +28,54 @@ class InlineResponse20015(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20015 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20015. # noqa: E501 + + + :return: The error of this InlineResponse20015. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20015. + + + :param error: The error of this InlineResponse20015. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20015. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20015. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20016.py b/ankr/models/inline_response20016.py index 9a0f399..a140e17 100644 --- a/ankr/models/inline_response20016.py +++ b/ankr/models/inline_response20016.py @@ -28,26 +28,54 @@ class InlineResponse20016(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20016 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20016. # noqa: E501 + + + :return: The error of this InlineResponse20016. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20016. + + + :param error: The error of this InlineResponse20016. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20016. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20016. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20017.py b/ankr/models/inline_response20017.py index 80e68f0..05e2cfc 100644 --- a/ankr/models/inline_response20017.py +++ b/ankr/models/inline_response20017.py @@ -28,26 +28,54 @@ class InlineResponse20017(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20017 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20017. # noqa: E501 + + + :return: The error of this InlineResponse20017. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20017. + + + :param error: The error of this InlineResponse20017. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20017. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20017. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20018.py b/ankr/models/inline_response20018.py index d02007a..7b90f6e 100644 --- a/ankr/models/inline_response20018.py +++ b/ankr/models/inline_response20018.py @@ -28,26 +28,54 @@ class InlineResponse20018(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20018 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20018. # noqa: E501 + + + :return: The error of this InlineResponse20018. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20018. + + + :param error: The error of this InlineResponse20018. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20018. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20018. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response20019.py b/ankr/models/inline_response20019.py index 3e0a1b5..f2b4cfc 100644 --- a/ankr/models/inline_response20019.py +++ b/ankr/models/inline_response20019.py @@ -28,26 +28,54 @@ class InlineResponse20019(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse20019 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse20019. # noqa: E501 + + + :return: The error of this InlineResponse20019. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse20019. + + + :param error: The error of this InlineResponse20019. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse20019. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse20019. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2002.py b/ankr/models/inline_response2002.py index 0afc6cc..ddccff3 100644 --- a/ankr/models/inline_response2002.py +++ b/ankr/models/inline_response2002.py @@ -28,26 +28,54 @@ class InlineResponse2002(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2002 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2002. # noqa: E501 + + + :return: The error of this InlineResponse2002. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2002. + + + :param error: The error of this InlineResponse2002. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2002. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2002. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2003.py b/ankr/models/inline_response2003.py index 6978eb1..e1622c8 100644 --- a/ankr/models/inline_response2003.py +++ b/ankr/models/inline_response2003.py @@ -28,26 +28,54 @@ class InlineResponse2003(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2003 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2003. # noqa: E501 + + + :return: The error of this InlineResponse2003. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2003. + + + :param error: The error of this InlineResponse2003. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2003. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2003. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2004.py b/ankr/models/inline_response2004.py index 5708af2..e2b9046 100644 --- a/ankr/models/inline_response2004.py +++ b/ankr/models/inline_response2004.py @@ -28,26 +28,54 @@ class InlineResponse2004(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2004 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2004. # noqa: E501 + + + :return: The error of this InlineResponse2004. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2004. + + + :param error: The error of this InlineResponse2004. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2004. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2004. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2005.py b/ankr/models/inline_response2005.py index c38c289..1351b06 100644 --- a/ankr/models/inline_response2005.py +++ b/ankr/models/inline_response2005.py @@ -28,26 +28,54 @@ class InlineResponse2005(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2005 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2005. # noqa: E501 + + + :return: The error of this InlineResponse2005. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2005. + + + :param error: The error of this InlineResponse2005. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2005. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2005. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2006.py b/ankr/models/inline_response2006.py index c4aa6d6..52b72fa 100644 --- a/ankr/models/inline_response2006.py +++ b/ankr/models/inline_response2006.py @@ -28,26 +28,54 @@ class InlineResponse2006(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2006 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2006. # noqa: E501 + + + :return: The error of this InlineResponse2006. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2006. + + + :param error: The error of this InlineResponse2006. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2006. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2006. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2007.py b/ankr/models/inline_response2007.py index 15da341..bc210bd 100644 --- a/ankr/models/inline_response2007.py +++ b/ankr/models/inline_response2007.py @@ -28,26 +28,54 @@ class InlineResponse2007(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2007 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2007. # noqa: E501 + + + :return: The error of this InlineResponse2007. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2007. + + + :param error: The error of this InlineResponse2007. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2007. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2007. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2008.py b/ankr/models/inline_response2008.py index 8857b5a..690a464 100644 --- a/ankr/models/inline_response2008.py +++ b/ankr/models/inline_response2008.py @@ -28,26 +28,54 @@ class InlineResponse2008(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2008 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2008. # noqa: E501 + + + :return: The error of this InlineResponse2008. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2008. + + + :param error: The error of this InlineResponse2008. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2008. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2008. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/ankr/models/inline_response2009.py b/ankr/models/inline_response2009.py index 4ddf54a..1787796 100644 --- a/ankr/models/inline_response2009.py +++ b/ankr/models/inline_response2009.py @@ -28,26 +28,54 @@ class InlineResponse2009(object): and the value is json key in definition. """ swagger_types = { + 'error': 'object', 'id': 'int', 'jsonrpc': 'str', 'result': 'object' } attribute_map = { + 'error': 'error', 'id': 'id', 'jsonrpc': 'jsonrpc', 'result': 'result' } - def __init__(self, id=None, jsonrpc=None, result=None): # noqa: E501 + def __init__(self, error=None, id=None, jsonrpc=None, result=None): # noqa: E501 """InlineResponse2009 - a model defined in Swagger""" # noqa: E501 + self._error = None self._id = None self._jsonrpc = None self._result = None self.discriminator = None - self.id = id + if error is not None: + self.error = error + if id is not None: + self.id = id self.jsonrpc = jsonrpc - self.result = result + if result is not None: + self.result = result + + @property + def error(self): + """Gets the error of this InlineResponse2009. # noqa: E501 + + + :return: The error of this InlineResponse2009. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2009. + + + :param error: The error of this InlineResponse2009. # noqa: E501 + :type: object + """ + + self._error = error @property def id(self): @@ -67,8 +95,6 @@ def id(self, id): :param id: The id of this InlineResponse2009. # noqa: E501 :type: int """ - if id is None: - raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 self._id = id @@ -121,8 +147,6 @@ def result(self, result): :param result: The result of this InlineResponse2009. # noqa: E501 :type: object """ - if result is None: - raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 self._result = result diff --git a/docs/AnkrExplainTokenPriceBody.md b/docs/AnkrExplainTokenPriceBody.md index f1d10de..ca8559f 100644 --- a/docs/AnkrExplainTokenPriceBody.md +++ b/docs/AnkrExplainTokenPriceBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrExplainTokenPriceParams**](AnkrExplainTokenPriceParams.md) | | diff --git a/docs/AnkrGetAccountBalanceBody.md b/docs/AnkrGetAccountBalanceBody.md index 9fc95a8..8e6cc6e 100644 --- a/docs/AnkrGetAccountBalanceBody.md +++ b/docs/AnkrGetAccountBalanceBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetAccountBalanceParams**](AnkrGetAccountBalanceParams.md) | | diff --git a/docs/AnkrGetAccountBalanceHistoricalBody.md b/docs/AnkrGetAccountBalanceHistoricalBody.md index f5b4d5d..a418d87 100644 --- a/docs/AnkrGetAccountBalanceHistoricalBody.md +++ b/docs/AnkrGetAccountBalanceHistoricalBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetAccountBalanceHistoricalParams**](AnkrGetAccountBalanceHistoricalParams.md) | | diff --git a/docs/AnkrGetBlockchainStatsBody.md b/docs/AnkrGetBlockchainStatsBody.md index 2225274..1aa942f 100644 --- a/docs/AnkrGetBlockchainStatsBody.md +++ b/docs/AnkrGetBlockchainStatsBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetBlockchainStatsParams**](AnkrGetBlockchainStatsParams.md) | | diff --git a/docs/AnkrGetBlocksBody.md b/docs/AnkrGetBlocksBody.md index 6f4978d..fe47518 100644 --- a/docs/AnkrGetBlocksBody.md +++ b/docs/AnkrGetBlocksBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetBlocksParams**](AnkrGetBlocksParams.md) | | diff --git a/docs/AnkrGetCurrenciesBody.md b/docs/AnkrGetCurrenciesBody.md index d3aed7b..fdfe2e2 100644 --- a/docs/AnkrGetCurrenciesBody.md +++ b/docs/AnkrGetCurrenciesBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetCurrenciesParams**](AnkrGetCurrenciesParams.md) | | diff --git a/docs/AnkrGetInteractionsBody.md b/docs/AnkrGetInteractionsBody.md index 7aed133..bfd6717 100644 --- a/docs/AnkrGetInteractionsBody.md +++ b/docs/AnkrGetInteractionsBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetInteractionsParams**](AnkrGetInteractionsParams.md) | | diff --git a/docs/AnkrGetInternalTransactionsByBlockNumberBody.md b/docs/AnkrGetInternalTransactionsByBlockNumberBody.md index bf382bc..3c475c1 100644 --- a/docs/AnkrGetInternalTransactionsByBlockNumberBody.md +++ b/docs/AnkrGetInternalTransactionsByBlockNumberBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetInternalTransactionsByBlockNumberParams**](AnkrGetInternalTransactionsByBlockNumberParams.md) | | diff --git a/docs/AnkrGetInternalTransactionsByParentHashBody.md b/docs/AnkrGetInternalTransactionsByParentHashBody.md index e3b4fb0..6b6f2f2 100644 --- a/docs/AnkrGetInternalTransactionsByParentHashBody.md +++ b/docs/AnkrGetInternalTransactionsByParentHashBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetInternalTransactionsByParentHashParams**](AnkrGetInternalTransactionsByParentHashParams.md) | | diff --git a/docs/AnkrGetLogsBody.md b/docs/AnkrGetLogsBody.md index 7578835..0ca447d 100644 --- a/docs/AnkrGetLogsBody.md +++ b/docs/AnkrGetLogsBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetLogsParams**](AnkrGetLogsParams.md) | | diff --git a/docs/AnkrGetNFTHoldersBody.md b/docs/AnkrGetNFTHoldersBody.md index 4b891c0..0b633c8 100644 --- a/docs/AnkrGetNFTHoldersBody.md +++ b/docs/AnkrGetNFTHoldersBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetNFTHoldersParams**](AnkrGetNFTHoldersParams.md) | | diff --git a/docs/AnkrGetNFTMetadataBody.md b/docs/AnkrGetNFTMetadataBody.md index f6199ac..38f3873 100644 --- a/docs/AnkrGetNFTMetadataBody.md +++ b/docs/AnkrGetNFTMetadataBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetNFTMetadataParams**](AnkrGetNFTMetadataParams.md) | | diff --git a/docs/AnkrGetNFTsByOwnerBody.md b/docs/AnkrGetNFTsByOwnerBody.md index cde8272..2bf2229 100644 --- a/docs/AnkrGetNFTsByOwnerBody.md +++ b/docs/AnkrGetNFTsByOwnerBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetNFTsByOwnerParams**](AnkrGetNFTsByOwnerParams.md) | | diff --git a/docs/AnkrGetNftTransfersBody.md b/docs/AnkrGetNftTransfersBody.md index 33714d8..601bb0d 100644 --- a/docs/AnkrGetNftTransfersBody.md +++ b/docs/AnkrGetNftTransfersBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetNftTransfersParams**](AnkrGetNftTransfersParams.md) | | diff --git a/docs/AnkrGetTokenHoldersBody.md b/docs/AnkrGetTokenHoldersBody.md index 64ab24a..b27e9e0 100644 --- a/docs/AnkrGetTokenHoldersBody.md +++ b/docs/AnkrGetTokenHoldersBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTokenHoldersParams**](AnkrGetTokenHoldersParams.md) | | diff --git a/docs/AnkrGetTokenHoldersCountBody.md b/docs/AnkrGetTokenHoldersCountBody.md index 7b8da3f..92785bc 100644 --- a/docs/AnkrGetTokenHoldersCountBody.md +++ b/docs/AnkrGetTokenHoldersCountBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTokenHoldersParams**](AnkrGetTokenHoldersParams.md) | | diff --git a/docs/AnkrGetTokenPriceBody.md b/docs/AnkrGetTokenPriceBody.md index 938f25e..72d1bbb 100644 --- a/docs/AnkrGetTokenPriceBody.md +++ b/docs/AnkrGetTokenPriceBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTokenPriceParams**](AnkrGetTokenPriceParams.md) | | diff --git a/docs/AnkrGetTokenPriceHistoryBody.md b/docs/AnkrGetTokenPriceHistoryBody.md index e1d64a1..5cd2422 100644 --- a/docs/AnkrGetTokenPriceHistoryBody.md +++ b/docs/AnkrGetTokenPriceHistoryBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTokenPriceHistoryParams**](AnkrGetTokenPriceHistoryParams.md) | | diff --git a/docs/AnkrGetTokenTransfersBody.md b/docs/AnkrGetTokenTransfersBody.md index 2bca225..f147088 100644 --- a/docs/AnkrGetTokenTransfersBody.md +++ b/docs/AnkrGetTokenTransfersBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetNftTransfersParams**](AnkrGetNftTransfersParams.md) | | diff --git a/docs/AnkrGetTransactionsByAddressBody.md b/docs/AnkrGetTransactionsByAddressBody.md index 5080381..98481d3 100644 --- a/docs/AnkrGetTransactionsByAddressBody.md +++ b/docs/AnkrGetTransactionsByAddressBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTransactionsByAddressParams**](AnkrGetTransactionsByAddressParams.md) | | diff --git a/docs/AnkrGetTransactionsByHashBody.md b/docs/AnkrGetTransactionsByHashBody.md index 95be7a2..d377536 100644 --- a/docs/AnkrGetTransactionsByHashBody.md +++ b/docs/AnkrGetTransactionsByHashBody.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**id** | **int** | | [optional] **jsonrpc** | **str** | | **method** | **str** | | **params** | [**AnkrGetTransactionsByHashParams**](AnkrGetTransactionsByHashParams.md) | | diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md index 95f5b70..8c5c342 100644 --- a/docs/InlineResponse200.md +++ b/docs/InlineResponse200.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md index 72386ec..203917b 100644 --- a/docs/InlineResponse2001.md +++ b/docs/InlineResponse2001.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md index c0a3d51..d607533 100644 --- a/docs/InlineResponse20010.md +++ b/docs/InlineResponse20010.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md index 44ed94f..e08aab6 100644 --- a/docs/InlineResponse20011.md +++ b/docs/InlineResponse20011.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md index 74d9bed..aa7d35e 100644 --- a/docs/InlineResponse20012.md +++ b/docs/InlineResponse20012.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md index f5f1180..b56323e 100644 --- a/docs/InlineResponse20013.md +++ b/docs/InlineResponse20013.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20014.md b/docs/InlineResponse20014.md index 3fe35da..a2f45e7 100644 --- a/docs/InlineResponse20014.md +++ b/docs/InlineResponse20014.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md index ffd2308..1218fc2 100644 --- a/docs/InlineResponse20015.md +++ b/docs/InlineResponse20015.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20016.md b/docs/InlineResponse20016.md index 3c49bd3..f2601b7 100644 --- a/docs/InlineResponse20016.md +++ b/docs/InlineResponse20016.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20017.md b/docs/InlineResponse20017.md index a86dfe7..cb3bb3f 100644 --- a/docs/InlineResponse20017.md +++ b/docs/InlineResponse20017.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20018.md b/docs/InlineResponse20018.md index 992f51f..a9d3934 100644 --- a/docs/InlineResponse20018.md +++ b/docs/InlineResponse20018.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse20019.md b/docs/InlineResponse20019.md index 179568b..820c7b7 100644 --- a/docs/InlineResponse20019.md +++ b/docs/InlineResponse20019.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md index 755f220..9e9fadf 100644 --- a/docs/InlineResponse2002.md +++ b/docs/InlineResponse2002.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 0437032..e081a18 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index cda4010..2c068f7 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index 7c6565c..7544b43 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md index 26fb244..7ac471a 100644 --- a/docs/InlineResponse2006.md +++ b/docs/InlineResponse2006.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index b347fe4..8a131c6 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index f7c1c7e..1ca9e01 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md index 9fc9d20..bbeb2ff 100644 --- a/docs/InlineResponse2009.md +++ b/docs/InlineResponse2009.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | +**error** | **object** | | [optional] +**id** | **int** | | [optional] **jsonrpc** | **str** | | -**result** | **object** | Result of the query. | +**result** | **object** | Result of the query. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/temp.py b/temp.py new file mode 100644 index 0000000..deb5725 --- /dev/null +++ b/temp.py @@ -0,0 +1,32 @@ +import ankr + +if __name__ == "__main__": + # Example usage when running the script + + # Assuming you have instantiated AnkrGetNFTsByOwnerParams + params = ankr.AnkrGetNFTsByOwnerParams( + blockchain="eth", + wallet_address="0x0E11A192d574b342C51be9e306694C41547185DD", + filter=[ + {"0x700b4b9f39bb1faf5d0d16a20488f2733550bff4": []}, + {"0xd8682bfa6918b0174f287b888e765b9a1b4dc9c3": ["8937"]}, + ], + ) + + # Assuming you have instantiated AnkrGetNFTsByOwnerBody and set its attributes + body = ankr.AnkrGetNFTsByOwnerBody( + id=1, + jsonrpc="2.0", + method="ankr_getNFTsByOwner", + params=params + ) + + configuration = ankr.Configuration() + configuration.api_key = "API_KEY" + + nftAPI = ankr.api.NFTAPIApi(api_client=ankr.ApiClient(configuration=configuration)) + + # Call the function + print(nftAPI.ankr_get_nfts_by_owner_post(body=body)) + +