Skip to content

Commit 7c4d35d

Browse files
committed
Add ModifyInstanceProperties.
1 parent 03cb76d commit 7c4d35d

File tree

6 files changed

+74
-8
lines changed

6 files changed

+74
-8
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-02-07 Version: 1.0.1
2+
- Add ModifyInstanceProperties.
3+
14
2024-09-29 Version: 1.0.0
25
- Generated 2021-12-21 for `wss`.
36

aliyun-python-sdk-wss/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.0'
1+
__version__ = '1.0.1'

aliyun-python-sdk-wss/aliyunsdkwss/request/v20211221/DescribePackageDeductionsRequest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ def __init__(self):
2525
RpcRequest.__init__(self, 'wss', '2021-12-21', 'DescribePackageDeductions')
2626
self.set_method('POST')
2727

28+
def get_EndTime(self): # Long
29+
return self.get_query_params().get('EndTime')
30+
31+
def set_EndTime(self, EndTime): # Long
32+
self.add_query_param('EndTime', EndTime)
33+
def get_StartTime(self): # Long
34+
return self.get_query_params().get('StartTime')
35+
36+
def set_StartTime(self, StartTime): # Long
37+
self.add_query_param('StartTime', StartTime)
2838
def get_PageNum(self): # Integer
2939
return self.get_query_params().get('PageNum')
3040

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 ModifyInstancePropertiesRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'wss', '2021-12-21', 'ModifyInstanceProperties')
26+
self.set_method('POST')
27+
28+
def get_ResourceType(self): # String
29+
return self.get_query_params().get('ResourceType')
30+
31+
def set_ResourceType(self, ResourceType): # String
32+
self.add_query_param('ResourceType', ResourceType)
33+
def get_InstanceId(self): # String
34+
return self.get_query_params().get('InstanceId')
35+
36+
def set_InstanceId(self, InstanceId): # String
37+
self.add_query_param('InstanceId', InstanceId)
38+
def get_InstanceIdss(self): # RepeatList
39+
return self.get_query_params().get('InstanceIds')
40+
41+
def set_InstanceIdss(self, InstanceIds): # RepeatList
42+
for depth1 in range(len(InstanceIds)):
43+
self.add_query_param('InstanceIds.' + str(depth1 + 1), InstanceIds[depth1])
44+
def get_Value(self): # String
45+
return self.get_query_params().get('Value')
46+
47+
def set_Value(self, Value): # String
48+
self.add_query_param('Value', Value)
49+
def get_Key(self): # String
50+
return self.get_query_params().get('Key')
51+
52+
def set_Key(self, Key): # String
53+
self.add_query_param('Key', Key)

aliyun-python-sdk-wss/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
"Intended Audience :: Developers",
6666
"License :: OSI Approved :: Apache Software License",
6767
"Programming Language :: Python",
68-
"Programming Language :: Python :: 2.6",
69-
"Programming Language :: Python :: 2.7",
7068
"Programming Language :: Python :: 3",
71-
"Programming Language :: Python :: 3.3",
72-
"Programming Language :: Python :: 3.4",
73-
"Programming Language :: Python :: 3.5",
74-
"Programming Language :: Python :: 3.6",
69+
"Programming Language :: Python :: 3.7",
70+
"Programming Language :: Python :: 3.8",
71+
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
73+
"Programming Language :: Python :: 3.11",
74+
"Programming Language :: Python :: 3.12",
7575
"Topic :: Software Development",
7676
)
7777

0 commit comments

Comments
 (0)