Skip to content

Commit 79625a5

Browse files
committed
Generated 2022-12-30 for marketplaceIntl.
1 parent 5adcb81 commit 79625a5

File tree

13 files changed

+294
-0
lines changed

13 files changed

+294
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2025-09-17 Version: 1.0.0
2+
- Generated 2022-12-30 for `marketplaceIntl`.
3+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-marketplaceintl
3+
=============================================================
4+
5+
.. This is the marketplaceintl module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
3.7 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.0'

aliyun-python-sdk-marketplaceintl/aliyunsdkmarketplaceintl/request/__init__.py

Whitespace-only changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class DescribePushMeteringDataRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'marketplaceIntl', '2022-12-30', 'DescribePushMeteringData')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_PushOrderBizId(self): # String
30+
return self.get_query_params().get('PushOrderBizId')
31+
32+
def set_PushOrderBizId(self, PushOrderBizId): # String
33+
self.add_query_param('PushOrderBizId', PushOrderBizId)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class DescribeSellerInstancesRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'marketplaceIntl', '2022-12-30', 'DescribeSellerInstances')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_InstanceStatus(self): # String
30+
return self.get_query_params().get('InstanceStatus')
31+
32+
def set_InstanceStatus(self, InstanceStatus): # String
33+
self.add_query_param('InstanceStatus', InstanceStatus)
34+
def get_UserId(self): # Long
35+
return self.get_query_params().get('UserId')
36+
37+
def set_UserId(self, UserId): # Long
38+
self.add_query_param('UserId', UserId)
39+
def get_InstanceId(self): # Long
40+
return self.get_query_params().get('InstanceId')
41+
42+
def set_InstanceId(self, InstanceId): # Long
43+
self.add_query_param('InstanceId', InstanceId)
44+
def get_PageSize(self): # Long
45+
return self.get_query_params().get('PageSize')
46+
47+
def set_PageSize(self, PageSize): # Long
48+
self.add_query_param('PageSize', PageSize)
49+
def get_PageIndex(self): # Integer
50+
return self.get_query_params().get('PageIndex')
51+
52+
def set_PageIndex(self, PageIndex): # Integer
53+
self.add_query_param('PageIndex', PageIndex)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class NoticeInstanceUserRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'marketplaceIntl', '2022-12-30', 'NoticeInstanceUser')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_NoticeParam(self): # String
30+
return self.get_body_params().get('NoticeParam')
31+
32+
def set_NoticeParam(self, NoticeParam): # String
33+
self.add_body_params('NoticeParam', NoticeParam)
34+
def get_InstanceId(self): # Long
35+
return self.get_body_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # Long
38+
self.add_body_params('InstanceId', InstanceId)
39+
def get_NoticeType(self): # Long
40+
return self.get_body_params().get('NoticeType')
41+
42+
def set_NoticeType(self, NoticeType): # Long
43+
self.add_body_params('NoticeType', NoticeType)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class PushMeteringDataRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'marketplaceIntl', '2022-12-30', 'PushMeteringData')
26+
self.set_method('POST')
27+
28+
def get_MeteringDatas(self): # RepeatList
29+
return self.get_body_params().get('MeteringData')
30+
31+
def set_MeteringDatas(self, MeteringData): # RepeatList
32+
for depth1 in range(len(MeteringData)):
33+
if MeteringData[depth1].get('MeteringAssist') is not None:
34+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.MeteringAssist', MeteringData[depth1].get('MeteringAssist'))
35+
if MeteringData[depth1].get('PushOrderBizId') is not None:
36+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.PushOrderBizId', MeteringData[depth1].get('PushOrderBizId'))
37+
if MeteringData[depth1].get('InstanceId') is not None:
38+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.InstanceId', MeteringData[depth1].get('InstanceId'))
39+
if MeteringData[depth1].get('EndTime') is not None:
40+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.EndTime', MeteringData[depth1].get('EndTime'))
41+
if MeteringData[depth1].get('StartTime') is not None:
42+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.StartTime', MeteringData[depth1].get('StartTime'))
43+
if MeteringData[depth1].get('MeteringEntity') is not None:
44+
self.add_body_params('MeteringData.' + str(depth1 + 1) + '.MeteringEntity', MeteringData[depth1].get('MeteringEntity'))
45+
def get_GmtCreate(self): # String
46+
return self.get_body_params().get('GmtCreate')
47+
48+
def set_GmtCreate(self, GmtCreate): # String
49+
self.add_body_params('GmtCreate', GmtCreate)

0 commit comments

Comments
 (0)