Skip to content

Commit cf9e37d

Browse files
authored
Version updated. (#88)
1 parent 75d5ca1 commit cf9e37d

File tree

8 files changed

+68
-68
lines changed

8 files changed

+68
-68
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)
66

77
- API version: 4.0
8-
- Package version: 25.4.0
8+
- Package version: 25.5.0
99

1010
## SDK and API Version Compatibility:
1111

aspose_barcode_cloud/api/generate_api.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ def generate(
4646
4747
:param EncodeBarcodeType barcode_type: Type of barcode to generate. # noqa: E501
4848
:param str data: String represents data to encode # noqa: E501
49-
:param EncodeDataType data_type: Type of data to encode. Default value: StringData. # noqa: E501
50-
:param BarcodeImageFormat image_format: Barcode output image format. Default value: png # noqa: E501
51-
:param CodeLocation text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. # noqa: E501
52-
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
53-
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
49+
:param EncodeDataType data_type: Type of data to encode. Default value: StringData. # noqa: E501
50+
:param BarcodeImageFormat image_format: Barcode output image format. Default value: png # noqa: E501
51+
:param CodeLocation text_location: Specify the displaying Text Location, set to CodeLocation.None to hide CodeText. Default value: Depends on BarcodeType. CodeLocation.Below for 1D Barcodes. CodeLocation.None for 2D Barcodes. # noqa: E501
52+
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
53+
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
5454
:param GraphicsUnit units: Common Units for all measuring in query. Default units: pixel. # noqa: E501
55-
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
56-
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
57-
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
58-
:param int rotation_angle: BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
55+
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
56+
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
57+
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
58+
:param int rotation_angle: BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
5959
:param async_req bool
6060
:return: bytearray
6161
If the method is called asynchronously,
@@ -356,13 +356,13 @@ def generate_multipart(
356356
:param EncodeDataType data_type: # noqa: E501
357357
:param BarcodeImageFormat image_format: # noqa: E501
358358
:param CodeLocation text_location: # noqa: E501
359-
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
360-
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
359+
:param str foreground_color: Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
360+
:param str background_color: Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
361361
:param GraphicsUnit units: # noqa: E501
362-
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
363-
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
364-
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
365-
:param int rotation_angle: BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
362+
:param float resolution: Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
363+
:param float image_height: Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
364+
:param float image_width: Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
365+
:param int rotation_angle: BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
366366
:param async_req bool
367367
:return: bytearray
368368
If the method is called asynchronously,

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
6060
self.rest_client = RESTClientObject(configuration)
6161
self.default_headers = {
6262
"x-aspose-client": "python sdk",
63-
"x-aspose-client-version": "25.4.0",
63+
"x-aspose-client-version": "25.5.0",
6464
}
6565
if header_name is not None:
6666
self.default_headers[header_name] = header_value
6767
self.cookie = cookie
6868
# Set default User-Agent.
69-
self.user_agent = "Aspose-Barcode-SDK/25.4.0/python"
69+
self.user_agent = "Aspose-Barcode-SDK/25.5.0/python"
7070

7171
def __del__(self):
7272
self.rest_client.close()

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def to_debug_report(self):
258258
"OS: {env}\n"
259259
"Python Version: {pyversion}\n"
260260
"Version of the API: 4.0\n"
261-
"SDK Package Version: 25.4.0".format(env=sys.platform, pyversion=sys.version)
261+
"SDK Package Version: 25.5.0".format(env=sys.platform, pyversion=sys.version)
262262
)
263263

264264
@staticmethod

aspose_barcode_cloud/models/barcode_image_params.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def text_location(self, text_location):
132132
def foreground_color(self):
133133
"""Gets the foreground_color of this BarcodeImageParams. # noqa: E501
134134
135-
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
135+
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
136136
137137
:return: The foreground_color of this BarcodeImageParams. # noqa: E501
138138
:rtype: str
@@ -143,7 +143,7 @@ def foreground_color(self):
143143
def foreground_color(self, foreground_color):
144144
"""Sets the foreground_color of this BarcodeImageParams.
145145
146-
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
146+
Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. # noqa: E501
147147
148148
:param foreground_color: The foreground_color of this BarcodeImageParams. # noqa: E501
149149
:type: str
@@ -155,7 +155,7 @@ def foreground_color(self, foreground_color):
155155
def background_color(self):
156156
"""Gets the background_color of this BarcodeImageParams. # noqa: E501
157157
158-
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
158+
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
159159
160160
:return: The background_color of this BarcodeImageParams. # noqa: E501
161161
:rtype: str
@@ -166,7 +166,7 @@ def background_color(self):
166166
def background_color(self, background_color):
167167
"""Sets the background_color of this BarcodeImageParams.
168168
169-
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
169+
Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. # noqa: E501
170170
171171
:param background_color: The background_color of this BarcodeImageParams. # noqa: E501
172172
:type: str
@@ -199,7 +199,7 @@ def units(self, units):
199199
def resolution(self):
200200
"""Gets the resolution of this BarcodeImageParams. # noqa: E501
201201
202-
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
202+
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
203203
204204
:return: The resolution of this BarcodeImageParams. # noqa: E501
205205
:rtype: float
@@ -210,7 +210,7 @@ def resolution(self):
210210
def resolution(self, resolution):
211211
"""Sets the resolution of this BarcodeImageParams.
212212
213-
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
213+
Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. # noqa: E501
214214
215215
:param resolution: The resolution of this BarcodeImageParams. # noqa: E501
216216
:type: float
@@ -230,7 +230,7 @@ def resolution(self, resolution):
230230
def image_height(self):
231231
"""Gets the image_height of this BarcodeImageParams. # noqa: E501
232232
233-
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
233+
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
234234
235235
:return: The image_height of this BarcodeImageParams. # noqa: E501
236236
:rtype: float
@@ -241,7 +241,7 @@ def image_height(self):
241241
def image_height(self, image_height):
242242
"""Sets the image_height of this BarcodeImageParams.
243243
244-
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
244+
Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
245245
246246
:param image_height: The image_height of this BarcodeImageParams. # noqa: E501
247247
:type: float
@@ -253,7 +253,7 @@ def image_height(self, image_height):
253253
def image_width(self):
254254
"""Gets the image_width of this BarcodeImageParams. # noqa: E501
255255
256-
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
256+
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
257257
258258
:return: The image_width of this BarcodeImageParams. # noqa: E501
259259
:rtype: float
@@ -264,7 +264,7 @@ def image_width(self):
264264
def image_width(self, image_width):
265265
"""Sets the image_width of this BarcodeImageParams.
266266
267-
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
267+
Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. # noqa: E501
268268
269269
:param image_width: The image_width of this BarcodeImageParams. # noqa: E501
270270
:type: float
@@ -276,7 +276,7 @@ def image_width(self, image_width):
276276
def rotation_angle(self):
277277
"""Gets the rotation_angle of this BarcodeImageParams. # noqa: E501
278278
279-
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
279+
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
280280
281281
:return: The rotation_angle of this BarcodeImageParams. # noqa: E501
282282
:rtype: int
@@ -287,7 +287,7 @@ def rotation_angle(self):
287287
def rotation_angle(self, rotation_angle):
288288
"""Sets the rotation_angle of this BarcodeImageParams.
289289
290-
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
290+
BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. # noqa: E501
291291
292292
:param rotation_angle: The rotation_angle of this BarcodeImageParams. # noqa: E501
293293
:type: int

docs/BarcodeImageParams.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Name | Type | Description | Notes
88
---- | ---- | ----------- | -----
99
**image_format** | [**BarcodeImageFormat**](BarcodeImageFormat.md) | | [optional]
1010
**text_location** | [**CodeLocation**](CodeLocation.md) | | [optional]
11-
**foreground_color** | **str** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
12-
**background_color** | **str** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
11+
**foreground_color** | **str** | Specify the displaying bars and content Color. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: Black. | [optional] [default to 'Black']
12+
**background_color** | **str** | Background color of the barcode image. Value: Color name from https://reference.aspose.com/drawing/net/system.drawing/color/ or ARGB value started with #. For example: AliceBlue or #FF000000 Default value: White. | [optional] [default to 'White']
1313
**units** | [**GraphicsUnit**](GraphicsUnit.md) | | [optional]
14-
**resolution** | **float** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
15-
**image_height** | **float** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
16-
**image_width** | **float** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
17-
**rotation_angle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
14+
**resolution** | **float** | Resolution of the BarCode image. One value for both dimensions. Default value: 96 dpi. Decimal separator is dot. | [optional]
15+
**image_height** | **float** | Height of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
16+
**image_width** | **float** | Width of the barcode image in given units. Default units: pixel. Decimal separator is dot. | [optional]
17+
**rotation_angle** | **int** | BarCode image rotation angle, measured in degree, e.g. RotationAngle = 0 or RotationAngle = 360 means no rotation. If RotationAngle NOT equal to 90, 180, 270 or 0, it may increase the difficulty for the scanner to read the image. Default value: 0. | [optional]
1818

1919
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)