Skip to content

Commit 3ff9c0e

Browse files
authored
Release 22.11
Version up (#39) Add MaxiCodeMode class Add 'mode' => '\Aspose\BarCode\Model\MaxiCodeMode' to MaxiCodeParams Delete 'encode_mode' => 'int' from MaxiCodeParams
1 parent a6e7f4d commit 3ff9c0e

File tree

6 files changed

+101
-18
lines changed

6 files changed

+101
-18
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/aspose/barcode-cloud-php/php)](https://packagist.org/packages/aspose/barcode-cloud-php)
77

88
- API version: 3.0
9-
- Package version: 22.10.0
9+
- Package version: 22.11.0
1010
- Supported PHP versions: ">=7.3 || >=8.0"
1111

1212
## Demo applications
@@ -156,6 +156,7 @@ Class | Method | HTTP request | Description
156156
- [ITF14BorderType](docs/Model/ITF14BorderType.md)
157157
- [ITFParams](docs/Model/ITFParams.md)
158158
- [MacroCharacter](docs/Model/MacroCharacter.md)
159+
- [MaxiCodeMode](docs/Model/MaxiCodeMode.md)
159160
- [MaxiCodeParams](docs/Model/MaxiCodeParams.md)
160161
- [ObjectExist](docs/Model/ObjectExist.md)
161162
- [Padding](docs/Model/Padding.md)

docs/Model/MaxiCodeMode.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# MaxiCodeMode
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
7+
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
8+
9+

docs/Model/MaxiCodeParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**aspect_ratio** | **double** | Height/Width ratio of 2D BarCode module. | [optional]
7-
**encode_mode** | **int** | MaxiCode encode mode. | [optional]
7+
**mode** | [**\Aspose\BarCode\Model\MaxiCodeMode**](MaxiCodeMode.md) | Encoding mode for MaxiCode barcodes. | [optional]
88

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

src/Aspose/BarCode/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Configuration implements JsonSerializable
4949
*
5050
* @var string
5151
*/
52-
protected $clientVersion = '22.10.0';
52+
protected $clientVersion = '22.11.0';
5353

5454
/*
5555
* ClientId for API
@@ -378,7 +378,7 @@ public static function toDebugReport()
378378
$report .= ' OS: ' . php_uname() . PHP_EOL;
379379
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
380380
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
381-
$report .= ' SDK Package Version: 22.10.0' . PHP_EOL;
381+
$report .= ' SDK Package Version: 22.11.0' . PHP_EOL;
382382
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
383383

384384
return $report;
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
/*
5+
* --------------------------------------------------------------------------------------------------------------------
6+
* <copyright company="Aspose" file="MaxiCodeMode.php">
7+
* Copyright (c) 2022 Aspose Pty Ltd
8+
* </copyright>
9+
* <summary>
10+
* Permission is hereby granted, free of charge, to any person obtaining a copy
11+
* of this software and associated documentation files (the "Software"), to deal
12+
* in the Software without restriction, including without limitation the rights
13+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
* copies of the Software, and to permit persons to whom the Software is
15+
* furnished to do so, subject to the following conditions:
16+
*
17+
* The above copyright notice and this permission notice shall be included in all
18+
* copies or substantial portions of the Software.
19+
*
20+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26+
* SOFTWARE.
27+
* </summary>
28+
* --------------------------------------------------------------------------------------------------------------------
29+
*/
30+
31+
/*
32+
*
33+
*/
34+
//
35+
// This source code was auto-generated by AsposeBarcodeCloudCodegen.
36+
//
37+
38+
namespace Aspose\BarCode\Model;
39+
40+
use Aspose\BarCode\ObjectSerializer;
41+
42+
/*
43+
* MaxiCodeMode
44+
*
45+
* @description
46+
*/
47+
class MaxiCodeMode
48+
{
49+
/// <summary>
50+
/// Enum value Mode2
51+
/// </summary>
52+
public const Mode2 = "Mode2";
53+
54+
/// <summary>
55+
/// Enum value Mode3
56+
/// </summary>
57+
public const Mode3 = "Mode3";
58+
59+
/// <summary>
60+
/// Enum value Mode4
61+
/// </summary>
62+
public const Mode4 = "Mode4";
63+
64+
/// <summary>
65+
/// Enum value Mode5
66+
/// </summary>
67+
public const Mode5 = "Mode5";
68+
69+
/// <summary>
70+
/// Enum value Mode6
71+
/// </summary>
72+
public const Mode6 = "Mode6";
73+
}

src/Aspose/BarCode/Model/MaxiCodeParams.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MaxiCodeParams implements ArrayAccess
6363
*/
6464
protected static $swaggerTypes = [
6565
'aspect_ratio' => 'double',
66-
'encode_mode' => 'int'
66+
'mode' => '\Aspose\BarCode\Model\MaxiCodeMode'
6767
];
6868

6969
/*
@@ -73,7 +73,7 @@ class MaxiCodeParams implements ArrayAccess
7373
*/
7474
protected static $swaggerFormats = [
7575
'aspect_ratio' => 'double',
76-
'encode_mode' => 'int32'
76+
'mode' => null
7777
];
7878

7979
/*
@@ -104,7 +104,7 @@ public static function swaggerFormats()
104104
*/
105105
protected static $attributeMap = [
106106
'aspect_ratio' => 'AspectRatio',
107-
'encode_mode' => 'EncodeMode'
107+
'mode' => 'Mode'
108108
];
109109

110110
/*
@@ -114,7 +114,7 @@ public static function swaggerFormats()
114114
*/
115115
protected static $setters = [
116116
'aspect_ratio' => 'setAspectRatio',
117-
'encode_mode' => 'setEncodeMode'
117+
'mode' => 'setMode'
118118
];
119119

120120
/*
@@ -124,7 +124,7 @@ public static function swaggerFormats()
124124
*/
125125
protected static $getters = [
126126
'aspect_ratio' => 'getAspectRatio',
127-
'encode_mode' => 'getEncodeMode'
127+
'mode' => 'getMode'
128128
];
129129

130130
/*
@@ -188,7 +188,7 @@ public function getModelName()
188188
public function __construct(array $data = null)
189189
{
190190
$this->container['aspect_ratio'] = isset($data['aspect_ratio']) ? $data['aspect_ratio'] : null;
191-
$this->container['encode_mode'] = isset($data['encode_mode']) ? $data['encode_mode'] : null;
191+
$this->container['mode'] = isset($data['mode']) ? $data['mode'] : null;
192192
}
193193

194194
/*
@@ -240,25 +240,25 @@ public function setAspectRatio($aspect_ratio)
240240
}
241241

242242
/*
243-
* Gets encode_mode
243+
* Gets mode
244244
*
245-
* @return int
245+
* @return \Aspose\BarCode\Model\MaxiCodeMode
246246
*/
247-
public function getEncodeMode()
247+
public function getMode()
248248
{
249-
return $this->container['encode_mode'];
249+
return $this->container['mode'];
250250
}
251251

252252
/*
253-
* Sets encode_mode
253+
* Sets mode
254254
*
255-
* @param int $encode_mode MaxiCode encode mode.
255+
* @param \Aspose\BarCode\Model\MaxiCodeMode $mode Encoding mode for MaxiCode barcodes.
256256
*
257257
* @return $this
258258
*/
259-
public function setEncodeMode($encode_mode)
259+
public function setMode($mode)
260260
{
261-
$this->container['encode_mode'] = $encode_mode;
261+
$this->container['mode'] = $mode;
262262

263263
return $this;
264264
}

0 commit comments

Comments
 (0)