-
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
8a2b160
commit fdba9fd
Showing
4 changed files
with
132 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
77 changes: 77 additions & 0 deletions
77
src/TencentCloud/Cynosdb/V20190107/Models/ModifyInstanceUpgradeLimitDaysRequest.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,77 @@ | ||
<?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; | ||
|
||
/** | ||
* ModifyInstanceUpgradeLimitDays请求参数结构体 | ||
* | ||
* @method string getClusterId() 获取集群ID | ||
* @method void setClusterId(string $ClusterId) 设置集群ID | ||
* @method string getInstanceId() 获取实例ID | ||
* @method void setInstanceId(string $InstanceId) 设置实例ID | ||
* @method integer getUpgradeLimitDays() 获取升级限制时间 | ||
* @method void setUpgradeLimitDays(integer $UpgradeLimitDays) 设置升级限制时间 | ||
*/ | ||
class ModifyInstanceUpgradeLimitDaysRequest extends AbstractModel | ||
{ | ||
/** | ||
* @var string 集群ID | ||
*/ | ||
public $ClusterId; | ||
|
||
/** | ||
* @var string 实例ID | ||
*/ | ||
public $InstanceId; | ||
|
||
/** | ||
* @var integer 升级限制时间 | ||
*/ | ||
public $UpgradeLimitDays; | ||
|
||
/** | ||
* @param string $ClusterId 集群ID | ||
* @param string $InstanceId 实例ID | ||
* @param integer $UpgradeLimitDays 升级限制时间 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("ClusterId",$param) and $param["ClusterId"] !== null) { | ||
$this->ClusterId = $param["ClusterId"]; | ||
} | ||
|
||
if (array_key_exists("InstanceId",$param) and $param["InstanceId"] !== null) { | ||
$this->InstanceId = $param["InstanceId"]; | ||
} | ||
|
||
if (array_key_exists("UpgradeLimitDays",$param) and $param["UpgradeLimitDays"] !== null) { | ||
$this->UpgradeLimitDays = $param["UpgradeLimitDays"]; | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
src/TencentCloud/Cynosdb/V20190107/Models/ModifyInstanceUpgradeLimitDaysResponse.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,53 @@ | ||
<?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; | ||
|
||
/** | ||
* ModifyInstanceUpgradeLimitDays返回参数结构体 | ||
* | ||
* @method string getRequestId() 获取唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | ||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
class ModifyInstanceUpgradeLimitDaysResponse extends AbstractModel | ||
{ | ||
/** | ||
* @var string 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
public $RequestId; | ||
|
||
/** | ||
* @param string $RequestId 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
function __construct() | ||
{ | ||
|
||
} | ||
|
||
/** | ||
* For internal only. DO NOT USE IT. | ||
*/ | ||
public function deserialize($param) | ||
{ | ||
if ($param === null) { | ||
return; | ||
} | ||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) { | ||
$this->RequestId = $param["RequestId"]; | ||
} | ||
} | ||
} |