-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathallocations.py
More file actions
64 lines (43 loc) · 1.64 KB
/
allocations.py
File metadata and controls
64 lines (43 loc) · 1.64 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 Allocations(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 = {"allocations": "list[Allocation]"}
attribute_map = {"allocations": "Allocations"}
def __init__(self, allocations=None): # noqa: E501
"""Allocations - a model defined in OpenAPI""" # noqa: E501
self._allocations = None
self.discriminator = None
if allocations is not None:
self.allocations = allocations
@property
def allocations(self):
"""Gets the allocations of this Allocations. # noqa: E501
:return: The allocations of this Allocations. # noqa: E501
:rtype: list[Allocation]
"""
return self._allocations
@allocations.setter
def allocations(self, allocations):
"""Sets the allocations of this Allocations.
:param allocations: The allocations of this Allocations. # noqa: E501
:type: list[Allocation]
"""
self._allocations = allocations