-
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
df56b2a
commit 5d3145e
Showing
7 changed files
with
249 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
73 changes: 73 additions & 0 deletions
73
src/TencentCloud/Cynosdb/V20190107/Models/InstanceAbility.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,73 @@ | ||
<?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 string getIsSupportForceRestart() 获取实例是否支持强制重启,可选值:yes:支持,no:不支持 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setIsSupportForceRestart(string $IsSupportForceRestart) 设置实例是否支持强制重启,可选值:yes:支持,no:不支持 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getNonsupportForceRestartReason() 获取不支持强制重启的原因 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setNonsupportForceRestartReason(string $NonsupportForceRestartReason) 设置不支持强制重启的原因 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class InstanceAbility extends AbstractModel | ||
{ | ||
/** | ||
* @var string 实例是否支持强制重启,可选值:yes:支持,no:不支持 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $IsSupportForceRestart; | ||
|
||
/** | ||
* @var string 不支持强制重启的原因 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $NonsupportForceRestartReason; | ||
|
||
/** | ||
* @param string $IsSupportForceRestart 实例是否支持强制重启,可选值:yes:支持,no:不支持 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $NonsupportForceRestartReason 不支持强制重启的原因 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("IsSupportForceRestart",$param) and $param["IsSupportForceRestart"] !== null) { | ||
$this->IsSupportForceRestart = $param["IsSupportForceRestart"]; | ||
} | ||
|
||
if (array_key_exists("NonsupportForceRestartReason",$param) and $param["NonsupportForceRestartReason"] !== null) { | ||
$this->NonsupportForceRestartReason = $param["NonsupportForceRestartReason"]; | ||
} | ||
} | ||
} |
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
89 changes: 89 additions & 0 deletions
89
src/TencentCloud/Cynosdb/V20190107/Models/SlaveZoneStockInfo.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,89 @@ | ||
<?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 string getSlaveZone() 获取备可用区 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setSlaveZone(string $SlaveZone) 设置备可用区 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method integer getStockCount() 获取备可用区的库存数量 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setStockCount(integer $StockCount) 设置备可用区的库存数量 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method boolean getHasStock() 获取备可用区是否有库存 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setHasStock(boolean $HasStock) 设置备可用区是否有库存 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class SlaveZoneStockInfo extends AbstractModel | ||
{ | ||
/** | ||
* @var string 备可用区 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $SlaveZone; | ||
|
||
/** | ||
* @var integer 备可用区的库存数量 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $StockCount; | ||
|
||
/** | ||
* @var boolean 备可用区是否有库存 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $HasStock; | ||
|
||
/** | ||
* @param string $SlaveZone 备可用区 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param integer $StockCount 备可用区的库存数量 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param boolean $HasStock 备可用区是否有库存 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("SlaveZone",$param) and $param["SlaveZone"] !== null) { | ||
$this->SlaveZone = $param["SlaveZone"]; | ||
} | ||
|
||
if (array_key_exists("StockCount",$param) and $param["StockCount"] !== null) { | ||
$this->StockCount = $param["StockCount"]; | ||
} | ||
|
||
if (array_key_exists("HasStock",$param) and $param["HasStock"] !== null) { | ||
$this->HasStock = $param["HasStock"]; | ||
} | ||
} | ||
} |
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