Skip to content

Commit 0b36a9e

Browse files
committed
Add DescribeScdnDomainCcInfo.
1 parent de6dccd commit 0b36a9e

File tree

6 files changed

+69
-28
lines changed

6 files changed

+69
-28
lines changed

aliyun-python-sdk-scdn/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-12-27 Version: 2.2.7
2+
- Add DescribeScdnDomainCcInfo.
3+
14
2021-10-08 Version: 2.2.6
25
- Fixed SDK update delay.
36

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

aliyun-python-sdk-scdn/aliyunsdkscdn/request/v20171115/BatchSetScdnDomainConfigsRequest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ def get_DomainNames(self):
4343
def set_DomainNames(self,DomainNames):
4444
self.add_query_param('DomainNames',DomainNames)
4545

46+
def get_SecurityToken(self):
47+
return self.get_query_params().get('SecurityToken')
48+
49+
def set_SecurityToken(self,SecurityToken):
50+
self.add_query_param('SecurityToken',SecurityToken)
51+
4652
def get_OwnerAccount(self):
4753
return self.get_query_params().get('OwnerAccount')
4854

@@ -53,10 +59,4 @@ def get_OwnerId(self):
5359
return self.get_query_params().get('OwnerId')
5460

5561
def set_OwnerId(self,OwnerId):
56-
self.add_query_param('OwnerId',OwnerId)
57-
58-
def get_SecurityToken(self):
59-
return self.get_query_params().get('SecurityToken')
60-
61-
def set_SecurityToken(self,SecurityToken):
62-
self.add_query_param('SecurityToken',SecurityToken)
62+
self.add_query_param('OwnerId',OwnerId)

aliyun-python-sdk-scdn/aliyunsdkscdn/request/v20171115/DeleteScdnDomainRequest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34+
def get_SecurityToken(self):
35+
return self.get_query_params().get('SecurityToken')
36+
37+
def set_SecurityToken(self,SecurityToken):
38+
self.add_query_param('SecurityToken',SecurityToken)
39+
3440
def get_OwnerAccount(self):
3541
return self.get_query_params().get('OwnerAccount')
3642

@@ -47,10 +53,4 @@ def get_OwnerId(self):
4753
return self.get_query_params().get('OwnerId')
4854

4955
def set_OwnerId(self,OwnerId):
50-
self.add_query_param('OwnerId',OwnerId)
51-
52-
def get_SecurityToken(self):
53-
return self.get_query_params().get('SecurityToken')
54-
55-
def set_SecurityToken(self,SecurityToken):
56-
self.add_query_param('SecurityToken',SecurityToken)
56+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
from aliyunsdkscdn.endpoint import endpoint_data
22+
23+
class DescribeScdnCcInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'scdn', '2017-11-15', 'DescribeScdnCcInfo')
27+
self.set_method('GET')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_OwnerId(self):
35+
return self.get_query_params().get('OwnerId')
36+
37+
def set_OwnerId(self,OwnerId):
38+
self.add_query_param('OwnerId',OwnerId)

aliyun-python-sdk-scdn/aliyunsdkscdn/request/v20171115/UpdateScdnDomainRequest.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,6 @@ def get_Sources(self):
3737
def set_Sources(self,Sources):
3838
self.add_query_param('Sources',Sources)
3939

40-
def get_DomainName(self):
41-
return self.get_query_params().get('DomainName')
42-
43-
def set_DomainName(self,DomainName):
44-
self.add_query_param('DomainName',DomainName)
45-
46-
def get_OwnerId(self):
47-
return self.get_query_params().get('OwnerId')
48-
49-
def set_OwnerId(self,OwnerId):
50-
self.add_query_param('OwnerId',OwnerId)
51-
5240
def get_ResourceGroupId(self):
5341
return self.get_query_params().get('ResourceGroupId')
5442

@@ -59,4 +47,16 @@ def get_SecurityToken(self):
5947
return self.get_query_params().get('SecurityToken')
6048

6149
def set_SecurityToken(self,SecurityToken):
62-
self.add_query_param('SecurityToken',SecurityToken)
50+
self.add_query_param('SecurityToken',SecurityToken)
51+
52+
def get_DomainName(self):
53+
return self.get_query_params().get('DomainName')
54+
55+
def set_DomainName(self,DomainName):
56+
self.add_query_param('DomainName',DomainName)
57+
58+
def get_OwnerId(self):
59+
return self.get_query_params().get('OwnerId')
60+
61+
def set_OwnerId(self,OwnerId):
62+
self.add_query_param('OwnerId',OwnerId)

0 commit comments

Comments
 (0)