-
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
87abe08
commit 8197c54
Showing
5 changed files
with
215 additions
and
13 deletions.
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
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
137 changes: 137 additions & 0 deletions
137
src/TencentCloud/Cynosdb/V20190107/Models/LogicBackupConfigInfo.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,137 @@ | ||
<?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 getLogicBackupEnable() 获取是否开启自动逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicBackupEnable(string $LogicBackupEnable) 设置是否开启自动逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method integer getLogicBackupTimeBeg() 获取自动逻辑备份开始时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicBackupTimeBeg(integer $LogicBackupTimeBeg) 设置自动逻辑备份开始时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method integer getLogicBackupTimeEnd() 获取自动逻辑备份结束时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicBackupTimeEnd(integer $LogicBackupTimeEnd) 设置自动逻辑备份结束时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method integer getLogicReserveDuration() 获取自动逻辑备份保留时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicReserveDuration(integer $LogicReserveDuration) 设置自动逻辑备份保留时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method string getLogicCrossRegionsEnable() 获取是否开启跨地域逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicCrossRegionsEnable(string $LogicCrossRegionsEnable) 设置是否开启跨地域逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method array getLogicCrossRegions() 获取逻辑备份所跨地域 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @method void setLogicCrossRegions(array $LogicCrossRegions) 设置逻辑备份所跨地域 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
class LogicBackupConfigInfo extends AbstractModel | ||
{ | ||
/** | ||
* @var string 是否开启自动逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicBackupEnable; | ||
|
||
/** | ||
* @var integer 自动逻辑备份开始时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicBackupTimeBeg; | ||
|
||
/** | ||
* @var integer 自动逻辑备份结束时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicBackupTimeEnd; | ||
|
||
/** | ||
* @var integer 自动逻辑备份保留时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicReserveDuration; | ||
|
||
/** | ||
* @var string 是否开启跨地域逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicCrossRegionsEnable; | ||
|
||
/** | ||
* @var array 逻辑备份所跨地域 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
public $LogicCrossRegions; | ||
|
||
/** | ||
* @param string $LogicBackupEnable 是否开启自动逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param integer $LogicBackupTimeBeg 自动逻辑备份开始时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param integer $LogicBackupTimeEnd 自动逻辑备份结束时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param integer $LogicReserveDuration 自动逻辑备份保留时间 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param string $LogicCrossRegionsEnable 是否开启跨地域逻辑备份 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param array $LogicCrossRegions 逻辑备份所跨地域 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("LogicBackupEnable",$param) and $param["LogicBackupEnable"] !== null) { | ||
$this->LogicBackupEnable = $param["LogicBackupEnable"]; | ||
} | ||
|
||
if (array_key_exists("LogicBackupTimeBeg",$param) and $param["LogicBackupTimeBeg"] !== null) { | ||
$this->LogicBackupTimeBeg = $param["LogicBackupTimeBeg"]; | ||
} | ||
|
||
if (array_key_exists("LogicBackupTimeEnd",$param) and $param["LogicBackupTimeEnd"] !== null) { | ||
$this->LogicBackupTimeEnd = $param["LogicBackupTimeEnd"]; | ||
} | ||
|
||
if (array_key_exists("LogicReserveDuration",$param) and $param["LogicReserveDuration"] !== null) { | ||
$this->LogicReserveDuration = $param["LogicReserveDuration"]; | ||
} | ||
|
||
if (array_key_exists("LogicCrossRegionsEnable",$param) and $param["LogicCrossRegionsEnable"] !== null) { | ||
$this->LogicCrossRegionsEnable = $param["LogicCrossRegionsEnable"]; | ||
} | ||
|
||
if (array_key_exists("LogicCrossRegions",$param) and $param["LogicCrossRegions"] !== null) { | ||
$this->LogicCrossRegions = $param["LogicCrossRegions"]; | ||
} | ||
} | ||
} |
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