|
34 | 34 | from dropbox_sign.exceptions import ApiAttributeError
|
35 | 35 | if TYPE_CHECKING:
|
36 | 36 | from dropbox_sign.model.account_response_quotas import AccountResponseQuotas
|
| 37 | + from dropbox_sign.model.account_response_usage import AccountResponseUsage |
37 | 38 |
|
38 | 39 |
|
39 | 40 | def lazy_import():
|
40 | 41 | from dropbox_sign.model.account_response_quotas import AccountResponseQuotas
|
| 42 | + from dropbox_sign.model.account_response_usage import AccountResponseUsage |
41 | 43 | globals()['AccountResponseQuotas'] = AccountResponseQuotas
|
| 44 | + globals()['AccountResponseUsage'] = AccountResponseUsage |
42 | 45 |
|
43 | 46 |
|
44 | 47 | class AccountResponse(ModelNormal):
|
@@ -104,6 +107,7 @@ def openapi_types():
|
104 | 107 | 'role_code': (str, none_type,), # noqa: E501
|
105 | 108 | 'team_id': (str, none_type,), # noqa: E501
|
106 | 109 | 'locale': (str, none_type,), # noqa: E501
|
| 110 | + 'usage': (AccountResponseUsage,), # noqa: E501 |
107 | 111 | }
|
108 | 112 |
|
109 | 113 | @cached_property
|
@@ -137,6 +141,7 @@ def init(data: any) -> AccountResponse:
|
137 | 141 | 'role_code': 'role_code', # noqa: E501
|
138 | 142 | 'team_id': 'team_id', # noqa: E501
|
139 | 143 | 'locale': 'locale', # noqa: E501
|
| 144 | + 'usage': 'usage', # noqa: E501 |
140 | 145 | }
|
141 | 146 |
|
142 | 147 | read_only_vars = {
|
@@ -224,6 +229,14 @@ def locale(self) -> Optional[str]:
|
224 | 229 | def locale(self, value: Optional[str]):
|
225 | 230 | setattr(self, "locale", value)
|
226 | 231 |
|
| 232 | + @property |
| 233 | + def usage(self) -> AccountResponseUsage: |
| 234 | + return self.get("usage") |
| 235 | + |
| 236 | + @usage.setter |
| 237 | + def usage(self, value: AccountResponseUsage): |
| 238 | + setattr(self, "usage", value) |
| 239 | + |
227 | 240 | @classmethod
|
228 | 241 | @convert_js_args_to_python_args
|
229 | 242 | def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
@@ -270,6 +283,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
270 | 283 | role_code (str, none_type): The membership role for the team.. [optional] # noqa: E501
|
271 | 284 | team_id (str, none_type): The id of the team account belongs to.. [optional] # noqa: E501
|
272 | 285 | locale (str, none_type): The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.. [optional] # noqa: E501
|
| 286 | + usage (AccountResponseUsage): [optional] # noqa: E501 |
273 | 287 | """
|
274 | 288 |
|
275 | 289 | _check_type = kwargs.pop('_check_type', True)
|
@@ -361,6 +375,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
|
361 | 375 | role_code (str, none_type): The membership role for the team.. [optional] # noqa: E501
|
362 | 376 | team_id (str, none_type): The id of the team account belongs to.. [optional] # noqa: E501
|
363 | 377 | locale (str, none_type): The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.. [optional] # noqa: E501
|
| 378 | + usage (AccountResponseUsage): [optional] # noqa: E501 |
364 | 379 | """
|
365 | 380 |
|
366 | 381 | _check_type = kwargs.pop('_check_type', True)
|
|
0 commit comments