-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathaccounts.py
More file actions
64 lines (43 loc) · 1.55 KB
/
accounts.py
File metadata and controls
64 lines (43 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# coding: utf-8
"""
Xero Accounting API
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
Contact: api@xero.com
Generated by: https://openapi-generator.tech
"""
import re # noqa: F401
from xero_python.models import BaseModel
class Accounts(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
openapi_types = {"accounts": "list[Account]"}
attribute_map = {"accounts": "Accounts"}
def __init__(self, accounts=None): # noqa: E501
"""Accounts - a model defined in OpenAPI""" # noqa: E501
self._accounts = None
self.discriminator = None
if accounts is not None:
self.accounts = accounts
@property
def accounts(self):
"""Gets the accounts of this Accounts. # noqa: E501
:return: The accounts of this Accounts. # noqa: E501
:rtype: list[Account]
"""
return self._accounts
@accounts.setter
def accounts(self, accounts):
"""Sets the accounts of this Accounts.
:param accounts: The accounts of this Accounts. # noqa: E501
:type: list[Account]
"""
self._accounts = accounts