Skip to content

Commit

Permalink
release 3.0.1127
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Apr 22, 2024
1 parent 8a2b160 commit fdba9fd
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"tencentcloud/common": "3.0.1126"
"tencentcloud/common": "3.0.1127"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 1 addition & 0 deletions src/TencentCloud/Cynosdb/V20190107/CynosdbClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
* @method Models\ModifyDBInstanceSecurityGroupsResponse ModifyDBInstanceSecurityGroups(Models\ModifyDBInstanceSecurityGroupsRequest $req) 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
* @method Models\ModifyInstanceNameResponse ModifyInstanceName(Models\ModifyInstanceNameRequest $req) 本接口(ModifyInstanceName)用于修改实例名称。
* @method Models\ModifyInstanceParamResponse ModifyInstanceParam(Models\ModifyInstanceParamRequest $req) 本接口(ModifyInstanceParam)用于修改实例参数。
* @method Models\ModifyInstanceUpgradeLimitDaysResponse ModifyInstanceUpgradeLimitDays(Models\ModifyInstanceUpgradeLimitDaysRequest $req) 修改实例小版本升级限制时间
* @method Models\ModifyMaintainPeriodConfigResponse ModifyMaintainPeriodConfig(Models\ModifyMaintainPeriodConfigRequest $req) 修改维护时间配置
* @method Models\ModifyParamTemplateResponse ModifyParamTemplate(Models\ModifyParamTemplateRequest $req) 本接口(ModifyParamTemplate)用于修改用户参数模板。
* @method Models\ModifyProxyDescResponse ModifyProxyDesc(Models\ModifyProxyDescRequest $req) 修改数据库代理描述
Expand Down
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"];
}
}
}
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"];
}
}
}

0 comments on commit fdba9fd

Please sign in to comment.