groupdocs-conversion-cloud 25.9__py3-none-any.whl → 25.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. groupdocs_conversion_cloud/__init__.py +13 -1
  2. groupdocs_conversion_cloud/api_client.py +2 -2
  3. groupdocs_conversion_cloud/configuration.py +2 -2
  4. groupdocs_conversion_cloud/models/__init__.py +13 -1
  5. groupdocs_conversion_cloud/models/compression_load_options.py +134 -0
  6. groupdocs_conversion_cloud/models/database_load_options.py +103 -0
  7. groupdocs_conversion_cloud/models/e_book_load_options.py +103 -0
  8. groupdocs_conversion_cloud/models/finance_load_options.py +103 -0
  9. groupdocs_conversion_cloud/models/font_load_options.py +103 -0
  10. groupdocs_conversion_cloud/models/gis_load_options.py +167 -0
  11. groupdocs_conversion_cloud/models/mbox_load_options.py +103 -0
  12. groupdocs_conversion_cloud/models/{one_load_options.py → note_load_options.py} +5 -5
  13. groupdocs_conversion_cloud/models/olm_load_options.py +134 -0
  14. groupdocs_conversion_cloud/models/pdl_load_options.py +103 -0
  15. groupdocs_conversion_cloud/models/pub_load_options.py +103 -0
  16. groupdocs_conversion_cloud/models/three_d_load_options.py +103 -0
  17. groupdocs_conversion_cloud/models/vcf_load_options.py +134 -0
  18. {groupdocs_conversion_cloud-25.9.dist-info → groupdocs_conversion_cloud-25.10.dist-info}/METADATA +1 -1
  19. {groupdocs_conversion_cloud-25.9.dist-info → groupdocs_conversion_cloud-25.10.dist-info}/RECORD +22 -10
  20. {groupdocs_conversion_cloud-25.9.dist-info → groupdocs_conversion_cloud-25.10.dist-info}/WHEEL +0 -0
  21. {groupdocs_conversion_cloud-25.9.dist-info → groupdocs_conversion_cloud-25.10.dist-info}/licenses/LICENSE +0 -0
  22. {groupdocs_conversion_cloud-25.9.dist-info → groupdocs_conversion_cloud-25.10.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,167 @@
1
+ # coding: utf-8
2
+
3
+ # -----------------------------------------------------------------------------------
4
+ # <copyright company="Aspose Pty Ltd" file="GisLoadOptions.py">
5
+ # Copyright (c) Aspose Pty Ltd
6
+ # </copyright>
7
+ # <summary>
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
+ #
15
+ # The above copyright notice and this permission notice shall be included in all
16
+ # copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ # SOFTWARE.
25
+ # </summary>
26
+ # -----------------------------------------------------------------------------------
27
+
28
+ import pprint
29
+ import re # noqa: F401
30
+
31
+ import six
32
+
33
+ from groupdocs_conversion_cloud.models import LoadOptions
34
+
35
+ class GisLoadOptions(LoadOptions):
36
+ """
37
+ Options for loading Gis documents
38
+ """
39
+
40
+ """
41
+ Attributes:
42
+ swagger_types (dict): The key is attribute name
43
+ and the value is attribute type.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ """
47
+ swagger_types = {
48
+ 'width': 'int',
49
+ 'height': 'int'
50
+ }
51
+
52
+ attribute_map = {
53
+ 'width': 'Width',
54
+ 'height': 'Height'
55
+ }
56
+
57
+ def __init__(self, width=None, height=None, **kwargs): # noqa: E501
58
+ """Initializes new instance of GisLoadOptions""" # noqa: E501
59
+
60
+ self._width = None
61
+ self._height = None
62
+
63
+ if width is not None:
64
+ self.width = width
65
+ if height is not None:
66
+ self.height = height
67
+
68
+ base = super(GisLoadOptions, self)
69
+ base.__init__(**kwargs)
70
+
71
+ self.swagger_types.update(base.swagger_types)
72
+ self.attribute_map.update(base.attribute_map)
73
+
74
+ @property
75
+ def width(self):
76
+ """
77
+ Gets the width. # noqa: E501
78
+
79
+ Page width for converting GIS document. Default is 1000. # noqa: E501
80
+
81
+ :return: The width. # noqa: E501
82
+ :rtype: int
83
+ """
84
+ return self._width
85
+
86
+ @width.setter
87
+ def width(self, width):
88
+ """
89
+ Sets the width.
90
+
91
+ Page width for converting GIS document. Default is 1000. # noqa: E501
92
+
93
+ :param width: The width. # noqa: E501
94
+ :type: int
95
+ """
96
+ if width is None:
97
+ raise ValueError("Invalid value for `width`, must not be `None`") # noqa: E501
98
+ self._width = width
99
+
100
+ @property
101
+ def height(self):
102
+ """
103
+ Gets the height. # noqa: E501
104
+
105
+ Page height for converting GIS document. Default is 1000. # noqa: E501
106
+
107
+ :return: The height. # noqa: E501
108
+ :rtype: int
109
+ """
110
+ return self._height
111
+
112
+ @height.setter
113
+ def height(self, height):
114
+ """
115
+ Sets the height.
116
+
117
+ Page height for converting GIS document. Default is 1000. # noqa: E501
118
+
119
+ :param height: The height. # noqa: E501
120
+ :type: int
121
+ """
122
+ if height is None:
123
+ raise ValueError("Invalid value for `height`, must not be `None`") # noqa: E501
124
+ self._height = height
125
+
126
+ def to_dict(self):
127
+ """Returns the model properties as a dict"""
128
+ result = {}
129
+
130
+ for attr, _ in six.iteritems(self.swagger_types):
131
+ value = getattr(self, attr)
132
+ if isinstance(value, list):
133
+ result[attr] = list(map(
134
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
135
+ value
136
+ ))
137
+ elif hasattr(value, "to_dict"):
138
+ result[attr] = value.to_dict()
139
+ elif isinstance(value, dict):
140
+ result[attr] = dict(map(
141
+ lambda item: (item[0], item[1].to_dict())
142
+ if hasattr(item[1], "to_dict") else item,
143
+ value.items()
144
+ ))
145
+ else:
146
+ result[attr] = value
147
+
148
+ return result
149
+
150
+ def to_str(self):
151
+ """Returns the string representation of the model"""
152
+ return pprint.pformat(self.to_dict())
153
+
154
+ def __repr__(self):
155
+ """For `print` and `pprint`"""
156
+ return self.to_str()
157
+
158
+ def __eq__(self, other):
159
+ """Returns true if both objects are equal"""
160
+ if not isinstance(other, GisLoadOptions):
161
+ return False
162
+
163
+ return self.__dict__ == other.__dict__
164
+
165
+ def __ne__(self, other):
166
+ """Returns true if both objects are not equal"""
167
+ return not self == other
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ # -----------------------------------------------------------------------------------
4
+ # <copyright company="Aspose Pty Ltd" file="MboxLoadOptions.py">
5
+ # Copyright (c) Aspose Pty Ltd
6
+ # </copyright>
7
+ # <summary>
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
+ #
15
+ # The above copyright notice and this permission notice shall be included in all
16
+ # copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ # SOFTWARE.
25
+ # </summary>
26
+ # -----------------------------------------------------------------------------------
27
+
28
+ import pprint
29
+ import re # noqa: F401
30
+
31
+ import six
32
+
33
+ from groupdocs_conversion_cloud.models import LoadOptions
34
+
35
+ class MboxLoadOptions(LoadOptions):
36
+ """
37
+ Options for loading Mbox documents
38
+ """
39
+
40
+ """
41
+ Attributes:
42
+ swagger_types (dict): The key is attribute name
43
+ and the value is attribute type.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ """
47
+ swagger_types = {
48
+ }
49
+
50
+ attribute_map = {
51
+ }
52
+
53
+ def __init__(self, **kwargs): # noqa: E501
54
+ """Initializes new instance of MboxLoadOptions""" # noqa: E501
55
+
56
+ base = super(MboxLoadOptions, self)
57
+ base.__init__(**kwargs)
58
+
59
+ self.swagger_types.update(base.swagger_types)
60
+ self.attribute_map.update(base.attribute_map)
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.swagger_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ result[attr] = value
83
+
84
+ return result
85
+
86
+ def to_str(self):
87
+ """Returns the string representation of the model"""
88
+ return pprint.pformat(self.to_dict())
89
+
90
+ def __repr__(self):
91
+ """For `print` and `pprint`"""
92
+ return self.to_str()
93
+
94
+ def __eq__(self, other):
95
+ """Returns true if both objects are equal"""
96
+ if not isinstance(other, MboxLoadOptions):
97
+ return False
98
+
99
+ return self.__dict__ == other.__dict__
100
+
101
+ def __ne__(self, other):
102
+ """Returns true if both objects are not equal"""
103
+ return not self == other
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
 
3
3
  # -----------------------------------------------------------------------------------
4
- # <copyright company="Aspose Pty Ltd" file="OneLoadOptions.py">
4
+ # <copyright company="Aspose Pty Ltd" file="NoteLoadOptions.py">
5
5
  # Copyright (c) Aspose Pty Ltd
6
6
  # </copyright>
7
7
  # <summary>
@@ -32,7 +32,7 @@ import six
32
32
 
33
33
  from groupdocs_conversion_cloud.models import LoadOptions
34
34
 
35
- class OneLoadOptions(LoadOptions):
35
+ class NoteLoadOptions(LoadOptions):
36
36
  """
37
37
  One document load options
38
38
  """
@@ -57,7 +57,7 @@ class OneLoadOptions(LoadOptions):
57
57
  }
58
58
 
59
59
  def __init__(self, default_font=None, font_substitutes=None, password=None, **kwargs): # noqa: E501
60
- """Initializes new instance of OneLoadOptions""" # noqa: E501
60
+ """Initializes new instance of NoteLoadOptions""" # noqa: E501
61
61
 
62
62
  self._default_font = None
63
63
  self._font_substitutes = None
@@ -70,7 +70,7 @@ class OneLoadOptions(LoadOptions):
70
70
  if password is not None:
71
71
  self.password = password
72
72
 
73
- base = super(OneLoadOptions, self)
73
+ base = super(NoteLoadOptions, self)
74
74
  base.__init__(**kwargs)
75
75
 
76
76
  self.swagger_types.update(base.swagger_types)
@@ -182,7 +182,7 @@ class OneLoadOptions(LoadOptions):
182
182
 
183
183
  def __eq__(self, other):
184
184
  """Returns true if both objects are equal"""
185
- if not isinstance(other, OneLoadOptions):
185
+ if not isinstance(other, NoteLoadOptions):
186
186
  return False
187
187
 
188
188
  return self.__dict__ == other.__dict__
@@ -0,0 +1,134 @@
1
+ # coding: utf-8
2
+
3
+ # -----------------------------------------------------------------------------------
4
+ # <copyright company="Aspose Pty Ltd" file="OlmLoadOptions.py">
5
+ # Copyright (c) Aspose Pty Ltd
6
+ # </copyright>
7
+ # <summary>
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
+ #
15
+ # The above copyright notice and this permission notice shall be included in all
16
+ # copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ # SOFTWARE.
25
+ # </summary>
26
+ # -----------------------------------------------------------------------------------
27
+
28
+ import pprint
29
+ import re # noqa: F401
30
+
31
+ import six
32
+
33
+ from groupdocs_conversion_cloud.models import LoadOptions
34
+
35
+ class OlmLoadOptions(LoadOptions):
36
+ """
37
+ Options for loading Olm documents
38
+ """
39
+
40
+ """
41
+ Attributes:
42
+ swagger_types (dict): The key is attribute name
43
+ and the value is attribute type.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ """
47
+ swagger_types = {
48
+ 'folder': 'str'
49
+ }
50
+
51
+ attribute_map = {
52
+ 'folder': 'Folder'
53
+ }
54
+
55
+ def __init__(self, folder=None, **kwargs): # noqa: E501
56
+ """Initializes new instance of OlmLoadOptions""" # noqa: E501
57
+
58
+ self._folder = None
59
+
60
+ if folder is not None:
61
+ self.folder = folder
62
+
63
+ base = super(OlmLoadOptions, self)
64
+ base.__init__(**kwargs)
65
+
66
+ self.swagger_types.update(base.swagger_types)
67
+ self.attribute_map.update(base.attribute_map)
68
+
69
+ @property
70
+ def folder(self):
71
+ """
72
+ Gets the folder. # noqa: E501
73
+
74
+ Folder which to be processed Default is Inbox # noqa: E501
75
+
76
+ :return: The folder. # noqa: E501
77
+ :rtype: str
78
+ """
79
+ return self._folder
80
+
81
+ @folder.setter
82
+ def folder(self, folder):
83
+ """
84
+ Sets the folder.
85
+
86
+ Folder which to be processed Default is Inbox # noqa: E501
87
+
88
+ :param folder: The folder. # noqa: E501
89
+ :type: str
90
+ """
91
+ self._folder = folder
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.swagger_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ result[attr] = value
114
+
115
+ return result
116
+
117
+ def to_str(self):
118
+ """Returns the string representation of the model"""
119
+ return pprint.pformat(self.to_dict())
120
+
121
+ def __repr__(self):
122
+ """For `print` and `pprint`"""
123
+ return self.to_str()
124
+
125
+ def __eq__(self, other):
126
+ """Returns true if both objects are equal"""
127
+ if not isinstance(other, OlmLoadOptions):
128
+ return False
129
+
130
+ return self.__dict__ == other.__dict__
131
+
132
+ def __ne__(self, other):
133
+ """Returns true if both objects are not equal"""
134
+ return not self == other
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ # -----------------------------------------------------------------------------------
4
+ # <copyright company="Aspose Pty Ltd" file="PdlLoadOptions.py">
5
+ # Copyright (c) Aspose Pty Ltd
6
+ # </copyright>
7
+ # <summary>
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
+ #
15
+ # The above copyright notice and this permission notice shall be included in all
16
+ # copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ # SOFTWARE.
25
+ # </summary>
26
+ # -----------------------------------------------------------------------------------
27
+
28
+ import pprint
29
+ import re # noqa: F401
30
+
31
+ import six
32
+
33
+ from groupdocs_conversion_cloud.models import LoadOptions
34
+
35
+ class PdlLoadOptions(LoadOptions):
36
+ """
37
+ Options for loading Pdl documents
38
+ """
39
+
40
+ """
41
+ Attributes:
42
+ swagger_types (dict): The key is attribute name
43
+ and the value is attribute type.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ """
47
+ swagger_types = {
48
+ }
49
+
50
+ attribute_map = {
51
+ }
52
+
53
+ def __init__(self, **kwargs): # noqa: E501
54
+ """Initializes new instance of PdlLoadOptions""" # noqa: E501
55
+
56
+ base = super(PdlLoadOptions, self)
57
+ base.__init__(**kwargs)
58
+
59
+ self.swagger_types.update(base.swagger_types)
60
+ self.attribute_map.update(base.attribute_map)
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.swagger_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ result[attr] = value
83
+
84
+ return result
85
+
86
+ def to_str(self):
87
+ """Returns the string representation of the model"""
88
+ return pprint.pformat(self.to_dict())
89
+
90
+ def __repr__(self):
91
+ """For `print` and `pprint`"""
92
+ return self.to_str()
93
+
94
+ def __eq__(self, other):
95
+ """Returns true if both objects are equal"""
96
+ if not isinstance(other, PdlLoadOptions):
97
+ return False
98
+
99
+ return self.__dict__ == other.__dict__
100
+
101
+ def __ne__(self, other):
102
+ """Returns true if both objects are not equal"""
103
+ return not self == other
@@ -0,0 +1,103 @@
1
+ # coding: utf-8
2
+
3
+ # -----------------------------------------------------------------------------------
4
+ # <copyright company="Aspose Pty Ltd" file="PubLoadOptions.py">
5
+ # Copyright (c) Aspose Pty Ltd
6
+ # </copyright>
7
+ # <summary>
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
+ #
15
+ # The above copyright notice and this permission notice shall be included in all
16
+ # copies or substantial portions of the Software.
17
+ #
18
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ # SOFTWARE.
25
+ # </summary>
26
+ # -----------------------------------------------------------------------------------
27
+
28
+ import pprint
29
+ import re # noqa: F401
30
+
31
+ import six
32
+
33
+ from groupdocs_conversion_cloud.models import LoadOptions
34
+
35
+ class PubLoadOptions(LoadOptions):
36
+ """
37
+ Options for loading Pub documents
38
+ """
39
+
40
+ """
41
+ Attributes:
42
+ swagger_types (dict): The key is attribute name
43
+ and the value is attribute type.
44
+ attribute_map (dict): The key is attribute name
45
+ and the value is json key in definition.
46
+ """
47
+ swagger_types = {
48
+ }
49
+
50
+ attribute_map = {
51
+ }
52
+
53
+ def __init__(self, **kwargs): # noqa: E501
54
+ """Initializes new instance of PubLoadOptions""" # noqa: E501
55
+
56
+ base = super(PubLoadOptions, self)
57
+ base.__init__(**kwargs)
58
+
59
+ self.swagger_types.update(base.swagger_types)
60
+ self.attribute_map.update(base.attribute_map)
61
+
62
+ def to_dict(self):
63
+ """Returns the model properties as a dict"""
64
+ result = {}
65
+
66
+ for attr, _ in six.iteritems(self.swagger_types):
67
+ value = getattr(self, attr)
68
+ if isinstance(value, list):
69
+ result[attr] = list(map(
70
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
71
+ value
72
+ ))
73
+ elif hasattr(value, "to_dict"):
74
+ result[attr] = value.to_dict()
75
+ elif isinstance(value, dict):
76
+ result[attr] = dict(map(
77
+ lambda item: (item[0], item[1].to_dict())
78
+ if hasattr(item[1], "to_dict") else item,
79
+ value.items()
80
+ ))
81
+ else:
82
+ result[attr] = value
83
+
84
+ return result
85
+
86
+ def to_str(self):
87
+ """Returns the string representation of the model"""
88
+ return pprint.pformat(self.to_dict())
89
+
90
+ def __repr__(self):
91
+ """For `print` and `pprint`"""
92
+ return self.to_str()
93
+
94
+ def __eq__(self, other):
95
+ """Returns true if both objects are equal"""
96
+ if not isinstance(other, PubLoadOptions):
97
+ return False
98
+
99
+ return self.__dict__ == other.__dict__
100
+
101
+ def __ne__(self, other):
102
+ """Returns true if both objects are not equal"""
103
+ return not self == other