Skip to content

Commit 9a7526f

Browse files
author
BitsAdmin
committed
Merge branch 'billing-Python-2022-01-01-online-533-2024_06_04_18_55_56' into 'integration_2024-06-06_285335770626'
feat: [development task] billing-533-Python (695120) See merge request iaasng/volcengine-python-sdk!319
2 parents 29d8ee2 + 436f0f8 commit 9a7526f

8 files changed

+426
-10
lines changed

volcenginesdkbilling/models/list_amortized_cost_bill_daily_request.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class ListAmortizedCostBillDailyRequest(object):
4444
'limit': 'int',
4545
'need_record_num': 'int',
4646
'offset': 'int',
47+
'owner_id': 'list[int]',
48+
'payer_id': 'list[int]',
4749
'product': 'list[str]'
4850
}
4951

@@ -59,10 +61,12 @@ class ListAmortizedCostBillDailyRequest(object):
5961
'limit': 'Limit',
6062
'need_record_num': 'NeedRecordNum',
6163
'offset': 'Offset',
64+
'owner_id': 'OwnerID',
65+
'payer_id': 'PayerID',
6266
'product': 'Product'
6367
}
6468

65-
def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, product=None, _configuration=None): # noqa: E501
69+
def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, _configuration=None): # noqa: E501
6670
"""ListAmortizedCostBillDailyRequest - a model defined in Swagger""" # noqa: E501
6771
if _configuration is None:
6872
_configuration = Configuration()
@@ -79,6 +83,8 @@ def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None
7983
self._limit = None
8084
self._need_record_num = None
8185
self._offset = None
86+
self._owner_id = None
87+
self._payer_id = None
8288
self._product = None
8389
self.discriminator = None
8490

@@ -102,6 +108,10 @@ def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None
102108
self.need_record_num = need_record_num
103109
if offset is not None:
104110
self.offset = offset
111+
if owner_id is not None:
112+
self.owner_id = owner_id
113+
if payer_id is not None:
114+
self.payer_id = payer_id
105115
if product is not None:
106116
self.product = product
107117

@@ -340,6 +350,48 @@ def offset(self, offset):
340350

341351
self._offset = offset
342352

353+
@property
354+
def owner_id(self):
355+
"""Gets the owner_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
356+
357+
358+
:return: The owner_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
359+
:rtype: list[int]
360+
"""
361+
return self._owner_id
362+
363+
@owner_id.setter
364+
def owner_id(self, owner_id):
365+
"""Sets the owner_id of this ListAmortizedCostBillDailyRequest.
366+
367+
368+
:param owner_id: The owner_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
369+
:type: list[int]
370+
"""
371+
372+
self._owner_id = owner_id
373+
374+
@property
375+
def payer_id(self):
376+
"""Gets the payer_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
377+
378+
379+
:return: The payer_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
380+
:rtype: list[int]
381+
"""
382+
return self._payer_id
383+
384+
@payer_id.setter
385+
def payer_id(self, payer_id):
386+
"""Sets the payer_id of this ListAmortizedCostBillDailyRequest.
387+
388+
389+
:param payer_id: The payer_id of this ListAmortizedCostBillDailyRequest. # noqa: E501
390+
:type: list[int]
391+
"""
392+
393+
self._payer_id = payer_id
394+
343395
@property
344396
def product(self):
345397
"""Gets the product of this ListAmortizedCostBillDailyRequest. # noqa: E501

volcenginesdkbilling/models/list_amortized_cost_bill_detail_request.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class ListAmortizedCostBillDetailRequest(object):
4444
'limit': 'int',
4545
'need_record_num': 'int',
4646
'offset': 'int',
47+
'owner_id': 'list[int]',
48+
'payer_id': 'list[int]',
4749
'product': 'list[str]'
4850
}
4951

@@ -59,10 +61,12 @@ class ListAmortizedCostBillDetailRequest(object):
5961
'limit': 'Limit',
6062
'need_record_num': 'NeedRecordNum',
6163
'offset': 'Offset',
64+
'owner_id': 'OwnerID',
65+
'payer_id': 'PayerID',
6266
'product': 'Product'
6367
}
6468

65-
def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, product=None, _configuration=None): # noqa: E501
69+
def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, _configuration=None): # noqa: E501
6670
"""ListAmortizedCostBillDetailRequest - a model defined in Swagger""" # noqa: E501
6771
if _configuration is None:
6872
_configuration = Configuration()
@@ -79,6 +83,8 @@ def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None
7983
self._limit = None
8084
self._need_record_num = None
8185
self._offset = None
86+
self._owner_id = None
87+
self._payer_id = None
8288
self._product = None
8389
self.discriminator = None
8490

@@ -102,6 +108,10 @@ def __init__(self, amortized_day=None, amortized_month=None, amortized_type=None
102108
self.need_record_num = need_record_num
103109
if offset is not None:
104110
self.offset = offset
111+
if owner_id is not None:
112+
self.owner_id = owner_id
113+
if payer_id is not None:
114+
self.payer_id = payer_id
105115
if product is not None:
106116
self.product = product
107117

@@ -340,6 +350,48 @@ def offset(self, offset):
340350

341351
self._offset = offset
342352

353+
@property
354+
def owner_id(self):
355+
"""Gets the owner_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
356+
357+
358+
:return: The owner_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
359+
:rtype: list[int]
360+
"""
361+
return self._owner_id
362+
363+
@owner_id.setter
364+
def owner_id(self, owner_id):
365+
"""Sets the owner_id of this ListAmortizedCostBillDetailRequest.
366+
367+
368+
:param owner_id: The owner_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
369+
:type: list[int]
370+
"""
371+
372+
self._owner_id = owner_id
373+
374+
@property
375+
def payer_id(self):
376+
"""Gets the payer_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
377+
378+
379+
:return: The payer_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
380+
:rtype: list[int]
381+
"""
382+
return self._payer_id
383+
384+
@payer_id.setter
385+
def payer_id(self, payer_id):
386+
"""Sets the payer_id of this ListAmortizedCostBillDetailRequest.
387+
388+
389+
:param payer_id: The payer_id of this ListAmortizedCostBillDetailRequest. # noqa: E501
390+
:type: list[int]
391+
"""
392+
393+
self._payer_id = payer_id
394+
343395
@property
344396
def product(self):
345397
"""Gets the product of this ListAmortizedCostBillDetailRequest. # noqa: E501

volcenginesdkbilling/models/list_amortized_cost_bill_monthly_request.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ class ListAmortizedCostBillMonthlyRequest(object):
4343
'limit': 'int',
4444
'need_record_num': 'int',
4545
'offset': 'int',
46+
'owner_id': 'list[int]',
47+
'payer_id': 'list[int]',
4648
'product': 'list[str]'
4749
}
4850

@@ -57,10 +59,12 @@ class ListAmortizedCostBillMonthlyRequest(object):
5759
'limit': 'Limit',
5860
'need_record_num': 'NeedRecordNum',
5961
'offset': 'Offset',
62+
'owner_id': 'OwnerID',
63+
'payer_id': 'PayerID',
6064
'product': 'Product'
6165
}
6266

63-
def __init__(self, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, product=None, _configuration=None): # noqa: E501
67+
def __init__(self, amortized_month=None, amortized_type=None, bill_category=None, bill_period=None, billing_mode=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, _configuration=None): # noqa: E501
6468
"""ListAmortizedCostBillMonthlyRequest - a model defined in Swagger""" # noqa: E501
6569
if _configuration is None:
6670
_configuration = Configuration()
@@ -76,6 +80,8 @@ def __init__(self, amortized_month=None, amortized_type=None, bill_category=None
7680
self._limit = None
7781
self._need_record_num = None
7882
self._offset = None
83+
self._owner_id = None
84+
self._payer_id = None
7985
self._product = None
8086
self.discriminator = None
8187

@@ -97,6 +103,10 @@ def __init__(self, amortized_month=None, amortized_type=None, bill_category=None
97103
self.need_record_num = need_record_num
98104
if offset is not None:
99105
self.offset = offset
106+
if owner_id is not None:
107+
self.owner_id = owner_id
108+
if payer_id is not None:
109+
self.payer_id = payer_id
100110
if product is not None:
101111
self.product = product
102112

@@ -314,6 +324,48 @@ def offset(self, offset):
314324

315325
self._offset = offset
316326

327+
@property
328+
def owner_id(self):
329+
"""Gets the owner_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
330+
331+
332+
:return: The owner_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
333+
:rtype: list[int]
334+
"""
335+
return self._owner_id
336+
337+
@owner_id.setter
338+
def owner_id(self, owner_id):
339+
"""Sets the owner_id of this ListAmortizedCostBillMonthlyRequest.
340+
341+
342+
:param owner_id: The owner_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
343+
:type: list[int]
344+
"""
345+
346+
self._owner_id = owner_id
347+
348+
@property
349+
def payer_id(self):
350+
"""Gets the payer_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
351+
352+
353+
:return: The payer_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
354+
:rtype: list[int]
355+
"""
356+
return self._payer_id
357+
358+
@payer_id.setter
359+
def payer_id(self, payer_id):
360+
"""Sets the payer_id of this ListAmortizedCostBillMonthlyRequest.
361+
362+
363+
:param payer_id: The payer_id of this ListAmortizedCostBillMonthlyRequest. # noqa: E501
364+
:type: list[int]
365+
"""
366+
367+
self._payer_id = payer_id
368+
317369
@property
318370
def product(self):
319371
"""Gets the product of this ListAmortizedCostBillMonthlyRequest. # noqa: E501

volcenginesdkbilling/models/list_bill_detail_request.py

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class ListBillDetailRequest(object):
4444
'limit': 'int',
4545
'need_record_num': 'int',
4646
'offset': 'int',
47+
'owner_id': 'list[int]',
48+
'payer_id': 'list[int]',
4749
'product': 'list[str]'
4850
}
4951

@@ -59,10 +61,12 @@ class ListBillDetailRequest(object):
5961
'limit': 'Limit',
6062
'need_record_num': 'NeedRecordNum',
6163
'offset': 'Offset',
64+
'owner_id': 'OwnerID',
65+
'payer_id': 'PayerID',
6266
'product': 'Product'
6367
}
6468

65-
def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expense_date=None, group_period=None, group_term=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, product=None, _configuration=None): # noqa: E501
69+
def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expense_date=None, group_period=None, group_term=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, _configuration=None): # noqa: E501
6670
"""ListBillDetailRequest - a model defined in Swagger""" # noqa: E501
6771
if _configuration is None:
6872
_configuration = Configuration()
@@ -79,6 +83,8 @@ def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expe
7983
self._limit = None
8084
self._need_record_num = None
8185
self._offset = None
86+
self._owner_id = None
87+
self._payer_id = None
8288
self._product = None
8389
self.discriminator = None
8490

@@ -102,6 +108,10 @@ def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expe
102108
self.need_record_num = need_record_num
103109
if offset is not None:
104110
self.offset = offset
111+
if owner_id is not None:
112+
self.owner_id = owner_id
113+
if payer_id is not None:
114+
self.payer_id = payer_id
105115
if product is not None:
106116
self.product = product
107117

@@ -340,6 +350,48 @@ def offset(self, offset):
340350

341351
self._offset = offset
342352

353+
@property
354+
def owner_id(self):
355+
"""Gets the owner_id of this ListBillDetailRequest. # noqa: E501
356+
357+
358+
:return: The owner_id of this ListBillDetailRequest. # noqa: E501
359+
:rtype: list[int]
360+
"""
361+
return self._owner_id
362+
363+
@owner_id.setter
364+
def owner_id(self, owner_id):
365+
"""Sets the owner_id of this ListBillDetailRequest.
366+
367+
368+
:param owner_id: The owner_id of this ListBillDetailRequest. # noqa: E501
369+
:type: list[int]
370+
"""
371+
372+
self._owner_id = owner_id
373+
374+
@property
375+
def payer_id(self):
376+
"""Gets the payer_id of this ListBillDetailRequest. # noqa: E501
377+
378+
379+
:return: The payer_id of this ListBillDetailRequest. # noqa: E501
380+
:rtype: list[int]
381+
"""
382+
return self._payer_id
383+
384+
@payer_id.setter
385+
def payer_id(self, payer_id):
386+
"""Sets the payer_id of this ListBillDetailRequest.
387+
388+
389+
:param payer_id: The payer_id of this ListBillDetailRequest. # noqa: E501
390+
:type: list[int]
391+
"""
392+
393+
self._payer_id = payer_id
394+
343395
@property
344396
def product(self):
345397
"""Gets the product of this ListBillDetailRequest. # noqa: E501

0 commit comments

Comments
 (0)