diff --git a/CHANGELOG.md b/CHANGELOG.md index 63c5165..caca096 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# 0.0.5-beta 2023-05-12 + +### G42Cloud SDK ECS + +- _Features_ + - Support the interface `NovaAttachInterface` +- _Bug Fix_ + - None +- _Change_ + - None + +### G42Cloud SDK IMS + +- _Features_ + - None +- _Bug Fix_ + - None +- _Change_ + - **ListImages** + - changes of request param + - `+ __imagetype: enum value [market]` + # 0.0.4-beta 2023-04-14 ### G42Cloud SDK Core diff --git a/Core/composer.json b/Core/composer.json index 4a3ea6c..b00c1c3 100755 --- a/Core/composer.json +++ b/Core/composer.json @@ -8,7 +8,7 @@ "api", "core" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ diff --git a/Core/src/Auth/Signer.php b/Core/src/Auth/Signer.php index aca48ea..1d6f72a 100755 --- a/Core/src/Auth/Signer.php +++ b/Core/src/Auth/Signer.php @@ -115,8 +115,11 @@ private function CanonicalQueryString($r) array_push($a, $kv); } } else { - $kv = "$k=".str_replace(['+', '%7E'], ['%20', - '~', ], urlencode($value)); + if (!is_string($value)) { + $value = json_encode($value); + } + $kv = "$k=" . str_replace(['+', '%7E'], ['%20', + '~',], urlencode($value)); array_push($a, $kv); } } diff --git a/Services/Cdn/composer.json b/Services/Cdn/composer.json index a51bf3a..b3b6335 100755 --- a/Services/Cdn/composer.json +++ b/Services/Cdn/composer.json @@ -8,7 +8,7 @@ "api", "cdn" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Cse/composer.json b/Services/Cse/composer.json index 82daae8..b4cb194 100755 --- a/Services/Cse/composer.json +++ b/Services/Cse/composer.json @@ -8,7 +8,7 @@ "api", "cse" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Ecs/V2/EcsAsyncClient.php b/Services/Ecs/V2/EcsAsyncClient.php index 1a59fef..c2cac0c 100755 --- a/Services/Ecs/V2/EcsAsyncClient.php +++ b/Services/Ecs/V2/EcsAsyncClient.php @@ -2401,6 +2401,74 @@ public function novaAssociateSecurityGroupAsyncWithHttpInfo($request){ $asyncRequest = true); } + /** + * 添加云服务器网卡 + * + * 给云服务器添加一张网卡。 + * + * Please refer to G42 cloud API Explorer for details. + * + * @param $request 请求对象 + * @return response + */ + public function novaAttachInterfaceAsync($request) + { + return $this->novaAttachInterfaceAsyncWithHttpInfo($request); + } + + public function novaAttachInterfaceAsyncWithHttpInfo($request){ + $collection_formats = []; + $resourcePath = '/v2.1/{project_id}/servers/{server_id}/os-interface'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $pathParams = []; + $httpBody = null; + $multipart = false; + $localVarParams = []; + $arr = $request::attributeMap(); + foreach ($arr as $k => $v) { + $getter = $request::getters()[$k]; + $value = $request->$getter(); + $localVarParams[$k] = $value; + } + if ($localVarParams['serverId'] !== null) { + $pathParams['server_id'] = $localVarParams['serverId']; + } + if ($localVarParams['body'] !== null) { + $httpBody= $localVarParams['body']; + } + + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['*/*', 'application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['*/*', 'application/json'], + ['application/json;charset=UTF-8'] + ); + } + $headers = array_merge( + $headerParams, + $headers + ); + + return $this->callApi( + $method='POST', + $resourcePath, + $pathParams, + $queryParams, + $headerParams=$headers, + $body=$httpBody, + $multipart = $multipart, + $postParams=$formParams, + $responseType='\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceResponse', + $collectionFormats=$collection_formats, + $requestType='\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceRequest', + $asyncRequest = true); + } + /** * 创建和导入SSH密钥 * diff --git a/Services/Ecs/V2/EcsClient.php b/Services/Ecs/V2/EcsClient.php index 8010e69..c3678fe 100755 --- a/Services/Ecs/V2/EcsClient.php +++ b/Services/Ecs/V2/EcsClient.php @@ -2300,6 +2300,71 @@ public function novaAssociateSecurityGroupWithHttpInfo($request) $requestType='\G42Cloud\SDK\Ecs\V2\Model\NovaAssociateSecurityGroupRequest'); } + /** + * 添加云服务器网卡 + * + * 给云服务器添加一张网卡。 + * + * Please refer to G42 cloud API Explorer for details. + * + * @param $request 请求对象 + * @return response + */ + public function novaAttachInterface($request) + { + return $this->novaAttachInterfaceWithHttpInfo($request); + } + + public function novaAttachInterfaceWithHttpInfo($request) + { + $resourcePath = '/v2.1/{project_id}/servers/{server_id}/os-interface'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $pathParams = []; + $httpBody = null; + $multipart = false; + $localVarParams = []; + $arr = $request::attributeMap(); + foreach ($arr as $k => $v) { + $getter = $request::getters()[$k]; + $value = $request->$getter(); + $localVarParams[$k] = $value; + } + if ($localVarParams['serverId'] !== null) { + $pathParams['server_id'] = $localVarParams['serverId']; + } + if ($localVarParams['body'] !== null) { + $httpBody= $localVarParams['body']; + } + if ($multipart) { + $headers = $this->headerSelector->selectHeadersForMultipart( + ['*/*', 'application/json'] + ); + } else { + $headers = $this->headerSelector->selectHeaders( + ['*/*', 'application/json'], + ['application/json;charset=UTF-8'] + ); + } + $headers = array_merge( + $headerParams, + $headers + ); + + return $this->callApi( + $method='POST', + $resourcePath, + $pathParams, + $queryParams, + $headerParams=$headers, + $body=$httpBody, + $multipart = $multipart, + $postParams=$formParams, + $responseType='\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceResponse', + $requestType='\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceRequest'); + } + /** * 创建和导入SSH密钥 * diff --git a/Services/Ecs/V2/Model/NovaAttachInterfaceFixedIp.php b/Services/Ecs/V2/Model/NovaAttachInterfaceFixedIp.php new file mode 100755 index 0000000..6e13908 --- /dev/null +++ b/Services/Ecs/V2/Model/NovaAttachInterfaceFixedIp.php @@ -0,0 +1,265 @@ + 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * ipAddress IP地址。 + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'ipAddress' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * ipAddress IP地址。 + * + * @var string[] + */ + protected static $attributeMap = [ + 'ipAddress' => 'ip_address' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * ipAddress IP地址。 + * + * @var string[] + */ + protected static $setters = [ + 'ipAddress' => 'setIpAddress' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * ipAddress IP地址。 + * + * @var string[] + */ + protected static $getters = [ + 'ipAddress' => 'getIpAddress' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['ipAddress'] = isset($data['ipAddress']) ? $data['ipAddress'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets ipAddress + * IP地址。 + * + * @return string|null + */ + public function getIpAddress() + { + return $this->container['ipAddress']; + } + + /** + * Sets ipAddress + * + * @param string|null $ipAddress IP地址。 + * + * @return $this + */ + public function setIpAddress($ipAddress) + { + $this->container['ipAddress'] = $ipAddress; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaAttachInterfaceOption.php b/Services/Ecs/V2/Model/NovaAttachInterfaceOption.php new file mode 100755 index 0000000..e531203 --- /dev/null +++ b/Services/Ecs/V2/Model/NovaAttachInterfaceOption.php @@ -0,0 +1,335 @@ + '\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceFixedIp[]', + 'netId' => 'string', + 'portId' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * fixedIps 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * netId Network ID。 有port_id时,该参数不起作用。 + * portId Port ID。 port_id和net_id不能同时传入。 + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'fixedIps' => null, + 'netId' => null, + 'portId' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * fixedIps 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * netId Network ID。 有port_id时,该参数不起作用。 + * portId Port ID。 port_id和net_id不能同时传入。 + * + * @var string[] + */ + protected static $attributeMap = [ + 'fixedIps' => 'fixed_ips', + 'netId' => 'net_id', + 'portId' => 'port_id' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * fixedIps 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * netId Network ID。 有port_id时,该参数不起作用。 + * portId Port ID。 port_id和net_id不能同时传入。 + * + * @var string[] + */ + protected static $setters = [ + 'fixedIps' => 'setFixedIps', + 'netId' => 'setNetId', + 'portId' => 'setPortId' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * fixedIps 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * netId Network ID。 有port_id时,该参数不起作用。 + * portId Port ID。 port_id和net_id不能同时传入。 + * + * @var string[] + */ + protected static $getters = [ + 'fixedIps' => 'getFixedIps', + 'netId' => 'getNetId', + 'portId' => 'getPortId' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['fixedIps'] = isset($data['fixedIps']) ? $data['fixedIps'] : null; + $this->container['netId'] = isset($data['netId']) ? $data['netId'] : null; + $this->container['portId'] = isset($data['portId']) ? $data['portId'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets fixedIps + * 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * + * @return \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceFixedIp[]|null + */ + public function getFixedIps() + { + return $this->container['fixedIps']; + } + + /** + * Sets fixedIps + * + * @param \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceFixedIp[]|null $fixedIps 私有IP。 有port_id时,该参数不起作用,并且有该参数时,必须有net_id。 只有列表中第一个元素有效。传入两个及以上元素会报错。 + * + * @return $this + */ + public function setFixedIps($fixedIps) + { + $this->container['fixedIps'] = $fixedIps; + return $this; + } + + /** + * Gets netId + * Network ID。 有port_id时,该参数不起作用。 + * + * @return string|null + */ + public function getNetId() + { + return $this->container['netId']; + } + + /** + * Sets netId + * + * @param string|null $netId Network ID。 有port_id时,该参数不起作用。 + * + * @return $this + */ + public function setNetId($netId) + { + $this->container['netId'] = $netId; + return $this; + } + + /** + * Gets portId + * Port ID。 port_id和net_id不能同时传入。 + * + * @return string|null + */ + public function getPortId() + { + return $this->container['portId']; + } + + /** + * Sets portId + * + * @param string|null $portId Port ID。 port_id和net_id不能同时传入。 + * + * @return $this + */ + public function setPortId($portId) + { + $this->container['portId'] = $portId; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaAttachInterfaceRequest.php b/Services/Ecs/V2/Model/NovaAttachInterfaceRequest.php new file mode 100755 index 0000000..eb7e32f --- /dev/null +++ b/Services/Ecs/V2/Model/NovaAttachInterfaceRequest.php @@ -0,0 +1,303 @@ + 'string', + 'body' => '\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceRequestBody' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * serverId 云服务器ID。 + * body body + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'serverId' => null, + 'body' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * serverId 云服务器ID。 + * body body + * + * @var string[] + */ + protected static $attributeMap = [ + 'serverId' => 'server_id', + 'body' => 'body' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * serverId 云服务器ID。 + * body body + * + * @var string[] + */ + protected static $setters = [ + 'serverId' => 'setServerId', + 'body' => 'setBody' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * serverId 云服务器ID。 + * body body + * + * @var string[] + */ + protected static $getters = [ + 'serverId' => 'getServerId', + 'body' => 'getBody' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['serverId'] = isset($data['serverId']) ? $data['serverId'] : null; + $this->container['body'] = isset($data['body']) ? $data['body'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + if ($this->container['serverId'] === null) { + $invalidProperties[] = "'serverId' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets serverId + * 云服务器ID。 + * + * @return string + */ + public function getServerId() + { + return $this->container['serverId']; + } + + /** + * Sets serverId + * + * @param string $serverId 云服务器ID。 + * + * @return $this + */ + public function setServerId($serverId) + { + $this->container['serverId'] = $serverId; + return $this; + } + + /** + * Gets body + * body + * + * @return \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceRequestBody|null + */ + public function getBody() + { + return $this->container['body']; + } + + /** + * Sets body + * + * @param \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceRequestBody|null $body body + * + * @return $this + */ + public function setBody($body) + { + $this->container['body'] = $body; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaAttachInterfaceRequestBody.php b/Services/Ecs/V2/Model/NovaAttachInterfaceRequestBody.php new file mode 100755 index 0000000..19d60eb --- /dev/null +++ b/Services/Ecs/V2/Model/NovaAttachInterfaceRequestBody.php @@ -0,0 +1,268 @@ + '\G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceOption' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'interfaceAttachment' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $attributeMap = [ + 'interfaceAttachment' => 'interfaceAttachment' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $setters = [ + 'interfaceAttachment' => 'setInterfaceAttachment' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $getters = [ + 'interfaceAttachment' => 'getInterfaceAttachment' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['interfaceAttachment'] = isset($data['interfaceAttachment']) ? $data['interfaceAttachment'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + if ($this->container['interfaceAttachment'] === null) { + $invalidProperties[] = "'interfaceAttachment' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets interfaceAttachment + * interfaceAttachment + * + * @return \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceOption + */ + public function getInterfaceAttachment() + { + return $this->container['interfaceAttachment']; + } + + /** + * Sets interfaceAttachment + * + * @param \G42Cloud\SDK\Ecs\V2\Model\NovaAttachInterfaceOption $interfaceAttachment interfaceAttachment + * + * @return $this + */ + public function setInterfaceAttachment($interfaceAttachment) + { + $this->container['interfaceAttachment'] = $interfaceAttachment; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaAttachInterfaceResponse.php b/Services/Ecs/V2/Model/NovaAttachInterfaceResponse.php new file mode 100755 index 0000000..c00ee6f --- /dev/null +++ b/Services/Ecs/V2/Model/NovaAttachInterfaceResponse.php @@ -0,0 +1,266 @@ + '\G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceDetail' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'interfaceAttachment' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $attributeMap = [ + 'interfaceAttachment' => 'interfaceAttachment' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $setters = [ + 'interfaceAttachment' => 'setInterfaceAttachment' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * interfaceAttachment interfaceAttachment + * + * @var string[] + */ + protected static $getters = [ + 'interfaceAttachment' => 'getInterfaceAttachment' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['interfaceAttachment'] = isset($data['interfaceAttachment']) ? $data['interfaceAttachment'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets interfaceAttachment + * interfaceAttachment + * + * @return \G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceDetail|null + */ + public function getInterfaceAttachment() + { + return $this->container['interfaceAttachment']; + } + + /** + * Sets interfaceAttachment + * + * @param \G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceDetail|null $interfaceAttachment interfaceAttachment + * + * @return $this + */ + public function setInterfaceAttachment($interfaceAttachment) + { + $this->container['interfaceAttachment'] = $interfaceAttachment; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaServerInterfaceDetail.php b/Services/Ecs/V2/Model/NovaServerInterfaceDetail.php new file mode 100755 index 0000000..42d7924 --- /dev/null +++ b/Services/Ecs/V2/Model/NovaServerInterfaceDetail.php @@ -0,0 +1,420 @@ + '\G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceFixedIp[]', + 'macAddr' => 'string', + 'netId' => 'string', + 'portId' => 'string', + 'portState' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * fixedIps 网卡私网IP信息列表。 + * macAddr 网卡Mac地址信息。 + * netId 网卡端口所属网络ID。 + * portId 网卡端口ID。 + * portState 网卡端口状态。 + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'fixedIps' => null, + 'macAddr' => null, + 'netId' => null, + 'portId' => null, + 'portState' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * fixedIps 网卡私网IP信息列表。 + * macAddr 网卡Mac地址信息。 + * netId 网卡端口所属网络ID。 + * portId 网卡端口ID。 + * portState 网卡端口状态。 + * + * @var string[] + */ + protected static $attributeMap = [ + 'fixedIps' => 'fixed_ips', + 'macAddr' => 'mac_addr', + 'netId' => 'net_id', + 'portId' => 'port_id', + 'portState' => 'port_state' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * fixedIps 网卡私网IP信息列表。 + * macAddr 网卡Mac地址信息。 + * netId 网卡端口所属网络ID。 + * portId 网卡端口ID。 + * portState 网卡端口状态。 + * + * @var string[] + */ + protected static $setters = [ + 'fixedIps' => 'setFixedIps', + 'macAddr' => 'setMacAddr', + 'netId' => 'setNetId', + 'portId' => 'setPortId', + 'portState' => 'setPortState' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * fixedIps 网卡私网IP信息列表。 + * macAddr 网卡Mac地址信息。 + * netId 网卡端口所属网络ID。 + * portId 网卡端口ID。 + * portState 网卡端口状态。 + * + * @var string[] + */ + protected static $getters = [ + 'fixedIps' => 'getFixedIps', + 'macAddr' => 'getMacAddr', + 'netId' => 'getNetId', + 'portId' => 'getPortId', + 'portState' => 'getPortState' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['fixedIps'] = isset($data['fixedIps']) ? $data['fixedIps'] : null; + $this->container['macAddr'] = isset($data['macAddr']) ? $data['macAddr'] : null; + $this->container['netId'] = isset($data['netId']) ? $data['netId'] : null; + $this->container['portId'] = isset($data['portId']) ? $data['portId'] : null; + $this->container['portState'] = isset($data['portState']) ? $data['portState'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + if ($this->container['fixedIps'] === null) { + $invalidProperties[] = "'fixedIps' can't be null"; + } + if ($this->container['macAddr'] === null) { + $invalidProperties[] = "'macAddr' can't be null"; + } + if ($this->container['netId'] === null) { + $invalidProperties[] = "'netId' can't be null"; + } + if ($this->container['portId'] === null) { + $invalidProperties[] = "'portId' can't be null"; + } + if ($this->container['portState'] === null) { + $invalidProperties[] = "'portState' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets fixedIps + * 网卡私网IP信息列表。 + * + * @return \G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceFixedIp[] + */ + public function getFixedIps() + { + return $this->container['fixedIps']; + } + + /** + * Sets fixedIps + * + * @param \G42Cloud\SDK\Ecs\V2\Model\NovaServerInterfaceFixedIp[] $fixedIps 网卡私网IP信息列表。 + * + * @return $this + */ + public function setFixedIps($fixedIps) + { + $this->container['fixedIps'] = $fixedIps; + return $this; + } + + /** + * Gets macAddr + * 网卡Mac地址信息。 + * + * @return string + */ + public function getMacAddr() + { + return $this->container['macAddr']; + } + + /** + * Sets macAddr + * + * @param string $macAddr 网卡Mac地址信息。 + * + * @return $this + */ + public function setMacAddr($macAddr) + { + $this->container['macAddr'] = $macAddr; + return $this; + } + + /** + * Gets netId + * 网卡端口所属网络ID。 + * + * @return string + */ + public function getNetId() + { + return $this->container['netId']; + } + + /** + * Sets netId + * + * @param string $netId 网卡端口所属网络ID。 + * + * @return $this + */ + public function setNetId($netId) + { + $this->container['netId'] = $netId; + return $this; + } + + /** + * Gets portId + * 网卡端口ID。 + * + * @return string + */ + public function getPortId() + { + return $this->container['portId']; + } + + /** + * Sets portId + * + * @param string $portId 网卡端口ID。 + * + * @return $this + */ + public function setPortId($portId) + { + $this->container['portId'] = $portId; + return $this; + } + + /** + * Gets portState + * 网卡端口状态。 + * + * @return string + */ + public function getPortState() + { + return $this->container['portState']; + } + + /** + * Sets portState + * + * @param string $portState 网卡端口状态。 + * + * @return $this + */ + public function setPortState($portState) + { + $this->container['portState'] = $portState; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/V2/Model/NovaServerInterfaceFixedIp.php b/Services/Ecs/V2/Model/NovaServerInterfaceFixedIp.php new file mode 100755 index 0000000..22f2856 --- /dev/null +++ b/Services/Ecs/V2/Model/NovaServerInterfaceFixedIp.php @@ -0,0 +1,306 @@ + 'string', + 'subnetId' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * ipAddress 网卡私网IP信息。 + * subnetId 网卡私网IP对应子网信息。 + * + * @var string[] + */ + protected static $openAPIFormats = [ + 'ipAddress' => null, + 'subnetId' => null + ]; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * ipAddress 网卡私网IP信息。 + * subnetId 网卡私网IP对应子网信息。 + * + * @var string[] + */ + protected static $attributeMap = [ + 'ipAddress' => 'ip_address', + 'subnetId' => 'subnet_id' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * ipAddress 网卡私网IP信息。 + * subnetId 网卡私网IP对应子网信息。 + * + * @var string[] + */ + protected static $setters = [ + 'ipAddress' => 'setIpAddress', + 'subnetId' => 'setSubnetId' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * ipAddress 网卡私网IP信息。 + * subnetId 网卡私网IP对应子网信息。 + * + * @var string[] + */ + protected static $getters = [ + 'ipAddress' => 'getIpAddress', + 'subnetId' => 'getSubnetId' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->container['ipAddress'] = isset($data['ipAddress']) ? $data['ipAddress'] : null; + $this->container['subnetId'] = isset($data['subnetId']) ? $data['subnetId'] : null; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + if ($this->container['ipAddress'] === null) { + $invalidProperties[] = "'ipAddress' can't be null"; + } + if ($this->container['subnetId'] === null) { + $invalidProperties[] = "'subnetId' can't be null"; + } + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + /** + * Gets ipAddress + * 网卡私网IP信息。 + * + * @return string + */ + public function getIpAddress() + { + return $this->container['ipAddress']; + } + + /** + * Sets ipAddress + * + * @param string $ipAddress 网卡私网IP信息。 + * + * @return $this + */ + public function setIpAddress($ipAddress) + { + $this->container['ipAddress'] = $ipAddress; + return $this; + } + + /** + * Gets subnetId + * 网卡私网IP对应子网信息。 + * + * @return string + */ + public function getSubnetId() + { + return $this->container['subnetId']; + } + + /** + * Sets subnetId + * + * @param string $subnetId 网卡私网IP对应子网信息。 + * + * @return $this + */ + public function setSubnetId($subnetId) + { + $this->container['subnetId'] = $subnetId; + return $this; + } + + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset) + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed + */ + public function offsetGet($offset) + { + return isset($this->container[$offset]) ? $this->container[$offset] : null; + } + + /** + * Sets value based on offset. + * + * @param integer $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value) + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset) + { + unset($this->container[$offset]); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } +} + diff --git a/Services/Ecs/composer.json b/Services/Ecs/composer.json index f6e5ef9..73d108d 100755 --- a/Services/Ecs/composer.json +++ b/Services/Ecs/composer.json @@ -8,7 +8,7 @@ "api", "ecs" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Evs/composer.json b/Services/Evs/composer.json index 125a753..8bdd6e5 100755 --- a/Services/Evs/composer.json +++ b/Services/Evs/composer.json @@ -8,7 +8,7 @@ "api", "evs" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Ims/V2/Model/ListImagesRequest.php b/Services/Ims/V2/Model/ListImagesRequest.php index b78d3fa..cb4d9c9 100755 --- a/Services/Ims/V2/Model/ListImagesRequest.php +++ b/Services/Ims/V2/Model/ListImagesRequest.php @@ -492,6 +492,7 @@ public function getModelName() const IMAGETYPE_GOLD = 'gold'; const IMAGETYPE__PRIVATE = 'private'; const IMAGETYPE_SHARED = 'shared'; + const IMAGETYPE_MARKET = 'market'; const ISREGISTERED_TRUE = 'true'; const ISREGISTERED_FALSE = 'false'; const OS_BIT__32 = '32'; @@ -553,6 +554,7 @@ public function getImagetypeAllowableValues() self::IMAGETYPE_GOLD, self::IMAGETYPE__PRIVATE, self::IMAGETYPE_SHARED, + self::IMAGETYPE_MARKET, ]; } diff --git a/Services/Ims/composer.json b/Services/Ims/composer.json index 6573502..b55b53f 100755 --- a/Services/Ims/composer.json +++ b/Services/Ims/composer.json @@ -8,7 +8,7 @@ "api", "ims" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Smn/composer.json b/Services/Smn/composer.json index bae91bd..6ef401e 100755 --- a/Services/Smn/composer.json +++ b/Services/Smn/composer.json @@ -8,7 +8,7 @@ "api", "smn" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/Services/Vpc/composer.json b/Services/Vpc/composer.json index 0262bb0..13e7f13 100755 --- a/Services/Vpc/composer.json +++ b/Services/Vpc/composer.json @@ -8,7 +8,7 @@ "api", "vpc" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [ @@ -20,7 +20,7 @@ ], "minimum-stability": "dev", "require": { - "g42cloud/cloud-sdk-core": "0.0.4-beta" + "g42cloud/cloud-sdk-core": "0.0.5-beta" }, "autoload": { "psr-4": { diff --git a/composer.json b/composer.json index 16096b3..1525aed 100755 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "rest", "api" ], - "version": "0.0.4-beta", + "version": "0.0.5-beta", "type": "library", "license": "Apache-2.0", "authors": [