Skip to content

Commit d19c7fa

Browse files
authored
Merge pull request #82 from Tanc009/master
release jdcloud-sdk-python 1.6.45
2 parents b87d268 + 1d79157 commit d19c7fa

File tree

96 files changed

+3295
-11
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+3295
-11
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 更新历史 #
2+
API版本:1.0.0

jdcloud_sdk/services/cloudsign/__init__.py

Whitespace-only changes.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 DeleteContractRequest(JDCloudRequest):
23+
"""
24+
删除已签章的合同 [MFA enabled]
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DeleteContractRequest, self).__init__(
29+
'/contract/{contractId}', 'DELETE', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DeleteContractParameters(object):
34+
35+
def __init__(self, contractId, ):
36+
"""
37+
:param contractId: 合同ID
38+
"""
39+
40+
self.contractId = contractId
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 DeleteStampRequest(JDCloudRequest):
23+
"""
24+
删除印章 [MFA enabled]
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DeleteStampRequest, self).__init__(
29+
'/stamp/{stampId}', 'DELETE', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DeleteStampParameters(object):
34+
35+
def __init__(self, stampId, ):
36+
"""
37+
:param stampId: 印章ID
38+
"""
39+
40+
self.stampId = stampId
41+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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 DeleteTemplateRequest(JDCloudRequest):
23+
"""
24+
删除合同模板 [MFA enabled]
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DeleteTemplateRequest, self).__init__(
29+
'/template/{templateId}', 'DELETE', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DeleteTemplateParameters(object):
34+
35+
def __init__(self, templateId, ):
36+
"""
37+
:param templateId: 合同模板ID
38+
"""
39+
40+
self.templateId = templateId
41+
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 DescribeApplyStatusRequest(JDCloudRequest):
23+
"""
24+
查询服务开通状态
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeApplyStatusRequest, self).__init__(
29+
'/manage:applyStatus', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeApplyStatusParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 DescribeContractListRequest(JDCloudRequest):
23+
"""
24+
获取已签章合同列表
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeContractListRequest, self).__init__(
29+
'/contract', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeContractListParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.pageNumber = None
40+
self.pageSize = None
41+
self.contractTitle = None
42+
43+
def setPageNumber(self, pageNumber):
44+
"""
45+
:param pageNumber: (Optional) 页码, 默认为1
46+
"""
47+
self.pageNumber = pageNumber
48+
49+
def setPageSize(self, pageSize):
50+
"""
51+
:param pageSize: (Optional) 分页大小, 默认为10, 取值范围[10, 100]
52+
"""
53+
self.pageSize = pageSize
54+
55+
def setContractTitle(self, contractTitle):
56+
"""
57+
:param contractTitle: (Optional) 合同标题
58+
"""
59+
self.contractTitle = contractTitle
60+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 DescribeStampListRequest(JDCloudRequest):
23+
"""
24+
获取印章列表
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeStampListRequest, self).__init__(
29+
'/stamp', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeStampListParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.pageNumber = None
40+
self.pageSize = None
41+
self.stampName = None
42+
43+
def setPageNumber(self, pageNumber):
44+
"""
45+
:param pageNumber: (Optional) 页码, 默认为1
46+
"""
47+
self.pageNumber = pageNumber
48+
49+
def setPageSize(self, pageSize):
50+
"""
51+
:param pageSize: (Optional) 分页大小, 默认为10, 取值范围[10, 100]
52+
"""
53+
self.pageSize = pageSize
54+
55+
def setStampName(self, stampName):
56+
"""
57+
:param stampName: (Optional) 印章名称
58+
"""
59+
self.stampName = stampName
60+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 DescribeTemplateListRequest(JDCloudRequest):
23+
"""
24+
获取合同模板列表
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeTemplateListRequest, self).__init__(
29+
'/template', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeTemplateListParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.pageNumber = None
40+
self.pageSize = None
41+
self.templateNameOrTitle = None
42+
43+
def setPageNumber(self, pageNumber):
44+
"""
45+
:param pageNumber: (Optional) 页码, 默认为1
46+
"""
47+
self.pageNumber = pageNumber
48+
49+
def setPageSize(self, pageSize):
50+
"""
51+
:param pageSize: (Optional) 分页大小, 默认为10, 取值范围[10, 100]
52+
"""
53+
self.pageSize = pageSize
54+
55+
def setTemplateNameOrTitle(self, templateNameOrTitle):
56+
"""
57+
:param templateNameOrTitle: (Optional) 合同模板名称或者标题
58+
"""
59+
self.templateNameOrTitle = templateNameOrTitle
60+
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 DisableContractSaveRequest(JDCloudRequest):
23+
"""
24+
禁用合同存管
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DisableContractSaveRequest, self).__init__(
29+
'/manage:disableContractSave', 'PATCH', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DisableContractSaveParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+

0 commit comments

Comments
 (0)