-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd5ecc0
commit ed58706
Showing
5 changed files
with
184 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/TencentCloud/Cynosdb/V20190107/Models/DescribeProxySpecsRequest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
namespace TencentCloud\Cynosdb\V20190107\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* DescribeProxySpecs请求参数结构体 | ||
* | ||
*/ | ||
class DescribeProxySpecsRequest extends AbstractModel | ||
{ | ||
|
||
|
||
/** | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
|
||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
src/TencentCloud/Cynosdb/V20190107/Models/DescribeProxySpecsResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
namespace TencentCloud\Cynosdb\V20190107\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* DescribeProxySpecs返回参数结构体 | ||
* | ||
* @method array getProxySpecs() 获取数据库代理规格列表 | ||
* @method void setProxySpecs(array $ProxySpecs) 设置数据库代理规格列表 | ||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
class DescribeProxySpecsResponse extends AbstractModel | ||
{ | ||
/** | ||
* @var array 数据库代理规格列表 | ||
*/ | ||
public $ProxySpecs; | ||
|
||
/** | ||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
public $RequestId; | ||
|
||
/** | ||
* @param array $ProxySpecs 数据库代理规格列表 | ||
* @param string $RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("ProxySpecs",$param) and $param["ProxySpecs"] !== null) { | ||
$this->ProxySpecs = []; | ||
foreach ($param["ProxySpecs"] as $key => $value){ | ||
$obj = new ProxySpec(); | ||
$obj->deserialize($value); | ||
array_push($this->ProxySpecs, $obj); | ||
} | ||
} | ||
|
||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) { | ||
$this->RequestId = $param["RequestId"]; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?php | ||
/* | ||
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
namespace TencentCloud\Cynosdb\V20190107\Models; | ||
use TencentCloud\Common\AbstractModel; | ||
|
||
/** | ||
* 数据库代理规格 | ||
* | ||
* @method integer getCpu() 获取数据库代理cpu核数 | ||
* @method void setCpu(integer $Cpu) 设置数据库代理cpu核数 | ||
* @method integer getMem() 获取数据库代理内存 | ||
* @method void setMem(integer $Mem) 设置数据库代理内存 | ||
*/ | ||
class ProxySpec extends AbstractModel | ||
{ | ||
/** | ||
* @var integer 数据库代理cpu核数 | ||
*/ | ||
public $Cpu; | ||
|
||
/** | ||
* @var integer 数据库代理内存 | ||
*/ | ||
public $Mem; | ||
|
||
/** | ||
* @param integer $Cpu 数据库代理cpu核数 | ||
* @param integer $Mem 数据库代理内存 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("Cpu",$param) and $param["Cpu"] !== null) { | ||
$this->Cpu = $param["Cpu"]; | ||
} | ||
|
||
if (array_key_exists("Mem",$param) and $param["Mem"] !== null) { | ||
$this->Mem = $param["Mem"]; | ||
} | ||
} | ||
} |