-
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
be8f4de
commit 7111c2a
Showing
30 changed files
with
3,163 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/CloseProxyRequest.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; | ||
|
||
/** | ||
* CloseProxy请求参数结构体 | ||
* | ||
* @method string getClusterId() 获取集群ID | ||
* @method void setClusterId(string $ClusterId) 设置集群ID | ||
* @method string getProxyGroupId() 获取数据库代理组ID | ||
* @method void setProxyGroupId(string $ProxyGroupId) 设置数据库代理组ID | ||
* @method boolean getOnlyCloseRW() 获取是否只关闭读写分离,取值:是 "true","false" | ||
* @method void setOnlyCloseRW(boolean $OnlyCloseRW) 设置是否只关闭读写分离,取值:是 "true","false" | ||
*/ | ||
class CloseProxyRequest extends AbstractModel | ||
{ | ||
/** | ||
* @var string 集群ID | ||
*/ | ||
public $ClusterId; | ||
|
||
/** | ||
* @var string 数据库代理组ID | ||
*/ | ||
public $ProxyGroupId; | ||
|
||
/** | ||
* @var boolean 是否只关闭读写分离,取值:是 "true","false" | ||
*/ | ||
public $OnlyCloseRW; | ||
|
||
/** | ||
* @param string $ClusterId 集群ID | ||
* @param string $ProxyGroupId 数据库代理组ID | ||
* @param boolean $OnlyCloseRW 是否只关闭读写分离,取值:是 "true","false" | ||
*/ | ||
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("ProxyGroupId",$param) and $param["ProxyGroupId"] !== null) { | ||
$this->ProxyGroupId = $param["ProxyGroupId"]; | ||
} | ||
|
||
if (array_key_exists("OnlyCloseRW",$param) and $param["OnlyCloseRW"] !== null) { | ||
$this->OnlyCloseRW = $param["OnlyCloseRW"]; | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
src/TencentCloud/Cynosdb/V20190107/Models/CloseProxyResponse.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; | ||
|
||
/** | ||
* CloseProxy返回参数结构体 | ||
* | ||
* @method integer getFlowId() 获取异步流程ID | ||
* @method void setFlowId(integer $FlowId) 设置异步流程ID | ||
* @method integer getTaskId() 获取异步任务ID | ||
* @method void setTaskId(integer $TaskId) 设置异步任务ID | ||
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
class CloseProxyResponse extends AbstractModel | ||
{ | ||
/** | ||
* @var integer 异步流程ID | ||
*/ | ||
public $FlowId; | ||
|
||
/** | ||
* @var integer 异步任务ID | ||
*/ | ||
public $TaskId; | ||
|
||
/** | ||
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 | ||
*/ | ||
public $RequestId; | ||
|
||
/** | ||
* @param integer $FlowId 异步流程ID | ||
* @param integer $TaskId 异步任务ID | ||
* @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("FlowId",$param) and $param["FlowId"] !== null) { | ||
$this->FlowId = $param["FlowId"]; | ||
} | ||
|
||
if (array_key_exists("TaskId",$param) and $param["TaskId"] !== null) { | ||
$this->TaskId = $param["TaskId"]; | ||
} | ||
|
||
if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) { | ||
$this->RequestId = $param["RequestId"]; | ||
} | ||
} | ||
} |
Oops, something went wrong.