Skip to content

Commit 2ad1088

Browse files
committed
Update to 18.6
1 parent 2050ee7 commit 2ad1088

File tree

12 files changed

+5509
-1984
lines changed

12 files changed

+5509
-1984
lines changed

asposepdfcloud/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,17 @@
4949
from .models.html_document_type import HtmlDocumentType
5050
from .models.html_markup_generation_modes import HtmlMarkupGenerationModes
5151
from .models.http_status_code import HttpStatusCode
52+
from .models.image_src_type import ImageSrcType
53+
from .models.image_template import ImageTemplate
54+
from .models.image_templates_request import ImageTemplatesRequest
5255
from .models.images_list_request import ImagesListRequest
5356
from .models.letters_positioning_methods import LettersPositioningMethods
5457
from .models.line_spacing import LineSpacing
5558
from .models.link import Link
5659
from .models.link_action_type import LinkActionType
5760
from .models.link_element import LinkElement
5861
from .models.link_highlighting_mode import LinkHighlightingMode
62+
from .models.margin_info import MarginInfo
5963
from .models.merge_documents import MergeDocuments
6064
from .models.optimize_options import OptimizeOptions
6165
from .models.page_word_count import PageWordCount

asposepdfcloud/apis/pdf_api.py

Lines changed: 4338 additions & 1978 deletions
Large diffs are not rendered by default.

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,5 +206,5 @@ def to_debug_report(self):
206206
"OS: {env}\n"\
207207
"Python Version: {pyversion}\n"\
208208
"Version of the API: 1.1\n"\
209-
"SDK Package Version: 18.5.0".\
209+
"SDK Package Version: 18.6.0".\
210210
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,17 @@
4949
from .html_document_type import HtmlDocumentType
5050
from .html_markup_generation_modes import HtmlMarkupGenerationModes
5151
from .http_status_code import HttpStatusCode
52+
from .image_src_type import ImageSrcType
53+
from .image_template import ImageTemplate
54+
from .image_templates_request import ImageTemplatesRequest
5255
from .images_list_request import ImagesListRequest
5356
from .letters_positioning_methods import LettersPositioningMethods
5457
from .line_spacing import LineSpacing
5558
from .link import Link
5659
from .link_action_type import LinkActionType
5760
from .link_element import LinkElement
5861
from .link_highlighting_mode import LinkHighlightingMode
62+
from .margin_info import MarginInfo
5963
from .merge_documents import MergeDocuments
6064
from .optimize_options import OptimizeOptions
6165
from .page_word_count import PageWordCount
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# coding: utf-8
2+
3+
"""
4+
Aspose.PDF for Cloud API Reference
5+
6+
7+
Copyright (c) 2018 Aspose.Pdf for Cloud
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.
23+
24+
25+
26+
OpenAPI spec version: 1.1
27+
28+
Generated by: https://github.com/swagger-api/swagger-codegen.git
29+
"""
30+
31+
32+
from pprint import pformat
33+
from six import iteritems
34+
import re
35+
36+
37+
class ImageSrcType(object):
38+
"""
39+
NOTE: This class is auto generated by the swagger code generator program.
40+
Do not edit the class manually.
41+
"""
42+
43+
"""
44+
allowed enum values
45+
"""
46+
COMMON = "Common"
47+
EMF = "Emf"
48+
49+
"""
50+
Attributes:
51+
swagger_types (dict): The key is attribute name
52+
and the value is attribute type.
53+
attribute_map (dict): The key is attribute name
54+
and the value is json key in definition.
55+
"""
56+
swagger_types = {
57+
58+
}
59+
60+
attribute_map = {
61+
62+
}
63+
64+
def __init__(self):
65+
"""
66+
ImageSrcType - a model defined in Swagger
67+
"""
68+
69+
70+
71+
def to_dict(self):
72+
"""
73+
Returns the model properties as a dict
74+
"""
75+
result = {}
76+
77+
for attr, _ in iteritems(self.swagger_types):
78+
value = getattr(self, attr)
79+
if isinstance(value, list):
80+
result[attr] = list(map(
81+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
82+
value
83+
))
84+
elif hasattr(value, "to_dict"):
85+
result[attr] = value.to_dict()
86+
elif isinstance(value, dict):
87+
result[attr] = dict(map(
88+
lambda item: (item[0], item[1].to_dict())
89+
if hasattr(item[1], "to_dict") else item,
90+
value.items()
91+
))
92+
else:
93+
result[attr] = value
94+
95+
return result
96+
97+
def to_str(self):
98+
"""
99+
Returns the string representation of the model
100+
"""
101+
return pformat(self.to_dict())
102+
103+
def __repr__(self):
104+
"""
105+
For `print` and `pprint`
106+
"""
107+
return self.to_str()
108+
109+
def __eq__(self, other):
110+
"""
111+
Returns true if both objects are equal
112+
"""
113+
if not isinstance(other, ImageSrcType):
114+
return False
115+
116+
return self.__dict__ == other.__dict__
117+
118+
def __ne__(self, other):
119+
"""
120+
Returns true if both objects are not equal
121+
"""
122+
return not self == other

0 commit comments

Comments
 (0)