Skip to content

Commit ee42092

Browse files
committed
publish jdcloud-sdk-python 1.6.72
1 parent 2a8c4fc commit ee42092

5 files changed

Lines changed: 82 additions & 3 deletions

File tree

jdcloud_sdk/services/cdn/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# 更新历史 #
2-
API版本:0.10.19
2+
API版本:0.10.20
33

44

55

66

77
| 发布时间 | 版本号 | 更新 | 说明 |
88
| ---------- | ------ | ---------------------------------------------------------- | ---- |
9+
| 2020-08-06 | 0.10.20 |增加查询用户相关信息接口|
910
| 2020-07-24 | 0.10.19 |海外配置增加修改加速区域接口,刷新预热任务增加是否包含海外或全球域名字段 |
1011
| 2020-07-22 | 0.10.18 |修改ssl证书详情返回字段,修改查询证书列表说明信息 |
1112
| 2020-07-20 | 0.10.17 |增加topIp查询接口 |
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class QueryCdnUserQuotaRequest(JDCloudRequest):
23+
"""
24+
查询用户刷新预热封禁限额
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(QueryCdnUserQuotaRequest, self).__init__(
29+
'/user:quota', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class QueryCdnUserQuotaParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+

jdcloud_sdk/services/cdn/client/CdnClient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def __init__(self, credential, config=None, logger=None):
2626
if config is None:
2727
config = Config('cdn.jdcloud-api.com')
2828

29-
super(CdnClient, self).__init__(credential, config, 'cdn', '0.10.19', logger)
29+
super(CdnClient, self).__init__(credential, config, 'cdn', '0.10.20', logger)
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
20+
class UserModel(object):
21+
22+
def __init__(self, pin=None, typeList=None, typeDescList=None, status=None, statusDesc=None, settlementMethod=None, settlementMethodDesc=None):
23+
"""
24+
:param pin: (Optional) 用户pin
25+
:param typeList: (Optional) 计费类型
26+
:param typeDescList: (Optional) 计费类型描述
27+
:param status: (Optional) 用户状态
28+
:param statusDesc: (Optional) 用户状态描述
29+
:param settlementMethod: (Optional) 结算方式
30+
:param settlementMethodDesc: (Optional) 结算方式描述
31+
"""
32+
33+
self.pin = pin
34+
self.typeList = typeList
35+
self.typeDescList = typeDescList
36+
self.status = status
37+
self.statusDesc = statusDesc
38+
self.settlementMethod = settlementMethod
39+
self.settlementMethodDesc = settlementMethodDesc

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='jdcloud_sdk',
12-
version="1.6.71",
12+
version="1.6.72",
1313
long_description=long_description,
1414
long_description_content_type="text/markdown",
1515
author='JDCloud API Gateway Team',

0 commit comments

Comments
 (0)