Skip to content

Commit 4d58a03

Browse files
Merge pull request #22 from kaferi/master
Update to v19.10
2 parents 4641f23 + 4797b11 commit 4d58a03

32 files changed

+6378
-165
lines changed

README.md

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

asposepdfcloud/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from .models.aspose_response import AsposeResponse
3939
from .models.border_corner_style import BorderCornerStyle
4040
from .models.border_info import BorderInfo
41+
from .models.box_style import BoxStyle
4142
from .models.cap_style import CapStyle
4243
from .models.caption_position import CaptionPosition
4344
from .models.caret_symbol import CaretSymbol
@@ -85,6 +86,7 @@
8586
from .models.merge_documents import MergeDocuments
8687
from .models.object_exist import ObjectExist
8788
from .models.optimize_options import OptimizeOptions
89+
from .models.option import Option
8890
from .models.page_word_count import PageWordCount
8991
from .models.paragraph import Paragraph
9092
from .models.parts_embedding_modes import PartsEmbeddingModes
@@ -139,6 +141,9 @@
139141
from .models.caret_annotation_response import CaretAnnotationResponse
140142
from .models.caret_annotations import CaretAnnotations
141143
from .models.caret_annotations_response import CaretAnnotationsResponse
144+
from .models.check_box_field_response import CheckBoxFieldResponse
145+
from .models.check_box_fields import CheckBoxFields
146+
from .models.check_box_fields_response import CheckBoxFieldsResponse
142147
from .models.circle_annotation_response import CircleAnnotationResponse
143148
from .models.circle_annotations import CircleAnnotations
144149
from .models.circle_annotations_response import CircleAnnotationsResponse
@@ -193,6 +198,9 @@
193198
from .models.popup_annotation_response import PopupAnnotationResponse
194199
from .models.popup_annotations import PopupAnnotations
195200
from .models.popup_annotations_response import PopupAnnotationsResponse
201+
from .models.radio_button_field_response import RadioButtonFieldResponse
202+
from .models.radio_button_fields import RadioButtonFields
203+
from .models.radio_button_fields_response import RadioButtonFieldsResponse
196204
from .models.redaction_annotation_response import RedactionAnnotationResponse
197205
from .models.redaction_annotations import RedactionAnnotations
198206
from .models.redaction_annotations_response import RedactionAnnotationsResponse
@@ -242,6 +250,8 @@
242250
from .models.underline_annotations_response import UnderlineAnnotationsResponse
243251
from .models.word_count_response import WordCountResponse
244252
from .models.annotation_info import AnnotationInfo
253+
from .models.check_box_field import CheckBoxField
254+
from .models.choice_field import ChoiceField
245255
from .models.image_footer import ImageFooter
246256
from .models.image_header import ImageHeader
247257
from .models.image_stamp import ImageStamp
@@ -250,6 +260,7 @@
250260
from .models.page_number_stamp import PageNumberStamp
251261
from .models.pdf_page_stamp import PdfPageStamp
252262
from .models.popup_annotation import PopupAnnotation
263+
from .models.radio_button_option_field import RadioButtonOptionField
253264
from .models.redaction_annotation import RedactionAnnotation
254265
from .models.screen_annotation import ScreenAnnotation
255266
from .models.signature_field import SignatureField
@@ -266,6 +277,7 @@
266277
from .models.line_annotation import LineAnnotation
267278
from .models.poly_annotation import PolyAnnotation
268279
from .models.popup_annotation_with_parent import PopupAnnotationWithParent
280+
from .models.radio_button_field import RadioButtonField
269281
from .models.sound_annotation import SoundAnnotation
270282
from .models.squiggly_annotation import SquigglyAnnotation
271283
from .models.stamp_annotation import StampAnnotation

asposepdfcloud/apis/pdf_api.py

Lines changed: 1352 additions & 162 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
@@ -199,5 +199,5 @@ def to_debug_report(self):
199199
"OS: {env}\n"\
200200
"Python Version: {pyversion}\n"\
201201
"Version of the API: 3.0\n"\
202-
"SDK Package Version: 19.9.0".\
202+
"SDK Package Version: 19.10.0".\
203203
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from .aspose_response import AsposeResponse
3939
from .border_corner_style import BorderCornerStyle
4040
from .border_info import BorderInfo
41+
from .box_style import BoxStyle
4142
from .cap_style import CapStyle
4243
from .caption_position import CaptionPosition
4344
from .caret_symbol import CaretSymbol
@@ -85,6 +86,7 @@
8586
from .merge_documents import MergeDocuments
8687
from .object_exist import ObjectExist
8788
from .optimize_options import OptimizeOptions
89+
from .option import Option
8890
from .page_word_count import PageWordCount
8991
from .paragraph import Paragraph
9092
from .parts_embedding_modes import PartsEmbeddingModes
@@ -139,6 +141,9 @@
139141
from .caret_annotation_response import CaretAnnotationResponse
140142
from .caret_annotations import CaretAnnotations
141143
from .caret_annotations_response import CaretAnnotationsResponse
144+
from .check_box_field_response import CheckBoxFieldResponse
145+
from .check_box_fields import CheckBoxFields
146+
from .check_box_fields_response import CheckBoxFieldsResponse
142147
from .circle_annotation_response import CircleAnnotationResponse
143148
from .circle_annotations import CircleAnnotations
144149
from .circle_annotations_response import CircleAnnotationsResponse
@@ -193,6 +198,9 @@
193198
from .popup_annotation_response import PopupAnnotationResponse
194199
from .popup_annotations import PopupAnnotations
195200
from .popup_annotations_response import PopupAnnotationsResponse
201+
from .radio_button_field_response import RadioButtonFieldResponse
202+
from .radio_button_fields import RadioButtonFields
203+
from .radio_button_fields_response import RadioButtonFieldsResponse
196204
from .redaction_annotation_response import RedactionAnnotationResponse
197205
from .redaction_annotations import RedactionAnnotations
198206
from .redaction_annotations_response import RedactionAnnotationsResponse
@@ -242,6 +250,8 @@
242250
from .underline_annotations_response import UnderlineAnnotationsResponse
243251
from .word_count_response import WordCountResponse
244252
from .annotation_info import AnnotationInfo
253+
from .check_box_field import CheckBoxField
254+
from .choice_field import ChoiceField
245255
from .image_footer import ImageFooter
246256
from .image_header import ImageHeader
247257
from .image_stamp import ImageStamp
@@ -250,6 +260,7 @@
250260
from .page_number_stamp import PageNumberStamp
251261
from .pdf_page_stamp import PdfPageStamp
252262
from .popup_annotation import PopupAnnotation
263+
from .radio_button_option_field import RadioButtonOptionField
253264
from .redaction_annotation import RedactionAnnotation
254265
from .screen_annotation import ScreenAnnotation
255266
from .signature_field import SignatureField
@@ -266,6 +277,7 @@
266277
from .line_annotation import LineAnnotation
267278
from .poly_annotation import PolyAnnotation
268279
from .popup_annotation_with_parent import PopupAnnotationWithParent
280+
from .radio_button_field import RadioButtonField
269281
from .sound_annotation import SoundAnnotation
270282
from .squiggly_annotation import SquigglyAnnotation
271283
from .stamp_annotation import StampAnnotation

asposepdfcloud/models/box_style.py

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# coding: utf-8
2+
3+
"""
4+
Aspose.PDF Cloud API Reference
5+
6+
7+
Copyright (c) 2019 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: 3.0
27+
28+
"""
29+
30+
31+
from pprint import pformat
32+
from six import iteritems
33+
import re
34+
35+
36+
class BoxStyle(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+
CIRCLE = "Circle"
46+
CHECK = "Check"
47+
CROSS = "Cross"
48+
DIAMOND = "Diamond"
49+
SQUARE = "Square"
50+
STAR = "Star"
51+
52+
"""
53+
Attributes:
54+
swagger_types (dict): The key is attribute name
55+
and the value is attribute type.
56+
attribute_map (dict): The key is attribute name
57+
and the value is json key in definition.
58+
"""
59+
swagger_types = {
60+
61+
}
62+
63+
attribute_map = {
64+
65+
}
66+
67+
def __init__(self):
68+
"""
69+
BoxStyle - a model defined in Swagger
70+
"""
71+
72+
73+
74+
def to_dict(self):
75+
"""
76+
Returns the model properties as a dict
77+
"""
78+
result = {}
79+
80+
for attr, _ in iteritems(self.swagger_types):
81+
value = getattr(self, attr)
82+
if isinstance(value, list):
83+
result[attr] = list(map(
84+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85+
value
86+
))
87+
elif hasattr(value, "to_dict"):
88+
result[attr] = value.to_dict()
89+
elif isinstance(value, dict):
90+
result[attr] = dict(map(
91+
lambda item: (item[0], item[1].to_dict())
92+
if hasattr(item[1], "to_dict") else item,
93+
value.items()
94+
))
95+
else:
96+
result[attr] = value
97+
98+
return result
99+
100+
def to_str(self):
101+
"""
102+
Returns the string representation of the model
103+
"""
104+
return pformat(self.to_dict())
105+
106+
def __repr__(self):
107+
"""
108+
For `print` and `pprint`
109+
"""
110+
return self.to_str()
111+
112+
def __eq__(self, other):
113+
"""
114+
Returns true if both objects are equal
115+
"""
116+
if not isinstance(other, BoxStyle):
117+
return False
118+
119+
return self.__dict__ == other.__dict__
120+
121+
def __ne__(self, other):
122+
"""
123+
Returns true if both objects are not equal
124+
"""
125+
return not self == other

0 commit comments

Comments
 (0)