Skip to content

Commit 8167912

Browse files
committed
Updated to v18.10
1 parent bac4170 commit 8167912

Some content is hidden

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

63 files changed

+14968
-2061
lines changed

README.md

Lines changed: 53 additions & 1 deletion
Large diffs are not rendered by default.

asposepdfcloud/__init__.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from .models.antialiasing_processing_type import AntialiasingProcessingType
3838
from .models.append_document import AppendDocument
3939
from .models.aspose_response import AsposeResponse
40+
from .models.caption_position import CaptionPosition
4041
from .models.color import Color
4142
from .models.color_depth import ColorDepth
4243
from .models.compression_type import CompressionType
@@ -57,6 +58,8 @@
5758
from .models.image_templates_request import ImageTemplatesRequest
5859
from .models.justification import Justification
5960
from .models.letters_positioning_methods import LettersPositioningMethods
61+
from .models.line_ending import LineEnding
62+
from .models.line_intent import LineIntent
6063
from .models.line_spacing import LineSpacing
6164
from .models.link import Link
6265
from .models.link_action_type import LinkActionType
@@ -69,6 +72,8 @@
6972
from .models.paragraph import Paragraph
7073
from .models.parts_embedding_modes import PartsEmbeddingModes
7174
from .models.pdf_a_type import PdfAType
75+
from .models.point import Point
76+
from .models.poly_intent import PolyIntent
7277
from .models.raster_images_saving_modes import RasterImagesSavingModes
7378
from .models.rectangle_pdf import RectanglePdf
7479
from .models.rotation import Rotation
@@ -98,6 +103,9 @@
98103
from .models.attachment_response import AttachmentResponse
99104
from .models.attachments import Attachments
100105
from .models.attachments_response import AttachmentsResponse
106+
from .models.circle_annotation_response import CircleAnnotationResponse
107+
from .models.circle_annotations import CircleAnnotations
108+
from .models.circle_annotations_response import CircleAnnotationsResponse
101109
from .models.document import Document
102110
from .models.document_page_response import DocumentPageResponse
103111
from .models.document_pages_response import DocumentPagesResponse
@@ -117,15 +125,27 @@
117125
from .models.image_response import ImageResponse
118126
from .models.images import Images
119127
from .models.images_response import ImagesResponse
128+
from .models.line_annotation_response import LineAnnotationResponse
129+
from .models.line_annotations import LineAnnotations
130+
from .models.line_annotations_response import LineAnnotationsResponse
120131
from .models.link_annotation import LinkAnnotation
121132
from .models.link_annotation_response import LinkAnnotationResponse
122133
from .models.link_annotations import LinkAnnotations
123134
from .models.link_annotations_response import LinkAnnotationsResponse
124135
from .models.page import Page
125136
from .models.pages import Pages
137+
from .models.poly_line_annotation_response import PolyLineAnnotationResponse
138+
from .models.poly_line_annotations import PolyLineAnnotations
139+
from .models.poly_line_annotations_response import PolyLineAnnotationsResponse
140+
from .models.polygon_annotation_response import PolygonAnnotationResponse
141+
from .models.polygon_annotations import PolygonAnnotations
142+
from .models.polygon_annotations_response import PolygonAnnotationsResponse
126143
from .models.signature_verify_response import SignatureVerifyResponse
127144
from .models.split_result_document import SplitResultDocument
128145
from .models.split_result_response import SplitResultResponse
146+
from .models.square_annotation_response import SquareAnnotationResponse
147+
from .models.square_annotations import SquareAnnotations
148+
from .models.square_annotations_response import SquareAnnotationsResponse
129149
from .models.text_annotation_response import TextAnnotationResponse
130150
from .models.text_annotations import TextAnnotations
131151
from .models.text_annotations_response import TextAnnotationsResponse
@@ -134,8 +154,15 @@
134154
from .models.word_count_response import WordCountResponse
135155
from .models.annotation_info import AnnotationInfo
136156
from .models.markup_annotation import MarkupAnnotation
157+
from .models.common_figure_annotation import CommonFigureAnnotation
137158
from .models.free_text_annotation import FreeTextAnnotation
159+
from .models.line_annotation import LineAnnotation
160+
from .models.poly_annotation import PolyAnnotation
138161
from .models.text_annotation import TextAnnotation
162+
from .models.circle_annotation import CircleAnnotation
163+
from .models.poly_line_annotation import PolyLineAnnotation
164+
from .models.polygon_annotation import PolygonAnnotation
165+
from .models.square_annotation import SquareAnnotation
139166

140167
# import apis into sdk package
141168
from .apis.pdf_api import PdfApi

asposepdfcloud/apis/pdf_api.py

Lines changed: 5040 additions & 2030 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
@@ -202,5 +202,5 @@ def to_debug_report(self):
202202
"OS: {env}\n"\
203203
"Python Version: {pyversion}\n"\
204204
"Version of the API: 2.0\n"\
205-
"SDK Package Version: 18.9.0".\
205+
"SDK Package Version: 18.10.0".\
206206
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/__init__.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
from .antialiasing_processing_type import AntialiasingProcessingType
3838
from .append_document import AppendDocument
3939
from .aspose_response import AsposeResponse
40+
from .caption_position import CaptionPosition
4041
from .color import Color
4142
from .color_depth import ColorDepth
4243
from .compression_type import CompressionType
@@ -57,6 +58,8 @@
5758
from .image_templates_request import ImageTemplatesRequest
5859
from .justification import Justification
5960
from .letters_positioning_methods import LettersPositioningMethods
61+
from .line_ending import LineEnding
62+
from .line_intent import LineIntent
6063
from .line_spacing import LineSpacing
6164
from .link import Link
6265
from .link_action_type import LinkActionType
@@ -69,6 +72,8 @@
6972
from .paragraph import Paragraph
7073
from .parts_embedding_modes import PartsEmbeddingModes
7174
from .pdf_a_type import PdfAType
75+
from .point import Point
76+
from .poly_intent import PolyIntent
7277
from .raster_images_saving_modes import RasterImagesSavingModes
7378
from .rectangle_pdf import RectanglePdf
7479
from .rotation import Rotation
@@ -98,6 +103,9 @@
98103
from .attachment_response import AttachmentResponse
99104
from .attachments import Attachments
100105
from .attachments_response import AttachmentsResponse
106+
from .circle_annotation_response import CircleAnnotationResponse
107+
from .circle_annotations import CircleAnnotations
108+
from .circle_annotations_response import CircleAnnotationsResponse
101109
from .document import Document
102110
from .document_page_response import DocumentPageResponse
103111
from .document_pages_response import DocumentPagesResponse
@@ -117,15 +125,27 @@
117125
from .image_response import ImageResponse
118126
from .images import Images
119127
from .images_response import ImagesResponse
128+
from .line_annotation_response import LineAnnotationResponse
129+
from .line_annotations import LineAnnotations
130+
from .line_annotations_response import LineAnnotationsResponse
120131
from .link_annotation import LinkAnnotation
121132
from .link_annotation_response import LinkAnnotationResponse
122133
from .link_annotations import LinkAnnotations
123134
from .link_annotations_response import LinkAnnotationsResponse
124135
from .page import Page
125136
from .pages import Pages
137+
from .poly_line_annotation_response import PolyLineAnnotationResponse
138+
from .poly_line_annotations import PolyLineAnnotations
139+
from .poly_line_annotations_response import PolyLineAnnotationsResponse
140+
from .polygon_annotation_response import PolygonAnnotationResponse
141+
from .polygon_annotations import PolygonAnnotations
142+
from .polygon_annotations_response import PolygonAnnotationsResponse
126143
from .signature_verify_response import SignatureVerifyResponse
127144
from .split_result_document import SplitResultDocument
128145
from .split_result_response import SplitResultResponse
146+
from .square_annotation_response import SquareAnnotationResponse
147+
from .square_annotations import SquareAnnotations
148+
from .square_annotations_response import SquareAnnotationsResponse
129149
from .text_annotation_response import TextAnnotationResponse
130150
from .text_annotations import TextAnnotations
131151
from .text_annotations_response import TextAnnotationsResponse
@@ -134,5 +154,12 @@
134154
from .word_count_response import WordCountResponse
135155
from .annotation_info import AnnotationInfo
136156
from .markup_annotation import MarkupAnnotation
157+
from .common_figure_annotation import CommonFigureAnnotation
137158
from .free_text_annotation import FreeTextAnnotation
159+
from .line_annotation import LineAnnotation
160+
from .poly_annotation import PolyAnnotation
138161
from .text_annotation import TextAnnotation
162+
from .circle_annotation import CircleAnnotation
163+
from .poly_line_annotation import PolyLineAnnotation
164+
from .polygon_annotation import PolygonAnnotation
165+
from .square_annotation import SquareAnnotation
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# coding: utf-8
2+
3+
"""
4+
Aspose.PDF Cloud API Reference
5+
6+
7+
Copyright (c) 2018 Aspose.PDF 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: 2.0
27+
28+
"""
29+
30+
31+
from pprint import pformat
32+
from six import iteritems
33+
import re
34+
35+
36+
class CaptionPosition(object):
37+
"""
38+
NOTE: This class is auto generated by the swagger code generator program.
39+
Do not edit the class manually.
40+
"""
41+
42+
"""
43+
allowed enum values
44+
"""
45+
INLINE = "Inline"
46+
TOP = "Top"
47+
48+
"""
49+
Attributes:
50+
swagger_types (dict): The key is attribute name
51+
and the value is attribute type.
52+
attribute_map (dict): The key is attribute name
53+
and the value is json key in definition.
54+
"""
55+
swagger_types = {
56+
57+
}
58+
59+
attribute_map = {
60+
61+
}
62+
63+
def __init__(self):
64+
"""
65+
CaptionPosition - a model defined in Swagger
66+
"""
67+
68+
69+
70+
def to_dict(self):
71+
"""
72+
Returns the model properties as a dict
73+
"""
74+
result = {}
75+
76+
for attr, _ in iteritems(self.swagger_types):
77+
value = getattr(self, attr)
78+
if isinstance(value, list):
79+
result[attr] = list(map(
80+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
81+
value
82+
))
83+
elif hasattr(value, "to_dict"):
84+
result[attr] = value.to_dict()
85+
elif isinstance(value, dict):
86+
result[attr] = dict(map(
87+
lambda item: (item[0], item[1].to_dict())
88+
if hasattr(item[1], "to_dict") else item,
89+
value.items()
90+
))
91+
else:
92+
result[attr] = value
93+
94+
return result
95+
96+
def to_str(self):
97+
"""
98+
Returns the string representation of the model
99+
"""
100+
return pformat(self.to_dict())
101+
102+
def __repr__(self):
103+
"""
104+
For `print` and `pprint`
105+
"""
106+
return self.to_str()
107+
108+
def __eq__(self, other):
109+
"""
110+
Returns true if both objects are equal
111+
"""
112+
if not isinstance(other, CaptionPosition):
113+
return False
114+
115+
return self.__dict__ == other.__dict__
116+
117+
def __ne__(self, other):
118+
"""
119+
Returns true if both objects are not equal
120+
"""
121+
return not self == other

0 commit comments

Comments
 (0)