crypticorn 1.0.2rc3__py3-none-any.whl → 2.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crypticorn/__init__.py +3 -3
- crypticorn/auth/__init__.py +2 -0
- crypticorn/auth/client/__init__.py +112 -0
- crypticorn/auth/client/api/__init__.py +8 -0
- crypticorn/auth/client/api/admin_api.py +522 -0
- crypticorn/auth/client/api/auth_api.py +2089 -0
- crypticorn/auth/client/api/service_api.py +309 -0
- crypticorn/auth/client/api/user_api.py +2540 -0
- crypticorn/auth/client/api/wallet_api.py +1698 -0
- crypticorn/auth/client/api_client.py +758 -0
- crypticorn/auth/client/api_response.py +20 -0
- crypticorn/auth/client/configuration.py +584 -0
- crypticorn/auth/client/exceptions.py +220 -0
- crypticorn/auth/client/models/__init__.py +91 -0
- crypticorn/auth/client/models/add_wallet200_response.py +86 -0
- crypticorn/auth/client/models/add_wallet_request.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response.py +107 -0
- crypticorn/auth/client/models/authorize_user200_response_auth.py +101 -0
- crypticorn/auth/client/models/authorize_user_request.py +96 -0
- crypticorn/auth/client/models/create_user_request.py +114 -0
- crypticorn/auth/client/models/list_wallets200_response.py +137 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +115 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +168 -0
- crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +191 -0
- crypticorn/auth/client/models/list_wallets200_response_data_inner.py +102 -0
- crypticorn/auth/client/models/list_wallets200_response_user_value.py +118 -0
- crypticorn/auth/client/models/logout_default_response.py +108 -0
- crypticorn/auth/client/models/logout_default_response_issues_inner.py +83 -0
- crypticorn/auth/client/models/refresh_token_info200_response.py +97 -0
- crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +105 -0
- crypticorn/auth/client/models/resend_verification_email_request.py +84 -0
- crypticorn/auth/client/models/revoke_user_tokens_request.py +83 -0
- crypticorn/auth/client/models/rotate_tokens200_response.py +110 -0
- crypticorn/auth/client/models/token_info200_response.py +97 -0
- crypticorn/auth/client/models/unlink_wallet_request.py +83 -0
- crypticorn/auth/client/models/update_user_request.py +93 -0
- crypticorn/auth/client/models/user_reset_password_request.py +87 -0
- crypticorn/auth/client/models/user_set_password_request.py +89 -0
- crypticorn/auth/client/models/verify200_response.py +110 -0
- crypticorn/auth/client/models/verify_email200_response.py +107 -0
- crypticorn/auth/client/models/verify_email200_response_auth.py +101 -0
- crypticorn/auth/client/models/verify_email200_response_auth_auth.py +110 -0
- crypticorn/auth/client/models/verify_email_request.py +83 -0
- crypticorn/auth/client/models/verify_wallet_request.py +91 -0
- crypticorn/auth/client/models/wallet_verified200_response.py +83 -0
- crypticorn/auth/client/models/whoami200_response.py +104 -0
- crypticorn/auth/client/rest.py +195 -0
- crypticorn/auth/main.py +45 -0
- crypticorn/client.py +46 -8
- crypticorn/common/__init__.py +5 -0
- crypticorn/common/auth.py +43 -0
- crypticorn/common/auth_client.py +163 -0
- crypticorn/common/errors.py +432 -0
- crypticorn/common/scopes.py +29 -0
- crypticorn/common/urls.py +25 -0
- crypticorn/hive/__init__.py +2 -1
- crypticorn/hive/client/__init__.py +57 -0
- crypticorn/hive/client/api/__init__.py +6 -0
- crypticorn/hive/client/api/data_api.py +594 -0
- crypticorn/hive/client/api/models_api.py +1680 -0
- crypticorn/hive/client/api/status_api.py +263 -0
- crypticorn/hive/client/api_client.py +758 -0
- crypticorn/hive/client/api_response.py +20 -0
- crypticorn/hive/client/configuration.py +612 -0
- crypticorn/hive/client/exceptions.py +220 -0
- crypticorn/hive/client/models/__init__.py +38 -0
- crypticorn/hive/client/models/coins.py +44 -0
- crypticorn/hive/client/models/data_download_response.py +113 -0
- crypticorn/hive/client/models/data_info.py +115 -0
- crypticorn/hive/client/models/data_value_value_value_inner.py +154 -0
- crypticorn/hive/client/models/data_version.py +35 -0
- crypticorn/hive/client/models/download_links.py +91 -0
- crypticorn/hive/client/models/evaluation.py +86 -0
- crypticorn/hive/client/models/evaluation_response.py +85 -0
- crypticorn/hive/client/models/feature_size.py +36 -0
- crypticorn/hive/client/models/http_validation_error.py +99 -0
- crypticorn/hive/client/models/model.py +133 -0
- crypticorn/hive/client/models/model_create.py +93 -0
- crypticorn/hive/client/models/model_status.py +35 -0
- crypticorn/hive/client/models/model_update.py +83 -0
- crypticorn/hive/client/models/target.py +36 -0
- crypticorn/hive/client/models/target_type.py +35 -0
- crypticorn/hive/client/models/validation_error.py +105 -0
- crypticorn/hive/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/hive/client/py.typed +0 -0
- crypticorn/hive/client/rest.py +195 -0
- crypticorn/hive/main.py +27 -100
- crypticorn/klines/client/__init__.py +21 -7
- crypticorn/klines/client/api/__init__.py +0 -1
- crypticorn/klines/client/api/funding_rates_api.py +90 -79
- crypticorn/klines/client/api/health_check_api.py +29 -45
- crypticorn/klines/client/api/ohlcv_data_api.py +104 -87
- crypticorn/klines/client/api/symbols_api.py +36 -54
- crypticorn/klines/client/api/udf_api.py +228 -352
- crypticorn/klines/client/api_client.py +106 -148
- crypticorn/klines/client/api_response.py +2 -3
- crypticorn/klines/client/configuration.py +64 -50
- crypticorn/klines/client/exceptions.py +20 -16
- crypticorn/klines/client/models/__init__.py +21 -7
- crypticorn/klines/client/models/base_response_health_check_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_funding_rate_response.py +21 -15
- crypticorn/klines/client/models/base_response_list_str.py +16 -14
- crypticorn/klines/client/models/base_response_ohlcv_response.py +21 -15
- crypticorn/klines/client/models/error_response.py +23 -15
- crypticorn/klines/client/models/exchange.py +11 -11
- crypticorn/klines/client/models/funding_rate_response.py +11 -11
- crypticorn/klines/client/models/health_check_response.py +14 -12
- crypticorn/klines/client/models/history_error_response.py +11 -11
- crypticorn/klines/client/models/history_no_data_response.py +16 -16
- crypticorn/klines/client/models/history_success_response.py +16 -16
- crypticorn/klines/client/models/http_validation_error.py +14 -10
- crypticorn/klines/client/models/market.py +2 -4
- crypticorn/klines/client/models/ohlcv_response.py +22 -15
- crypticorn/klines/client/models/resolution.py +5 -7
- crypticorn/klines/client/models/response_get_history_udf_history_get.py +71 -22
- crypticorn/klines/client/models/search_symbol_response.py +22 -15
- crypticorn/klines/client/models/sort_direction.py +2 -4
- crypticorn/klines/client/models/symbol_group_response.py +5 -9
- crypticorn/klines/client/models/symbol_info_response.py +40 -24
- crypticorn/klines/client/models/symbol_type.py +5 -10
- crypticorn/klines/client/models/timeframe.py +5 -7
- crypticorn/klines/client/models/udf_config_response.py +60 -21
- crypticorn/klines/client/models/validation_error.py +19 -13
- crypticorn/klines/client/models/validation_error_loc_inner.py +32 -11
- crypticorn/klines/client/rest.py +30 -41
- crypticorn/klines/main.py +52 -15
- crypticorn/pay/__init__.py +2 -0
- crypticorn/pay/client/__init__.py +52 -0
- crypticorn/pay/client/api/__init__.py +7 -0
- crypticorn/pay/client/api/now_payments_api.py +813 -0
- crypticorn/pay/client/api/payments_api.py +799 -0
- crypticorn/pay/client/api/products_api.py +891 -0
- crypticorn/pay/client/api/status_api.py +260 -0
- crypticorn/pay/client/api_client.py +758 -0
- crypticorn/pay/client/api_response.py +20 -0
- crypticorn/pay/client/configuration.py +612 -0
- crypticorn/pay/client/exceptions.py +220 -0
- crypticorn/pay/client/models/__init__.py +32 -0
- crypticorn/pay/client/models/api_status_res.py +83 -0
- crypticorn/pay/client/models/combined_payment_history.py +101 -0
- crypticorn/pay/client/models/create_invoice_req.py +188 -0
- crypticorn/pay/client/models/create_invoice_res.py +188 -0
- crypticorn/pay/client/models/currency.py +165 -0
- crypticorn/pay/client/models/estimate_price_req.py +91 -0
- crypticorn/pay/client/models/estimate_price_res.py +102 -0
- crypticorn/pay/client/models/get_currencies_res.py +99 -0
- crypticorn/pay/client/models/get_payment_status_res.py +222 -0
- crypticorn/pay/client/models/get_payments_list_res.py +109 -0
- crypticorn/pay/client/models/http_validation_error.py +99 -0
- crypticorn/pay/client/models/min_amount_req.py +124 -0
- crypticorn/pay/client/models/min_amount_res.py +105 -0
- crypticorn/pay/client/models/now_api_status_res.py +83 -0
- crypticorn/pay/client/models/now_create_invoice_req.py +188 -0
- crypticorn/pay/client/models/now_create_invoice_res.py +188 -0
- crypticorn/pay/client/models/now_fee_structure.py +104 -0
- crypticorn/pay/client/models/now_payment_model.py +124 -0
- crypticorn/pay/client/models/now_payment_status.py +42 -0
- crypticorn/pay/client/models/now_webhook_payload.py +181 -0
- crypticorn/pay/client/models/payment.py +231 -0
- crypticorn/pay/client/models/payment_status.py +40 -0
- crypticorn/pay/client/models/product.py +87 -0
- crypticorn/pay/client/models/product_model.py +119 -0
- crypticorn/pay/client/models/product_subs_model.py +108 -0
- crypticorn/pay/client/models/services.py +34 -0
- crypticorn/pay/client/models/unified_payment_model.py +112 -0
- crypticorn/pay/client/models/validation_error.py +105 -0
- crypticorn/pay/client/models/validation_error_loc_inner.py +159 -0
- crypticorn/pay/client/py.typed +0 -0
- crypticorn/pay/client/rest.py +195 -0
- crypticorn/pay/main.py +35 -0
- crypticorn/trade/client/__init__.py +9 -4
- crypticorn/trade/client/api/__init__.py +0 -1
- crypticorn/trade/client/api/api_keys_api.py +203 -304
- crypticorn/trade/client/api/bots_api.py +177 -250
- crypticorn/trade/client/api/exchanges_api.py +38 -57
- crypticorn/trade/client/api/futures_trading_panel_api.py +223 -321
- crypticorn/trade/client/api/notifications_api.py +247 -364
- crypticorn/trade/client/api/orders_api.py +44 -63
- crypticorn/trade/client/api/status_api.py +35 -53
- crypticorn/trade/client/api/strategies_api.py +852 -64
- crypticorn/trade/client/api/trading_actions_api.py +126 -203
- crypticorn/trade/client/api_client.py +115 -154
- crypticorn/trade/client/api_response.py +2 -3
- crypticorn/trade/client/configuration.py +128 -90
- crypticorn/trade/client/exceptions.py +21 -17
- crypticorn/trade/client/models/__init__.py +9 -4
- crypticorn/trade/client/models/action_model.py +114 -50
- crypticorn/trade/client/models/api_error_identifier.py +60 -51
- crypticorn/trade/client/models/api_error_level.py +37 -0
- crypticorn/trade/client/models/api_error_type.py +37 -0
- crypticorn/trade/client/models/api_key_model.py +49 -28
- crypticorn/trade/client/models/bot_model.py +76 -31
- crypticorn/trade/client/models/bot_status.py +37 -0
- crypticorn/trade/client/models/exchange.py +3 -5
- crypticorn/trade/client/models/execution_ids.py +14 -14
- crypticorn/trade/client/models/futures_balance.py +39 -23
- crypticorn/trade/client/models/futures_trading_action.py +98 -46
- crypticorn/trade/client/models/http_validation_error.py +15 -11
- crypticorn/trade/client/models/margin_mode.py +3 -5
- crypticorn/trade/client/models/market_type.py +3 -5
- crypticorn/trade/client/models/notification_model.py +60 -27
- crypticorn/trade/client/models/notification_type.py +4 -6
- crypticorn/trade/client/models/order_model.py +125 -65
- crypticorn/trade/client/models/order_status.py +6 -8
- crypticorn/trade/client/models/post_futures_action.py +16 -12
- crypticorn/trade/client/models/strategy_exchange_info.py +11 -12
- crypticorn/trade/client/models/strategy_model.py +66 -27
- crypticorn/trade/client/models/strategy_model_input.py +160 -0
- crypticorn/trade/client/models/strategy_model_output.py +160 -0
- crypticorn/trade/client/models/tpsl.py +35 -21
- crypticorn/trade/client/models/trading_action_type.py +5 -7
- crypticorn/trade/client/models/update_notification.py +17 -13
- crypticorn/trade/client/models/validation_error.py +20 -14
- crypticorn/trade/client/models/validation_error_loc_inner.py +33 -12
- crypticorn/trade/client/rest.py +108 -170
- crypticorn/trade/main.py +26 -19
- crypticorn-2.0.0.dist-info/METADATA +74 -0
- crypticorn-2.0.0.dist-info/RECORD +226 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/WHEEL +1 -1
- crypticorn/hive/requirements.txt +0 -4
- crypticorn/hive/utils.py +0 -109
- crypticorn/klines/requirements.txt +0 -4
- crypticorn/klines/test/test_base_response_health_check_response.py +0 -56
- crypticorn/klines/test/test_base_response_list_funding_rate_response.py +0 -59
- crypticorn/klines/test/test_base_response_list_str.py +0 -56
- crypticorn/klines/test/test_base_response_ohlcv_response.py +0 -72
- crypticorn/klines/test/test_error_response.py +0 -57
- crypticorn/klines/test/test_exchange.py +0 -56
- crypticorn/klines/test/test_funding_rate_response.py +0 -56
- crypticorn/klines/test/test_funding_rates_api.py +0 -38
- crypticorn/klines/test/test_health_check_api.py +0 -38
- crypticorn/klines/test/test_health_check_response.py +0 -52
- crypticorn/klines/test/test_history_error_response.py +0 -53
- crypticorn/klines/test/test_history_no_data_response.py +0 -69
- crypticorn/klines/test/test_history_success_response.py +0 -87
- crypticorn/klines/test/test_http_validation_error.py +0 -58
- crypticorn/klines/test/test_market.py +0 -33
- crypticorn/klines/test/test_ohlcv_data_api.py +0 -38
- crypticorn/klines/test/test_ohlcv_response.py +0 -86
- crypticorn/klines/test/test_resolution.py +0 -33
- crypticorn/klines/test/test_response_get_history_udf_history_get.py +0 -89
- crypticorn/klines/test/test_search_symbol_response.py +0 -62
- crypticorn/klines/test/test_sort_direction.py +0 -33
- crypticorn/klines/test/test_symbol_group_response.py +0 -53
- crypticorn/klines/test/test_symbol_info_response.py +0 -84
- crypticorn/klines/test/test_symbol_type.py +0 -54
- crypticorn/klines/test/test_symbols_api.py +0 -38
- crypticorn/klines/test/test_timeframe.py +0 -33
- crypticorn/klines/test/test_udf_api.py +0 -80
- crypticorn/klines/test/test_udf_config_response.py +0 -95
- crypticorn/klines/test/test_validation_error.py +0 -60
- crypticorn/klines/test/test_validation_error_loc_inner.py +0 -50
- crypticorn/trade/requirements.txt +0 -4
- crypticorn-1.0.2rc3.dist-info/LICENSE.md +0 -19
- crypticorn-1.0.2rc3.dist-info/METADATA +0 -47
- crypticorn-1.0.2rc3.dist-info/RECORD +0 -128
- /crypticorn/{klines/test/__init__.py → auth/client/py.typed} +0 -0
- {crypticorn-1.0.2rc3.dist-info → crypticorn-2.0.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,168 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import pprint
|
17
|
+
import re # noqa: F401
|
18
|
+
import json
|
19
|
+
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
22
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner_wallet_vesting_wallets_inner import (
|
23
|
+
ListWallets200ResponseBalancesInnerWalletVestingWalletsInner,
|
24
|
+
)
|
25
|
+
from typing import Optional, Set
|
26
|
+
from typing_extensions import Self
|
27
|
+
|
28
|
+
|
29
|
+
class ListWallets200ResponseBalancesInnerWallet(BaseModel):
|
30
|
+
"""
|
31
|
+
ListWallets200ResponseBalancesInnerWallet
|
32
|
+
""" # noqa: E501
|
33
|
+
|
34
|
+
id: Optional[Any] = Field(default=None, alias="_id")
|
35
|
+
v: Optional[Any] = Field(default=None, alias="__v")
|
36
|
+
created_at: Optional[StrictStr] = Field(default=None, alias="createdAt")
|
37
|
+
updated_at: Optional[StrictStr] = Field(default=None, alias="updatedAt")
|
38
|
+
address: Optional[StrictStr] = None
|
39
|
+
value_aic: Optional[Union[StrictFloat, StrictInt]] = Field(
|
40
|
+
default=None, alias="valueAic"
|
41
|
+
)
|
42
|
+
expires_at: Optional[StrictStr] = Field(default=None, alias="expiresAt")
|
43
|
+
vesting_wallets: List[
|
44
|
+
ListWallets200ResponseBalancesInnerWalletVestingWalletsInner
|
45
|
+
] = Field(alias="vestingWallets")
|
46
|
+
__properties: ClassVar[List[str]] = [
|
47
|
+
"_id",
|
48
|
+
"__v",
|
49
|
+
"createdAt",
|
50
|
+
"updatedAt",
|
51
|
+
"address",
|
52
|
+
"valueAic",
|
53
|
+
"expiresAt",
|
54
|
+
"vestingWallets",
|
55
|
+
]
|
56
|
+
|
57
|
+
model_config = ConfigDict(
|
58
|
+
populate_by_name=True,
|
59
|
+
validate_assignment=True,
|
60
|
+
protected_namespaces=(),
|
61
|
+
)
|
62
|
+
|
63
|
+
def to_str(self) -> str:
|
64
|
+
"""Returns the string representation of the model using alias"""
|
65
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
66
|
+
|
67
|
+
def to_json(self) -> str:
|
68
|
+
"""Returns the JSON representation of the model using alias"""
|
69
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
70
|
+
return json.dumps(self.to_dict())
|
71
|
+
|
72
|
+
@classmethod
|
73
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
74
|
+
"""Create an instance of ListWallets200ResponseBalancesInnerWallet from a JSON string"""
|
75
|
+
return cls.from_dict(json.loads(json_str))
|
76
|
+
|
77
|
+
def to_dict(self) -> Dict[str, Any]:
|
78
|
+
"""Return the dictionary representation of the model using alias.
|
79
|
+
|
80
|
+
This has the following differences from calling pydantic's
|
81
|
+
`self.model_dump(by_alias=True)`:
|
82
|
+
|
83
|
+
* `None` is only added to the output dict for nullable fields that
|
84
|
+
were set at model initialization. Other fields with value `None`
|
85
|
+
are ignored.
|
86
|
+
"""
|
87
|
+
excluded_fields: Set[str] = set([])
|
88
|
+
|
89
|
+
_dict = self.model_dump(
|
90
|
+
by_alias=True,
|
91
|
+
exclude=excluded_fields,
|
92
|
+
exclude_none=True,
|
93
|
+
)
|
94
|
+
# override the default output from pydantic by calling `to_dict()` of each item in vesting_wallets (list)
|
95
|
+
_items = []
|
96
|
+
if self.vesting_wallets:
|
97
|
+
for _item_vesting_wallets in self.vesting_wallets:
|
98
|
+
if _item_vesting_wallets:
|
99
|
+
_items.append(_item_vesting_wallets.to_dict())
|
100
|
+
_dict["vestingWallets"] = _items
|
101
|
+
# set to None if id (nullable) is None
|
102
|
+
# and model_fields_set contains the field
|
103
|
+
if self.id is None and "id" in self.model_fields_set:
|
104
|
+
_dict["_id"] = None
|
105
|
+
|
106
|
+
# set to None if v (nullable) is None
|
107
|
+
# and model_fields_set contains the field
|
108
|
+
if self.v is None and "v" in self.model_fields_set:
|
109
|
+
_dict["__v"] = None
|
110
|
+
|
111
|
+
# set to None if created_at (nullable) is None
|
112
|
+
# and model_fields_set contains the field
|
113
|
+
if self.created_at is None and "created_at" in self.model_fields_set:
|
114
|
+
_dict["createdAt"] = None
|
115
|
+
|
116
|
+
# set to None if updated_at (nullable) is None
|
117
|
+
# and model_fields_set contains the field
|
118
|
+
if self.updated_at is None and "updated_at" in self.model_fields_set:
|
119
|
+
_dict["updatedAt"] = None
|
120
|
+
|
121
|
+
# set to None if address (nullable) is None
|
122
|
+
# and model_fields_set contains the field
|
123
|
+
if self.address is None and "address" in self.model_fields_set:
|
124
|
+
_dict["address"] = None
|
125
|
+
|
126
|
+
# set to None if value_aic (nullable) is None
|
127
|
+
# and model_fields_set contains the field
|
128
|
+
if self.value_aic is None and "value_aic" in self.model_fields_set:
|
129
|
+
_dict["valueAic"] = None
|
130
|
+
|
131
|
+
# set to None if expires_at (nullable) is None
|
132
|
+
# and model_fields_set contains the field
|
133
|
+
if self.expires_at is None and "expires_at" in self.model_fields_set:
|
134
|
+
_dict["expiresAt"] = None
|
135
|
+
|
136
|
+
return _dict
|
137
|
+
|
138
|
+
@classmethod
|
139
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
140
|
+
"""Create an instance of ListWallets200ResponseBalancesInnerWallet from a dict"""
|
141
|
+
if obj is None:
|
142
|
+
return None
|
143
|
+
|
144
|
+
if not isinstance(obj, dict):
|
145
|
+
return cls.model_validate(obj)
|
146
|
+
|
147
|
+
_obj = cls.model_validate(
|
148
|
+
{
|
149
|
+
"_id": obj.get("_id"),
|
150
|
+
"__v": obj.get("__v"),
|
151
|
+
"createdAt": obj.get("createdAt"),
|
152
|
+
"updatedAt": obj.get("updatedAt"),
|
153
|
+
"address": obj.get("address"),
|
154
|
+
"valueAic": obj.get("valueAic"),
|
155
|
+
"expiresAt": obj.get("expiresAt"),
|
156
|
+
"vestingWallets": (
|
157
|
+
[
|
158
|
+
ListWallets200ResponseBalancesInnerWalletVestingWalletsInner.from_dict(
|
159
|
+
_item
|
160
|
+
)
|
161
|
+
for _item in obj["vestingWallets"]
|
162
|
+
]
|
163
|
+
if obj.get("vestingWallets") is not None
|
164
|
+
else None
|
165
|
+
),
|
166
|
+
}
|
167
|
+
)
|
168
|
+
return _obj
|
@@ -0,0 +1,191 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import pprint
|
17
|
+
import re # noqa: F401
|
18
|
+
import json
|
19
|
+
|
20
|
+
from pydantic import (
|
21
|
+
BaseModel,
|
22
|
+
ConfigDict,
|
23
|
+
Field,
|
24
|
+
StrictBool,
|
25
|
+
StrictFloat,
|
26
|
+
StrictInt,
|
27
|
+
StrictStr,
|
28
|
+
)
|
29
|
+
from typing import Any, ClassVar, Dict, List, Optional, Union
|
30
|
+
from typing import Optional, Set
|
31
|
+
from typing_extensions import Self
|
32
|
+
|
33
|
+
|
34
|
+
class ListWallets200ResponseBalancesInnerWalletVestingWalletsInner(BaseModel):
|
35
|
+
"""
|
36
|
+
ListWallets200ResponseBalancesInnerWalletVestingWalletsInner
|
37
|
+
""" # noqa: E501
|
38
|
+
|
39
|
+
id: Optional[Any] = Field(default=None, alias="_id")
|
40
|
+
address: Optional[StrictStr] = None
|
41
|
+
value_aic: Optional[Union[StrictFloat, StrictInt]] = Field(
|
42
|
+
default=None, alias="valueAic"
|
43
|
+
)
|
44
|
+
round: Optional[Union[StrictFloat, StrictInt]] = None
|
45
|
+
released: Optional[Union[StrictFloat, StrictInt]] = None
|
46
|
+
vested_amount: Optional[Union[StrictFloat, StrictInt]] = Field(
|
47
|
+
default=None, alias="vestedAmount"
|
48
|
+
)
|
49
|
+
start_at: Optional[StrictStr] = Field(default=None, alias="startAt")
|
50
|
+
end_at: Optional[StrictStr] = Field(default=None, alias="endAt")
|
51
|
+
cliff_at: Optional[StrictStr] = Field(default=None, alias="cliffAt")
|
52
|
+
started: Optional[StrictBool] = None
|
53
|
+
claimable_amount: Optional[Union[StrictFloat, StrictInt]] = Field(
|
54
|
+
default=None, alias="claimableAmount"
|
55
|
+
)
|
56
|
+
__properties: ClassVar[List[str]] = [
|
57
|
+
"_id",
|
58
|
+
"address",
|
59
|
+
"valueAic",
|
60
|
+
"round",
|
61
|
+
"released",
|
62
|
+
"vestedAmount",
|
63
|
+
"startAt",
|
64
|
+
"endAt",
|
65
|
+
"cliffAt",
|
66
|
+
"started",
|
67
|
+
"claimableAmount",
|
68
|
+
]
|
69
|
+
|
70
|
+
model_config = ConfigDict(
|
71
|
+
populate_by_name=True,
|
72
|
+
validate_assignment=True,
|
73
|
+
protected_namespaces=(),
|
74
|
+
)
|
75
|
+
|
76
|
+
def to_str(self) -> str:
|
77
|
+
"""Returns the string representation of the model using alias"""
|
78
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
79
|
+
|
80
|
+
def to_json(self) -> str:
|
81
|
+
"""Returns the JSON representation of the model using alias"""
|
82
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
83
|
+
return json.dumps(self.to_dict())
|
84
|
+
|
85
|
+
@classmethod
|
86
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
87
|
+
"""Create an instance of ListWallets200ResponseBalancesInnerWalletVestingWalletsInner from a JSON string"""
|
88
|
+
return cls.from_dict(json.loads(json_str))
|
89
|
+
|
90
|
+
def to_dict(self) -> Dict[str, Any]:
|
91
|
+
"""Return the dictionary representation of the model using alias.
|
92
|
+
|
93
|
+
This has the following differences from calling pydantic's
|
94
|
+
`self.model_dump(by_alias=True)`:
|
95
|
+
|
96
|
+
* `None` is only added to the output dict for nullable fields that
|
97
|
+
were set at model initialization. Other fields with value `None`
|
98
|
+
are ignored.
|
99
|
+
"""
|
100
|
+
excluded_fields: Set[str] = set([])
|
101
|
+
|
102
|
+
_dict = self.model_dump(
|
103
|
+
by_alias=True,
|
104
|
+
exclude=excluded_fields,
|
105
|
+
exclude_none=True,
|
106
|
+
)
|
107
|
+
# set to None if id (nullable) is None
|
108
|
+
# and model_fields_set contains the field
|
109
|
+
if self.id is None and "id" in self.model_fields_set:
|
110
|
+
_dict["_id"] = None
|
111
|
+
|
112
|
+
# set to None if address (nullable) is None
|
113
|
+
# and model_fields_set contains the field
|
114
|
+
if self.address is None and "address" in self.model_fields_set:
|
115
|
+
_dict["address"] = None
|
116
|
+
|
117
|
+
# set to None if value_aic (nullable) is None
|
118
|
+
# and model_fields_set contains the field
|
119
|
+
if self.value_aic is None and "value_aic" in self.model_fields_set:
|
120
|
+
_dict["valueAic"] = None
|
121
|
+
|
122
|
+
# set to None if round (nullable) is None
|
123
|
+
# and model_fields_set contains the field
|
124
|
+
if self.round is None and "round" in self.model_fields_set:
|
125
|
+
_dict["round"] = None
|
126
|
+
|
127
|
+
# set to None if released (nullable) is None
|
128
|
+
# and model_fields_set contains the field
|
129
|
+
if self.released is None and "released" in self.model_fields_set:
|
130
|
+
_dict["released"] = None
|
131
|
+
|
132
|
+
# set to None if vested_amount (nullable) is None
|
133
|
+
# and model_fields_set contains the field
|
134
|
+
if self.vested_amount is None and "vested_amount" in self.model_fields_set:
|
135
|
+
_dict["vestedAmount"] = None
|
136
|
+
|
137
|
+
# set to None if start_at (nullable) is None
|
138
|
+
# and model_fields_set contains the field
|
139
|
+
if self.start_at is None and "start_at" in self.model_fields_set:
|
140
|
+
_dict["startAt"] = None
|
141
|
+
|
142
|
+
# set to None if end_at (nullable) is None
|
143
|
+
# and model_fields_set contains the field
|
144
|
+
if self.end_at is None and "end_at" in self.model_fields_set:
|
145
|
+
_dict["endAt"] = None
|
146
|
+
|
147
|
+
# set to None if cliff_at (nullable) is None
|
148
|
+
# and model_fields_set contains the field
|
149
|
+
if self.cliff_at is None and "cliff_at" in self.model_fields_set:
|
150
|
+
_dict["cliffAt"] = None
|
151
|
+
|
152
|
+
# set to None if started (nullable) is None
|
153
|
+
# and model_fields_set contains the field
|
154
|
+
if self.started is None and "started" in self.model_fields_set:
|
155
|
+
_dict["started"] = None
|
156
|
+
|
157
|
+
# set to None if claimable_amount (nullable) is None
|
158
|
+
# and model_fields_set contains the field
|
159
|
+
if (
|
160
|
+
self.claimable_amount is None
|
161
|
+
and "claimable_amount" in self.model_fields_set
|
162
|
+
):
|
163
|
+
_dict["claimableAmount"] = None
|
164
|
+
|
165
|
+
return _dict
|
166
|
+
|
167
|
+
@classmethod
|
168
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
169
|
+
"""Create an instance of ListWallets200ResponseBalancesInnerWalletVestingWalletsInner from a dict"""
|
170
|
+
if obj is None:
|
171
|
+
return None
|
172
|
+
|
173
|
+
if not isinstance(obj, dict):
|
174
|
+
return cls.model_validate(obj)
|
175
|
+
|
176
|
+
_obj = cls.model_validate(
|
177
|
+
{
|
178
|
+
"_id": obj.get("_id"),
|
179
|
+
"address": obj.get("address"),
|
180
|
+
"valueAic": obj.get("valueAic"),
|
181
|
+
"round": obj.get("round"),
|
182
|
+
"released": obj.get("released"),
|
183
|
+
"vestedAmount": obj.get("vestedAmount"),
|
184
|
+
"startAt": obj.get("startAt"),
|
185
|
+
"endAt": obj.get("endAt"),
|
186
|
+
"cliffAt": obj.get("cliffAt"),
|
187
|
+
"started": obj.get("started"),
|
188
|
+
"claimableAmount": obj.get("claimableAmount"),
|
189
|
+
}
|
190
|
+
)
|
191
|
+
return _obj
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import pprint
|
17
|
+
import re # noqa: F401
|
18
|
+
import json
|
19
|
+
|
20
|
+
from datetime import datetime
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
22
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
23
|
+
from typing import Optional, Set
|
24
|
+
from typing_extensions import Self
|
25
|
+
|
26
|
+
|
27
|
+
class ListWallets200ResponseDataInner(BaseModel):
|
28
|
+
"""
|
29
|
+
ListWallets200ResponseDataInner
|
30
|
+
""" # noqa: E501
|
31
|
+
|
32
|
+
id: StrictStr
|
33
|
+
user_id: StrictStr
|
34
|
+
name: Optional[StrictStr] = None
|
35
|
+
address: Optional[StrictStr] = None
|
36
|
+
verified_at: Optional[datetime] = None
|
37
|
+
__properties: ClassVar[List[str]] = [
|
38
|
+
"id",
|
39
|
+
"user_id",
|
40
|
+
"name",
|
41
|
+
"address",
|
42
|
+
"verified_at",
|
43
|
+
]
|
44
|
+
|
45
|
+
model_config = ConfigDict(
|
46
|
+
populate_by_name=True,
|
47
|
+
validate_assignment=True,
|
48
|
+
protected_namespaces=(),
|
49
|
+
)
|
50
|
+
|
51
|
+
def to_str(self) -> str:
|
52
|
+
"""Returns the string representation of the model using alias"""
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
54
|
+
|
55
|
+
def to_json(self) -> str:
|
56
|
+
"""Returns the JSON representation of the model using alias"""
|
57
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
58
|
+
return json.dumps(self.to_dict())
|
59
|
+
|
60
|
+
@classmethod
|
61
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
62
|
+
"""Create an instance of ListWallets200ResponseDataInner from a JSON string"""
|
63
|
+
return cls.from_dict(json.loads(json_str))
|
64
|
+
|
65
|
+
def to_dict(self) -> Dict[str, Any]:
|
66
|
+
"""Return the dictionary representation of the model using alias.
|
67
|
+
|
68
|
+
This has the following differences from calling pydantic's
|
69
|
+
`self.model_dump(by_alias=True)`:
|
70
|
+
|
71
|
+
* `None` is only added to the output dict for nullable fields that
|
72
|
+
were set at model initialization. Other fields with value `None`
|
73
|
+
are ignored.
|
74
|
+
"""
|
75
|
+
excluded_fields: Set[str] = set([])
|
76
|
+
|
77
|
+
_dict = self.model_dump(
|
78
|
+
by_alias=True,
|
79
|
+
exclude=excluded_fields,
|
80
|
+
exclude_none=True,
|
81
|
+
)
|
82
|
+
return _dict
|
83
|
+
|
84
|
+
@classmethod
|
85
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
86
|
+
"""Create an instance of ListWallets200ResponseDataInner from a dict"""
|
87
|
+
if obj is None:
|
88
|
+
return None
|
89
|
+
|
90
|
+
if not isinstance(obj, dict):
|
91
|
+
return cls.model_validate(obj)
|
92
|
+
|
93
|
+
_obj = cls.model_validate(
|
94
|
+
{
|
95
|
+
"id": obj.get("id"),
|
96
|
+
"user_id": obj.get("user_id"),
|
97
|
+
"name": obj.get("name"),
|
98
|
+
"address": obj.get("address"),
|
99
|
+
"verified_at": obj.get("verified_at"),
|
100
|
+
}
|
101
|
+
)
|
102
|
+
return _obj
|
@@ -0,0 +1,118 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import pprint
|
17
|
+
import re # noqa: F401
|
18
|
+
import json
|
19
|
+
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt
|
21
|
+
from typing import Any, ClassVar, Dict, List, Union
|
22
|
+
from crypticorn.auth.client.models.list_wallets200_response_balances_inner import (
|
23
|
+
ListWallets200ResponseBalancesInner,
|
24
|
+
)
|
25
|
+
from typing import Optional, Set
|
26
|
+
from typing_extensions import Self
|
27
|
+
|
28
|
+
|
29
|
+
class ListWallets200ResponseUserValue(BaseModel):
|
30
|
+
"""
|
31
|
+
ListWallets200ResponseUserValue
|
32
|
+
""" # noqa: E501
|
33
|
+
|
34
|
+
sum: Union[StrictFloat, StrictInt]
|
35
|
+
usd: Union[StrictFloat, StrictInt]
|
36
|
+
balances: List[ListWallets200ResponseBalancesInner]
|
37
|
+
access_minimum_usd: Union[StrictFloat, StrictInt] = Field(alias="accessMinimumUSD")
|
38
|
+
has_access: StrictBool = Field(alias="hasAccess")
|
39
|
+
__properties: ClassVar[List[str]] = [
|
40
|
+
"sum",
|
41
|
+
"usd",
|
42
|
+
"balances",
|
43
|
+
"accessMinimumUSD",
|
44
|
+
"hasAccess",
|
45
|
+
]
|
46
|
+
|
47
|
+
model_config = ConfigDict(
|
48
|
+
populate_by_name=True,
|
49
|
+
validate_assignment=True,
|
50
|
+
protected_namespaces=(),
|
51
|
+
)
|
52
|
+
|
53
|
+
def to_str(self) -> str:
|
54
|
+
"""Returns the string representation of the model using alias"""
|
55
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
56
|
+
|
57
|
+
def to_json(self) -> str:
|
58
|
+
"""Returns the JSON representation of the model using alias"""
|
59
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
60
|
+
return json.dumps(self.to_dict())
|
61
|
+
|
62
|
+
@classmethod
|
63
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
64
|
+
"""Create an instance of ListWallets200ResponseUserValue from a JSON string"""
|
65
|
+
return cls.from_dict(json.loads(json_str))
|
66
|
+
|
67
|
+
def to_dict(self) -> Dict[str, Any]:
|
68
|
+
"""Return the dictionary representation of the model using alias.
|
69
|
+
|
70
|
+
This has the following differences from calling pydantic's
|
71
|
+
`self.model_dump(by_alias=True)`:
|
72
|
+
|
73
|
+
* `None` is only added to the output dict for nullable fields that
|
74
|
+
were set at model initialization. Other fields with value `None`
|
75
|
+
are ignored.
|
76
|
+
"""
|
77
|
+
excluded_fields: Set[str] = set([])
|
78
|
+
|
79
|
+
_dict = self.model_dump(
|
80
|
+
by_alias=True,
|
81
|
+
exclude=excluded_fields,
|
82
|
+
exclude_none=True,
|
83
|
+
)
|
84
|
+
# override the default output from pydantic by calling `to_dict()` of each item in balances (list)
|
85
|
+
_items = []
|
86
|
+
if self.balances:
|
87
|
+
for _item_balances in self.balances:
|
88
|
+
if _item_balances:
|
89
|
+
_items.append(_item_balances.to_dict())
|
90
|
+
_dict["balances"] = _items
|
91
|
+
return _dict
|
92
|
+
|
93
|
+
@classmethod
|
94
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
95
|
+
"""Create an instance of ListWallets200ResponseUserValue from a dict"""
|
96
|
+
if obj is None:
|
97
|
+
return None
|
98
|
+
|
99
|
+
if not isinstance(obj, dict):
|
100
|
+
return cls.model_validate(obj)
|
101
|
+
|
102
|
+
_obj = cls.model_validate(
|
103
|
+
{
|
104
|
+
"sum": obj.get("sum"),
|
105
|
+
"usd": obj.get("usd"),
|
106
|
+
"balances": (
|
107
|
+
[
|
108
|
+
ListWallets200ResponseBalancesInner.from_dict(_item)
|
109
|
+
for _item in obj["balances"]
|
110
|
+
]
|
111
|
+
if obj.get("balances") is not None
|
112
|
+
else None
|
113
|
+
),
|
114
|
+
"accessMinimumUSD": obj.get("accessMinimumUSD"),
|
115
|
+
"hasAccess": obj.get("hasAccess"),
|
116
|
+
}
|
117
|
+
)
|
118
|
+
return _obj
|
@@ -0,0 +1,108 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
"""
|
4
|
+
Crypticorn Auth API
|
5
|
+
|
6
|
+
OpenAPI compliant REST API built using tRPC with Express
|
7
|
+
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
+
|
11
|
+
Do not edit the class manually.
|
12
|
+
""" # noqa: E501
|
13
|
+
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
import pprint
|
17
|
+
import re # noqa: F401
|
18
|
+
import json
|
19
|
+
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
22
|
+
from crypticorn.auth.client.models.logout_default_response_issues_inner import (
|
23
|
+
LogoutDefaultResponseIssuesInner,
|
24
|
+
)
|
25
|
+
from typing import Optional, Set
|
26
|
+
from typing_extensions import Self
|
27
|
+
|
28
|
+
|
29
|
+
class LogoutDefaultResponse(BaseModel):
|
30
|
+
"""
|
31
|
+
LogoutDefaultResponse
|
32
|
+
""" # noqa: E501
|
33
|
+
|
34
|
+
message: StrictStr
|
35
|
+
code: StrictStr
|
36
|
+
issues: Optional[List[LogoutDefaultResponseIssuesInner]] = None
|
37
|
+
__properties: ClassVar[List[str]] = ["message", "code", "issues"]
|
38
|
+
|
39
|
+
model_config = ConfigDict(
|
40
|
+
populate_by_name=True,
|
41
|
+
validate_assignment=True,
|
42
|
+
protected_namespaces=(),
|
43
|
+
)
|
44
|
+
|
45
|
+
def to_str(self) -> str:
|
46
|
+
"""Returns the string representation of the model using alias"""
|
47
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
48
|
+
|
49
|
+
def to_json(self) -> str:
|
50
|
+
"""Returns the JSON representation of the model using alias"""
|
51
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
52
|
+
return json.dumps(self.to_dict())
|
53
|
+
|
54
|
+
@classmethod
|
55
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
56
|
+
"""Create an instance of LogoutDefaultResponse from a JSON string"""
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
58
|
+
|
59
|
+
def to_dict(self) -> Dict[str, Any]:
|
60
|
+
"""Return the dictionary representation of the model using alias.
|
61
|
+
|
62
|
+
This has the following differences from calling pydantic's
|
63
|
+
`self.model_dump(by_alias=True)`:
|
64
|
+
|
65
|
+
* `None` is only added to the output dict for nullable fields that
|
66
|
+
were set at model initialization. Other fields with value `None`
|
67
|
+
are ignored.
|
68
|
+
"""
|
69
|
+
excluded_fields: Set[str] = set([])
|
70
|
+
|
71
|
+
_dict = self.model_dump(
|
72
|
+
by_alias=True,
|
73
|
+
exclude=excluded_fields,
|
74
|
+
exclude_none=True,
|
75
|
+
)
|
76
|
+
# override the default output from pydantic by calling `to_dict()` of each item in issues (list)
|
77
|
+
_items = []
|
78
|
+
if self.issues:
|
79
|
+
for _item_issues in self.issues:
|
80
|
+
if _item_issues:
|
81
|
+
_items.append(_item_issues.to_dict())
|
82
|
+
_dict["issues"] = _items
|
83
|
+
return _dict
|
84
|
+
|
85
|
+
@classmethod
|
86
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
87
|
+
"""Create an instance of LogoutDefaultResponse from a dict"""
|
88
|
+
if obj is None:
|
89
|
+
return None
|
90
|
+
|
91
|
+
if not isinstance(obj, dict):
|
92
|
+
return cls.model_validate(obj)
|
93
|
+
|
94
|
+
_obj = cls.model_validate(
|
95
|
+
{
|
96
|
+
"message": obj.get("message"),
|
97
|
+
"code": obj.get("code"),
|
98
|
+
"issues": (
|
99
|
+
[
|
100
|
+
LogoutDefaultResponseIssuesInner.from_dict(_item)
|
101
|
+
for _item in obj["issues"]
|
102
|
+
]
|
103
|
+
if obj.get("issues") is not None
|
104
|
+
else None
|
105
|
+
),
|
106
|
+
}
|
107
|
+
)
|
108
|
+
return _obj
|