byteplus-python-sdk-v2 3.0.47__py2.py3-none-any.whl → 3.0.48__py2.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.
Files changed (24) hide show
  1. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/RECORD +24 -13
  3. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/top_level.txt +1 -0
  4. byteplussdkbilling/models/list_amortized_cost_bill_detail_request.py +29 -3
  5. byteplussdkbilling/models/list_bill_detail_request.py +29 -3
  6. byteplussdkbilling/models/list_for_list_bill_detail_output.py +79 -1
  7. byteplussdkbilling/models/list_split_bill_detail_request.py +27 -1
  8. byteplussdkcore/api_client.py +1 -1
  9. byteplussdkcore/configuration.py +1 -1
  10. byteplussdkcore/endpoint/providers/default_provider.py +7 -0
  11. byteplussdksts/__init__.py +28 -0
  12. byteplussdksts/api/__init__.py +6 -0
  13. byteplussdksts/api/sts_api.py +228 -0
  14. byteplussdksts/models/__init__.py +24 -0
  15. byteplussdksts/models/assume_role_request.py +229 -0
  16. byteplussdksts/models/assume_role_response.py +149 -0
  17. byteplussdksts/models/assumed_role_user_for_assume_role_output.py +149 -0
  18. byteplussdksts/models/credentials_for_assume_role_output.py +227 -0
  19. byteplussdksts/models/get_caller_identity_request.py +95 -0
  20. byteplussdksts/models/get_caller_identity_response.py +201 -0
  21. byteplussdksts/models/tag_for_assume_role_input.py +149 -0
  22. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/WHEEL +0 -0
  23. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/licenses/LICENSE.txt +0 -0
  24. {byteplus_python_sdk_v2-3.0.47.dist-info → byteplus_python_sdk_v2-3.0.48.dist-info}/licenses/NOTICE.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: byteplus-python-sdk-v2
3
- Version: 3.0.47
3
+ Version: 3.0.48
4
4
  Summary: Byteplus SDK for Python
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/byteplus-sdk/byteplus-python-sdk-v2
@@ -1,5 +1,5 @@
1
- byteplus_python_sdk_v2-3.0.47.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
2
- byteplus_python_sdk_v2-3.0.47.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
1
+ byteplus_python_sdk_v2-3.0.48.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
2
+ byteplus_python_sdk_v2-3.0.48.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
3
3
  byteplussdkalb/__init__.py,sha256=hgNQF2o0CFabtxQHh0xHHZ5oHcz3bQ6wHpRkA9B8nuo,30746
4
4
  byteplussdkalb/api/__init__.py,sha256=H6iQBCnNKuvuPDr57uNOlglabIkEAd4CncI0rnwwEoE,133
5
5
  byteplussdkalb/api/alb_api.py,sha256=kWP7DNDolXb02v4nD5VmEjSmeddM-aBrHPGCIdC7ogY,249907
@@ -1199,13 +1199,13 @@ byteplussdkbilling/models/instance_amount_list_for_query_price_for_renew_output.
1199
1199
  byteplussdkbilling/models/instance_list_for_list_available_instances_output.py,sha256=YLG2S6hPjdNlaCSPvuDOJLMibrDEaYlD4QIiFY69DjA,15898
1200
1200
  byteplussdkbilling/models/list_amortized_cost_bill_daily_request.py,sha256=unjNbB6z75IAI_igwDXNjMzWnEaKSYauFiQz9bmViKc,14330
1201
1201
  byteplussdkbilling/models/list_amortized_cost_bill_daily_response.py,sha256=1y0IoNwbXaufA25vR7mK8lHcVefyYsyLKEtbCuP3AMM,5719
1202
- byteplussdkbilling/models/list_amortized_cost_bill_detail_request.py,sha256=8126B-BsZ6wsCfyZUZINdEjSxOoyBYA9Qzy5DrjXvH4,14391
1202
+ byteplussdkbilling/models/list_amortized_cost_bill_detail_request.py,sha256=3LcbhfH9BvmS6Rhj2VIeWhfg2NmGGQNpDmtKY4X5d4s,15134
1203
1203
  byteplussdkbilling/models/list_amortized_cost_bill_detail_response.py,sha256=Keez45H_YBeiN5m8hwL6InNkL6SjXp7k0WWdxnveXpw,5743
1204
1204
  byteplussdkbilling/models/list_amortized_cost_bill_monthly_request.py,sha256=CfrH1f-tKl3iofpcW0olgI8MWYYkRFyReEBfYRA9s7Y,13604
1205
1205
  byteplussdkbilling/models/list_amortized_cost_bill_monthly_response.py,sha256=ma09SRyRTBTWF0pqzJCFTJclFtD08462SeLakcGw24Q,5767
1206
1206
  byteplussdkbilling/models/list_available_instances_request.py,sha256=8lsAb5-ayKsljyMnwCf-mvclprmfRWFECFXlzixCe8E,10336
1207
1207
  byteplussdkbilling/models/list_available_instances_response.py,sha256=Aje-KAcxjBliO6J6X6oJrp-jJY5gRBTcVAsshXFWdYo,5355
1208
- byteplussdkbilling/models/list_bill_detail_request.py,sha256=Wg0cI8-zPEJK78W-P3GXMFRooh3G6cskHFImtesOuWg,13416
1208
+ byteplussdkbilling/models/list_bill_detail_request.py,sha256=C0hdDBAyyqLvP-tPfdAIdJvfE9I_KxL5ir599g5axyQ,14107
1209
1209
  byteplussdkbilling/models/list_bill_detail_response.py,sha256=GCxEfX7b37qfHe4nmLBEkQh3diz-z3cmLM4fhOib78M,5431
1210
1210
  byteplussdkbilling/models/list_bill_overview_by_category_request.py,sha256=s6FEX4IGZC36vWs_tunwVxFhIyvq1WvaNxmlxU9uek4,7631
1211
1211
  byteplussdkbilling/models/list_bill_overview_by_category_response.py,sha256=7qYrQxFbwrVvMvl_e_s5sC6TMVSUmffkMqpa3Z-XC3U,3665
@@ -1248,7 +1248,7 @@ byteplussdkbilling/models/list_financial_relation_response.py,sha256=Ao8AwH6ft3a
1248
1248
  byteplussdkbilling/models/list_for_list_amortized_cost_bill_daily_output.py,sha256=gyMWYk_7i-N34ZM6qFb3r_4EBk4u4QE_1XXF2yFf_b4,128243
1249
1249
  byteplussdkbilling/models/list_for_list_amortized_cost_bill_detail_output.py,sha256=tbjsZzIwdXNOjBXU5aQGtza-JmQWV0t1T0HSftov5UU,113951
1250
1250
  byteplussdkbilling/models/list_for_list_amortized_cost_bill_monthly_output.py,sha256=8kUVVBk6JLZgofKcKvTnvSmq1WALRcpPgO_BMrHlY1o,185121
1251
- byteplussdkbilling/models/list_for_list_bill_detail_output.py,sha256=RBvrarphnS0XqCuEq5EM6ncLQUrVJeFfgOcCTboKqMI,87248
1251
+ byteplussdkbilling/models/list_for_list_bill_detail_output.py,sha256=pvzTVlHHNlK6Ld1Jqp1yu8d0iD-V0rdNvH88aQf5ZsU,90291
1252
1252
  byteplussdkbilling/models/list_for_list_bill_output.py,sha256=sV89fJQfFEBPPBjRQH-g0auMIbEvmvpDmm9gPuu4eCc,46006
1253
1253
  byteplussdkbilling/models/list_for_list_bill_overview_by_category_output.py,sha256=wbKt8jp_hwgLalF32YIdcBj-3LJWChjuhkfSkuIFj0Y,39476
1254
1254
  byteplussdkbilling/models/list_for_list_bill_overview_by_prod_output.py,sha256=ucfgjE3LNIyy2mK0GJdwDnNIbU9-zB8O8L6A6Ody3fI,41539
@@ -1274,7 +1274,7 @@ byteplussdkbilling/models/list_recipient_information_request.py,sha256=apON0EftU
1274
1274
  byteplussdkbilling/models/list_recipient_information_response.py,sha256=VWLCZM_DHG4VU6Ik_sKsmaP7PhdAEgSKACxjVJHD3dU,6169
1275
1275
  byteplussdkbilling/models/list_resource_packages_request.py,sha256=CHTygqIk4FGeQZH2vmvhReHl3WV2EfO1Oc0cXTcWSEQ,9457
1276
1276
  byteplussdkbilling/models/list_resource_packages_response.py,sha256=JFaT69KT3Yizaj6pjK-TbNbW72Vh9fAC1zS8XakLWOQ,4332
1277
- byteplussdkbilling/models/list_split_bill_detail_request.py,sha256=ZiXKbfTnZ0Ji4O_oV6sABsiCaEmaVg01BOs-niXJO0w,14632
1277
+ byteplussdkbilling/models/list_split_bill_detail_request.py,sha256=nmD-UxecQD_q0Ko8Xy1nJsI2l-68pz5rQsaN_9SKNjk,15343
1278
1278
  byteplussdkbilling/models/list_split_bill_detail_response.py,sha256=Q4u49scqm6eFLpDMzG_7E-5u_UcXmHtn_AsMMQx1PDs,5551
1279
1279
  byteplussdkbilling/models/order_fail_refund_info_for_get_order_output.py,sha256=aFbbZTPGDbqWSprejqtUQ9xVA-NNvsSHFJuWNxZyU6Y,7183
1280
1280
  byteplussdkbilling/models/order_fail_refund_info_for_list_order_product_details_output.py,sha256=JnD2pwvAMLjCCX_SOYbzo08lWqIMNx1hgB2MaP2IOuQ,7558
@@ -1931,8 +1931,8 @@ byteplussdkcloudmonitor/models/update_silence_policy_response.py,sha256=3PZTcDF2
1931
1931
  byteplussdkcloudmonitor/models/update_webhook_request.py,sha256=UuA9Ua57eLThwa7cVq5xPegHf-e3W2aGti5CLTBYf1U,7041
1932
1932
  byteplussdkcloudmonitor/models/update_webhook_response.py,sha256=Icjg1daq1uG0V3l7R_QVPkHvLCe1uXU1OphnDhoZ91A,3424
1933
1933
  byteplussdkcore/__init__.py,sha256=QD2qSwKMsMeYxsEQIdWce5ekPilRexqkWCP_q3YOqvo,308
1934
- byteplussdkcore/api_client.py,sha256=H08vvxKH13aHOJv3CUGCsGiXTJ7nkdEbYmtzufQWfiE,28066
1935
- byteplussdkcore/configuration.py,sha256=Wm9GRIInqGSXnSnnFFO9K6vunDVkW4a2A6V0iNG1s2I,11924
1934
+ byteplussdkcore/api_client.py,sha256=JM6CfVh-WrnCPnM5JNqZyKK4i3qe2s_1K6HeZyqL5jk,28066
1935
+ byteplussdkcore/configuration.py,sha256=dWiVWVsubySRuOL3mzWkqTqji3wldzVfzOC7zvRKavI,11924
1936
1936
  byteplussdkcore/endpoint.py,sha256=L5Dw0-Cia9ezYxGJFgZ9td-mCM4AqSIZv67ll1sSzMY,1630
1937
1937
  byteplussdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
1938
1938
  byteplussdkcore/metadata.py,sha256=Km5jOllvPViXn0rdx604nIq0OF1RBF3Q2x-xA2cDXc8,4518
@@ -1955,7 +1955,7 @@ byteplussdkcore/auth/providers/sts_saml_provider.py,sha256=yedLynY4rwG81Xm9y2vfa
1955
1955
  byteplussdkcore/endpoint/__init__.py,sha256=K7dXFGGh0QYiALOLgtPxboGYzwCJB5IHseGSQPObZdQ,117
1956
1956
  byteplussdkcore/endpoint/endpoint_provider.py,sha256=9ajUjf2N2NmThuWrMm5QgLtmh8YbPas5TdvkAZYQ9lM,330
1957
1957
  byteplussdkcore/endpoint/providers/__init__.py,sha256=FmxBi_siUNTZod9GFOk5VG-UVYT7daNt4hZ2zifqYY8,76
1958
- byteplussdkcore/endpoint/providers/default_provider.py,sha256=4uSuK4Ys8AFyPbVdvcpHhIeHKNlz1qbRbjrJNK4w1gg,9829
1958
+ byteplussdkcore/endpoint/providers/default_provider.py,sha256=i1Wm66e_yq9t6rKVjpa5xj7If9A3aUlZ3cGh0Hua6bo,10021
1959
1959
  byteplussdkcore/endpoint/providers/standard_provider.py,sha256=H7v5kCKkQOkX40-yX9DorXUG9tqI1wPNHTcuSKvoDPE,12352
1960
1960
  byteplussdkcore/feature/__init__.py,sha256=ev2S2XGLZUjbL7sylBd3NWmqGmcDcYV-Oj4qPZOztHU,154
1961
1961
  byteplussdkcore/feature/rds/__init__.py,sha256=g4-6e-OdBADN9_WzILg8P69KdSVSc5TyOg5CrXglE5A,119
@@ -6701,6 +6701,17 @@ byteplussdkstorageebs/models/total_performance_for_describe_volumes_output.py,sh
6701
6701
  byteplussdkstorageebs/models/volume_for_describe_placement_group_details_output.py,sha256=_4FdyTW2WlOKbRbfhnphLm7Zczxy3PqLNyO-r6x7Svw,9718
6702
6702
  byteplussdkstorageebs/models/volume_for_describe_volumes_output.py,sha256=E7tKALKk0ooKBCXcIm7du5xIvo38xVwQChYfBaI1wK0,29505
6703
6703
  byteplussdkstorageebs/models/volume_type_for_describe_volume_type_output.py,sha256=LbH1Oz3GVT0PIyYWP67qj7K1ba-2tCtJGUwB9ywpI0Q,6225
6704
+ byteplussdksts/__init__.py,sha256=1OZ_ULCo3vWg-qcWkfVzZqXNhnqt6kRgzYYmdL0XCso,1053
6705
+ byteplussdksts/api/__init__.py,sha256=qs8N7aOrPU7goDAkUc9Ib_tsTAMF9w-hJQ3g0VK7s6g,133
6706
+ byteplussdksts/api/sts_api.py,sha256=rv4uLY4JDFRb8dHG1NYbEAqD6EEWDjLMXSR-5Tx_Xtw,8439
6707
+ byteplussdksts/models/__init__.py,sha256=FJE7_Dq5sY3dYa5LGX4SwKCUxuyO2MbUuJw_3dE3y7Q,976
6708
+ byteplussdksts/models/assume_role_request.py,sha256=Zxv8x1-eXK8UYZBO1pcxhVwGAkmuMWwTe64M7KFds_c,6714
6709
+ byteplussdksts/models/assume_role_response.py,sha256=WYO5yB33ABvzSVr2odBAcnOm3ds84kiee6UnLPXbdug,4543
6710
+ byteplussdksts/models/assumed_role_user_for_assume_role_output.py,sha256=itm8VgaXSEcUkj4tPMyni_T2NBX-xo5aJthNA53BLbo,4377
6711
+ byteplussdksts/models/credentials_for_assume_role_output.py,sha256=QmLMtdjncraMWZX927zyrvQmfIEvnXW_D_vzvuHIEk0,7007
6712
+ byteplussdksts/models/get_caller_identity_request.py,sha256=lN_uMwMDk--NXW37yXrSXPFhc7ztvlLN3saF_9YgRXE,2799
6713
+ byteplussdksts/models/get_caller_identity_response.py,sha256=7Kh9fVltW1jOKGcXoaSjhbyosAq1V_aGsBY8BwJXifs,5737
6714
+ byteplussdksts/models/tag_for_assume_role_input.py,sha256=zJpkqIVvMeL7oGVBVJCIMTxREZhfEQ_tJBwMOpsTuRA,4010
6704
6715
  byteplussdktag/__init__.py,sha256=y2AZufQDCkoQBH10tFoPGRtaS-jb4XvNFZflMnY9N1Y,2984
6705
6716
  byteplussdktag/api/__init__.py,sha256=KYBHpK_KcJXEbMsbKucxHhl2czNim46VV-196uRrYwg,133
6706
6717
  byteplussdktag/api/tag_api.py,sha256=cgfUO_vgCrl1k_KjOUqJvEvJJgBYSnp5PaPc8IYeCS4,34926
@@ -8935,7 +8946,7 @@ byteplussdkvpn/models/vpn_connection_for_describe_vpn_connections_output.py,sha2
8935
8946
  byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_billing_output.py,sha256=PVoxecEDX9kyxj0C2lvvak-Dcj6Ob-S_dVO7cDUfONA,11033
8936
8947
  byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_output.py,sha256=Vws178kEWlj6cvHc6Pknd6DS_kQCMvVFI1PalrlXcio,28961
8937
8948
  byteplussdkvpn/models/vpn_gateway_route_for_describe_vpn_gateway_routes_output.py,sha256=f14Ld4PWButLCb0GGdne7tSbfN8NxNR4icaxRCRYkw0,12000
8938
- byteplus_python_sdk_v2-3.0.47.dist-info/METADATA,sha256=n2BVTKh2xVeHfLeWd7IFrkxBkWeOMpkg6O4mY59gQ1c,4677
8939
- byteplus_python_sdk_v2-3.0.47.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
8940
- byteplus_python_sdk_v2-3.0.47.dist-info/top_level.txt,sha256=xf6giQwfXA0koZpHXj8--sbO2WjzAwpJ6aCGaGB_NX4,997
8941
- byteplus_python_sdk_v2-3.0.47.dist-info/RECORD,,
8949
+ byteplus_python_sdk_v2-3.0.48.dist-info/METADATA,sha256=q8lWzpO9jzbmGsFQAecrymU9wQwrLip3-TFt0pWTg28,4677
8950
+ byteplus_python_sdk_v2-3.0.48.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
8951
+ byteplus_python_sdk_v2-3.0.48.dist-info/top_level.txt,sha256=jSRpNFp_EtVHl-nXFQN7Ipmh_Af-pLMH0WsodyQv6Fo,1012
8952
+ byteplus_python_sdk_v2-3.0.48.dist-info/RECORD,,
@@ -39,6 +39,7 @@ byteplussdkredis
39
39
  byteplussdkresourceshare
40
40
  byteplussdksmc
41
41
  byteplussdkstorageebs
42
+ byteplussdksts
42
43
  byteplussdktag
43
44
  byteplussdktransitrouter
44
45
  byteplussdkvedbm
@@ -46,7 +46,8 @@ class ListAmortizedCostBillDetailRequest(object):
46
46
  'offset': 'int',
47
47
  'owner_id': 'list[int]',
48
48
  'payer_id': 'list[int]',
49
- 'product': 'list[str]'
49
+ 'product': 'list[str]',
50
+ 'project': 'list[str]'
50
51
  }
51
52
 
52
53
  attribute_map = {
@@ -63,10 +64,11 @@ class ListAmortizedCostBillDetailRequest(object):
63
64
  'offset': 'Offset',
64
65
  'owner_id': 'OwnerID',
65
66
  'payer_id': 'PayerID',
66
- 'product': 'Product'
67
+ 'product': 'Product',
68
+ 'project': 'Project'
67
69
  }
68
70
 
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
71
+ 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, project=None, _configuration=None): # noqa: E501
70
72
  """ListAmortizedCostBillDetailRequest - a model defined in Swagger""" # noqa: E501
71
73
  if _configuration is None:
72
74
  _configuration = Configuration()
@@ -86,6 +88,7 @@ class ListAmortizedCostBillDetailRequest(object):
86
88
  self._owner_id = None
87
89
  self._payer_id = None
88
90
  self._product = None
91
+ self._project = None
89
92
  self.discriminator = None
90
93
 
91
94
  if amortized_day is not None:
@@ -114,6 +117,8 @@ class ListAmortizedCostBillDetailRequest(object):
114
117
  self.payer_id = payer_id
115
118
  if product is not None:
116
119
  self.product = product
120
+ if project is not None:
121
+ self.project = project
117
122
 
118
123
  @property
119
124
  def amortized_day(self):
@@ -413,6 +418,27 @@ class ListAmortizedCostBillDetailRequest(object):
413
418
 
414
419
  self._product = product
415
420
 
421
+ @property
422
+ def project(self):
423
+ """Gets the project of this ListAmortizedCostBillDetailRequest. # noqa: E501
424
+
425
+
426
+ :return: The project of this ListAmortizedCostBillDetailRequest. # noqa: E501
427
+ :rtype: list[str]
428
+ """
429
+ return self._project
430
+
431
+ @project.setter
432
+ def project(self, project):
433
+ """Sets the project of this ListAmortizedCostBillDetailRequest.
434
+
435
+
436
+ :param project: The project of this ListAmortizedCostBillDetailRequest. # noqa: E501
437
+ :type: list[str]
438
+ """
439
+
440
+ self._project = project
441
+
416
442
  def to_dict(self):
417
443
  """Returns the model properties as a dict"""
418
444
  result = {}
@@ -46,7 +46,8 @@ class ListBillDetailRequest(object):
46
46
  'offset': 'int',
47
47
  'owner_id': 'list[int]',
48
48
  'payer_id': 'list[int]',
49
- 'product': 'list[str]'
49
+ 'product': 'list[str]',
50
+ 'project': 'list[str]'
50
51
  }
51
52
 
52
53
  attribute_map = {
@@ -63,10 +64,11 @@ class ListBillDetailRequest(object):
63
64
  'offset': 'Offset',
64
65
  'owner_id': 'OwnerID',
65
66
  'payer_id': 'PayerID',
66
- 'product': 'Product'
67
+ 'product': 'Product',
68
+ 'project': 'Project'
67
69
  }
68
70
 
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
71
+ 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, project=None, _configuration=None): # noqa: E501
70
72
  """ListBillDetailRequest - a model defined in Swagger""" # noqa: E501
71
73
  if _configuration is None:
72
74
  _configuration = Configuration()
@@ -86,6 +88,7 @@ class ListBillDetailRequest(object):
86
88
  self._owner_id = None
87
89
  self._payer_id = None
88
90
  self._product = None
91
+ self._project = None
89
92
  self.discriminator = None
90
93
 
91
94
  if bill_category is not None:
@@ -114,6 +117,8 @@ class ListBillDetailRequest(object):
114
117
  self.payer_id = payer_id
115
118
  if product is not None:
116
119
  self.product = product
120
+ if project is not None:
121
+ self.project = project
117
122
 
118
123
  @property
119
124
  def bill_category(self):
@@ -413,6 +418,27 @@ class ListBillDetailRequest(object):
413
418
 
414
419
  self._product = product
415
420
 
421
+ @property
422
+ def project(self):
423
+ """Gets the project of this ListBillDetailRequest. # noqa: E501
424
+
425
+
426
+ :return: The project of this ListBillDetailRequest. # noqa: E501
427
+ :rtype: list[str]
428
+ """
429
+ return self._project
430
+
431
+ @project.setter
432
+ def project(self, project):
433
+ """Sets the project of this ListBillDetailRequest.
434
+
435
+
436
+ :param project: The project of this ListBillDetailRequest. # noqa: E501
437
+ :type: list[str]
438
+ """
439
+
440
+ self._project = project
441
+
416
442
  def to_dict(self):
417
443
  """Returns the model properties as a dict"""
418
444
  result = {}
@@ -85,6 +85,9 @@ class ListForListBillDetailOutput(object):
85
85
  'payer_customer_name': 'str',
86
86
  'payer_id': 'str',
87
87
  'payer_user_name': 'str',
88
+ 'pickup_voucher_count_unit': 'str',
89
+ 'pickup_voucher_deduct_count': 'str',
90
+ 'pickup_voucher_id': 'str',
88
91
  'posttax_amount': 'str',
89
92
  'pre_tax_payable_amount': 'str',
90
93
  'preferential_bill_amount': 'str',
@@ -187,6 +190,9 @@ class ListForListBillDetailOutput(object):
187
190
  'payer_customer_name': 'PayerCustomerName',
188
191
  'payer_id': 'PayerID',
189
192
  'payer_user_name': 'PayerUserName',
193
+ 'pickup_voucher_count_unit': 'PickupVoucherCountUnit',
194
+ 'pickup_voucher_deduct_count': 'PickupVoucherDeductCount',
195
+ 'pickup_voucher_id': 'PickupVoucherID',
190
196
  'posttax_amount': 'PosttaxAmount',
191
197
  'pre_tax_payable_amount': 'PreTaxPayableAmount',
192
198
  'preferential_bill_amount': 'PreferentialBillAmount',
@@ -236,7 +242,7 @@ class ListForListBillDetailOutput(object):
236
242
  'zone_code': 'ZoneCode'
237
243
  }
238
244
 
239
- def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, charge_item_code=None, config_name=None, configuration_code=None, count=None, country_region=None, coupon_amount=None, credit_carried_amount=None, currency=None, currency_settlement=None, deduction_count=None, deduction_use_duration=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, discount_info=None, effective_factor=None, element=None, element_code=None, exchange_rate=None, expand_field=None, expense_begin_time=None, expense_date=None, expense_end_time=None, factor=None, factor_code=None, formula=None, instance_name=None, instance_no=None, main_contract_number=None, market_price=None, measure_interval=None, original_bill_amount=None, original_order_no=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, posttax_amount=None, pre_tax_payable_amount=None, preferential_bill_amount=None, pretax_amount=None, pretax_real_value=None, price=None, price_factor=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, real_value=None, region=None, region_code=None, reservation_instance=None, resource_id=None, round_amount=None, saving_plan_deduction_discount_amount=None, saving_plan_deduction_discount_total_amount=None, saving_plan_deduction_sp_id=None, saving_plan_original_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, selling_mode=None, settle_payable_amount=None, settle_posttax_amount=None, settle_pre_tax_payable_amount=None, settle_pretax_amount=None, settle_pretax_real_value=None, settle_real_value=None, settle_tax=None, settlement_type=None, solution_zh=None, subject_name=None, tag=None, tax=None, tax_rate=None, trade_time=None, unit=None, unpaid_amount=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
245
+ def __init__(self, bill_category=None, bill_detail_id=None, bill_id=None, bill_period=None, billing_function=None, billing_method_code=None, billing_mode=None, busi_period=None, business_mode=None, charge_item_code=None, config_name=None, configuration_code=None, count=None, country_region=None, coupon_amount=None, credit_carried_amount=None, currency=None, currency_settlement=None, deduction_count=None, deduction_use_duration=None, discount_bill_amount=None, discount_biz_billing_function=None, discount_biz_measure_interval=None, discount_biz_unit_price=None, discount_biz_unit_price_interval=None, discount_info=None, effective_factor=None, element=None, element_code=None, exchange_rate=None, expand_field=None, expense_begin_time=None, expense_date=None, expense_end_time=None, factor=None, factor_code=None, formula=None, instance_name=None, instance_no=None, main_contract_number=None, market_price=None, measure_interval=None, original_bill_amount=None, original_order_no=None, owner_customer_name=None, owner_id=None, owner_user_name=None, paid_amount=None, payable_amount=None, payer_customer_name=None, payer_id=None, payer_user_name=None, pickup_voucher_count_unit=None, pickup_voucher_deduct_count=None, pickup_voucher_id=None, posttax_amount=None, pre_tax_payable_amount=None, preferential_bill_amount=None, pretax_amount=None, pretax_real_value=None, price=None, price_factor=None, price_interval=None, price_unit=None, product=None, product_zh=None, project=None, project_display_name=None, real_value=None, region=None, region_code=None, reservation_instance=None, resource_id=None, round_amount=None, saving_plan_deduction_discount_amount=None, saving_plan_deduction_discount_total_amount=None, saving_plan_deduction_sp_id=None, saving_plan_original_amount=None, seller_customer_name=None, seller_id=None, seller_user_name=None, selling_mode=None, settle_payable_amount=None, settle_posttax_amount=None, settle_pre_tax_payable_amount=None, settle_pretax_amount=None, settle_pretax_real_value=None, settle_real_value=None, settle_tax=None, settlement_type=None, solution_zh=None, subject_name=None, tag=None, tax=None, tax_rate=None, trade_time=None, unit=None, unpaid_amount=None, use_duration=None, use_duration_unit=None, zone=None, zone_code=None, _configuration=None): # noqa: E501
240
246
  """ListForListBillDetailOutput - a model defined in Swagger""" # noqa: E501
241
247
  if _configuration is None:
242
248
  _configuration = Configuration()
@@ -294,6 +300,9 @@ class ListForListBillDetailOutput(object):
294
300
  self._payer_customer_name = None
295
301
  self._payer_id = None
296
302
  self._payer_user_name = None
303
+ self._pickup_voucher_count_unit = None
304
+ self._pickup_voucher_deduct_count = None
305
+ self._pickup_voucher_id = None
297
306
  self._posttax_amount = None
298
307
  self._pre_tax_payable_amount = None
299
308
  self._preferential_bill_amount = None
@@ -447,6 +456,12 @@ class ListForListBillDetailOutput(object):
447
456
  self.payer_id = payer_id
448
457
  if payer_user_name is not None:
449
458
  self.payer_user_name = payer_user_name
459
+ if pickup_voucher_count_unit is not None:
460
+ self.pickup_voucher_count_unit = pickup_voucher_count_unit
461
+ if pickup_voucher_deduct_count is not None:
462
+ self.pickup_voucher_deduct_count = pickup_voucher_deduct_count
463
+ if pickup_voucher_id is not None:
464
+ self.pickup_voucher_id = pickup_voucher_id
450
465
  if posttax_amount is not None:
451
466
  self.posttax_amount = posttax_amount
452
467
  if pre_tax_payable_amount is not None:
@@ -1634,6 +1649,69 @@ class ListForListBillDetailOutput(object):
1634
1649
 
1635
1650
  self._payer_user_name = payer_user_name
1636
1651
 
1652
+ @property
1653
+ def pickup_voucher_count_unit(self):
1654
+ """Gets the pickup_voucher_count_unit of this ListForListBillDetailOutput. # noqa: E501
1655
+
1656
+
1657
+ :return: The pickup_voucher_count_unit of this ListForListBillDetailOutput. # noqa: E501
1658
+ :rtype: str
1659
+ """
1660
+ return self._pickup_voucher_count_unit
1661
+
1662
+ @pickup_voucher_count_unit.setter
1663
+ def pickup_voucher_count_unit(self, pickup_voucher_count_unit):
1664
+ """Sets the pickup_voucher_count_unit of this ListForListBillDetailOutput.
1665
+
1666
+
1667
+ :param pickup_voucher_count_unit: The pickup_voucher_count_unit of this ListForListBillDetailOutput. # noqa: E501
1668
+ :type: str
1669
+ """
1670
+
1671
+ self._pickup_voucher_count_unit = pickup_voucher_count_unit
1672
+
1673
+ @property
1674
+ def pickup_voucher_deduct_count(self):
1675
+ """Gets the pickup_voucher_deduct_count of this ListForListBillDetailOutput. # noqa: E501
1676
+
1677
+
1678
+ :return: The pickup_voucher_deduct_count of this ListForListBillDetailOutput. # noqa: E501
1679
+ :rtype: str
1680
+ """
1681
+ return self._pickup_voucher_deduct_count
1682
+
1683
+ @pickup_voucher_deduct_count.setter
1684
+ def pickup_voucher_deduct_count(self, pickup_voucher_deduct_count):
1685
+ """Sets the pickup_voucher_deduct_count of this ListForListBillDetailOutput.
1686
+
1687
+
1688
+ :param pickup_voucher_deduct_count: The pickup_voucher_deduct_count of this ListForListBillDetailOutput. # noqa: E501
1689
+ :type: str
1690
+ """
1691
+
1692
+ self._pickup_voucher_deduct_count = pickup_voucher_deduct_count
1693
+
1694
+ @property
1695
+ def pickup_voucher_id(self):
1696
+ """Gets the pickup_voucher_id of this ListForListBillDetailOutput. # noqa: E501
1697
+
1698
+
1699
+ :return: The pickup_voucher_id of this ListForListBillDetailOutput. # noqa: E501
1700
+ :rtype: str
1701
+ """
1702
+ return self._pickup_voucher_id
1703
+
1704
+ @pickup_voucher_id.setter
1705
+ def pickup_voucher_id(self, pickup_voucher_id):
1706
+ """Sets the pickup_voucher_id of this ListForListBillDetailOutput.
1707
+
1708
+
1709
+ :param pickup_voucher_id: The pickup_voucher_id of this ListForListBillDetailOutput. # noqa: E501
1710
+ :type: str
1711
+ """
1712
+
1713
+ self._pickup_voucher_id = pickup_voucher_id
1714
+
1637
1715
  @property
1638
1716
  def posttax_amount(self):
1639
1717
  """Gets the posttax_amount of this ListForListBillDetailOutput. # noqa: E501
@@ -46,6 +46,7 @@ class ListSplitBillDetailRequest(object):
46
46
  'owner_id': 'list[int]',
47
47
  'payer_id': 'list[int]',
48
48
  'product': 'list[str]',
49
+ 'project': 'list[str]',
49
50
  'split_dimension': 'str',
50
51
  'split_item_id': 'str'
51
52
  }
@@ -64,11 +65,12 @@ class ListSplitBillDetailRequest(object):
64
65
  'owner_id': 'OwnerID',
65
66
  'payer_id': 'PayerID',
66
67
  'product': 'Product',
68
+ 'project': 'Project',
67
69
  'split_dimension': 'SplitDimension',
68
70
  'split_item_id': 'SplitItemID'
69
71
  }
70
72
 
71
- def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expense_date=None, group_period=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, split_dimension=None, split_item_id=None, _configuration=None): # noqa: E501
73
+ def __init__(self, bill_category=None, bill_period=None, billing_mode=None, expense_date=None, group_period=None, ignore_zero=None, instance_no=None, limit=None, need_record_num=None, offset=None, owner_id=None, payer_id=None, product=None, project=None, split_dimension=None, split_item_id=None, _configuration=None): # noqa: E501
72
74
  """ListSplitBillDetailRequest - a model defined in Swagger""" # noqa: E501
73
75
  if _configuration is None:
74
76
  _configuration = Configuration()
@@ -87,6 +89,7 @@ class ListSplitBillDetailRequest(object):
87
89
  self._owner_id = None
88
90
  self._payer_id = None
89
91
  self._product = None
92
+ self._project = None
90
93
  self._split_dimension = None
91
94
  self._split_item_id = None
92
95
  self.discriminator = None
@@ -115,6 +118,8 @@ class ListSplitBillDetailRequest(object):
115
118
  self.payer_id = payer_id
116
119
  if product is not None:
117
120
  self.product = product
121
+ if project is not None:
122
+ self.project = project
118
123
  if split_dimension is not None:
119
124
  self.split_dimension = split_dimension
120
125
  if split_item_id is not None:
@@ -397,6 +402,27 @@ class ListSplitBillDetailRequest(object):
397
402
 
398
403
  self._product = product
399
404
 
405
+ @property
406
+ def project(self):
407
+ """Gets the project of this ListSplitBillDetailRequest. # noqa: E501
408
+
409
+
410
+ :return: The project of this ListSplitBillDetailRequest. # noqa: E501
411
+ :rtype: list[str]
412
+ """
413
+ return self._project
414
+
415
+ @project.setter
416
+ def project(self, project):
417
+ """Sets the project of this ListSplitBillDetailRequest.
418
+
419
+
420
+ :param project: The project of this ListSplitBillDetailRequest. # noqa: E501
421
+ :type: list[str]
422
+ """
423
+
424
+ self._project = project
425
+
400
426
  @property
401
427
  def split_dimension(self):
402
428
  """Gets the split_dimension of this ListSplitBillDetailRequest. # noqa: E501
@@ -68,7 +68,7 @@ class ApiClient(object):
68
68
  self.default_headers[header_name] = header_value
69
69
  self.cookie = cookie
70
70
  # Set default User-Agent.
71
- self.user_agent = 'byteplus-python-sdk-v2/3.0.47'
71
+ self.user_agent = 'byteplus-python-sdk-v2/3.0.48'
72
72
  self.client_side_validation = configuration.client_side_validation
73
73
 
74
74
  self.interceptor_chain = InterceptorChain()
@@ -287,7 +287,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
287
287
  "OS: {env}\n" \
288
288
  "Python Version: {pyversion}\n" \
289
289
  "Version of the API: 0.1.0\n" \
290
- "SDK Package Version: 3.0.47".\
290
+ "SDK Package Version: 3.0.48".\
291
291
  format(env=sys.platform, pyversion=sys.version)
292
292
 
293
293
  @property
@@ -170,6 +170,13 @@ default_endpoint = {
170
170
  region_endpoint_map={},
171
171
  fallback_endpoint=fallback_endpoint,
172
172
  ),
173
+ 'sts': ServiceEndpointInfo(
174
+ service='sts',
175
+ is_global=False,
176
+ global_endpoint='',
177
+ region_endpoint_map={},
178
+ fallback_endpoint=fallback_endpoint,
179
+ ),
173
180
  }
174
181
 
175
182
 
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ sts
7
+
8
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
9
+
10
+ OpenAPI spec version: common-version
11
+
12
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
13
+ """
14
+
15
+
16
+ from __future__ import absolute_import
17
+
18
+ # import apis into sdk package
19
+ from byteplussdksts.api.sts_api import STSApi
20
+
21
+ # import models into sdk package
22
+ from byteplussdksts.models.assume_role_request import AssumeRoleRequest
23
+ from byteplussdksts.models.assume_role_response import AssumeRoleResponse
24
+ from byteplussdksts.models.assumed_role_user_for_assume_role_output import AssumedRoleUserForAssumeRoleOutput
25
+ from byteplussdksts.models.credentials_for_assume_role_output import CredentialsForAssumeRoleOutput
26
+ from byteplussdksts.models.get_caller_identity_request import GetCallerIdentityRequest
27
+ from byteplussdksts.models.get_caller_identity_response import GetCallerIdentityResponse
28
+ from byteplussdksts.models.tag_for_assume_role_input import TagForAssumeRoleInput
@@ -0,0 +1,6 @@
1
+ from __future__ import absolute_import
2
+
3
+ # flake8: noqa
4
+
5
+ # import apis into api package
6
+ from byteplussdksts.api.sts_api import STSApi