Skip to content

Commit

Permalink
release 3.0.418
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Jun 22, 2021
1 parent 7569e1b commit c89d079
Show file tree
Hide file tree
Showing 12 changed files with 785 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.417"
"tencentcloud/common": "3.0.418"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?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\Vpc\V20170312\Models;
use TencentCloud\Common\AbstractModel;

/**
* CreateVpnGatewayRoutes请求参数结构体
*
* @method string getVpnGatewayId() 获取VPN网关的ID
* @method void setVpnGatewayId(string $VpnGatewayId) 设置VPN网关的ID
* @method array getRoutes() 获取VPN网关目的路由列表
* @method void setRoutes(array $Routes) 设置VPN网关目的路由列表
*/
class CreateVpnGatewayRoutesRequest extends AbstractModel
{
/**
* @var string VPN网关的ID
*/
public $VpnGatewayId;

/**
* @var array VPN网关目的路由列表
*/
public $Routes;

/**
* @param string $VpnGatewayId VPN网关的ID
* @param array $Routes VPN网关目的路由列表
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("VpnGatewayId",$param) and $param["VpnGatewayId"] !== null) {
$this->VpnGatewayId = $param["VpnGatewayId"];
}

if (array_key_exists("Routes",$param) and $param["Routes"] !== null) {
$this->Routes = [];
foreach ($param["Routes"] as $key => $value){
$obj = new VpnGatewayRoute();
$obj->deserialize($value);
array_push($this->Routes, $obj);
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?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\Vpc\V20170312\Models;
use TencentCloud\Common\AbstractModel;

/**
* CreateVpnGatewayRoutes返回参数结构体
*
* @method array getRoutes() 获取VPN网关目的路由
* @method void setRoutes(array $Routes) 设置VPN网关目的路由
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
class CreateVpnGatewayRoutesResponse extends AbstractModel
{
/**
* @var array VPN网关目的路由
*/
public $Routes;

/**
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public $RequestId;

/**
* @param array $Routes VPN网关目的路由
* @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("Routes",$param) and $param["Routes"] !== null) {
$this->Routes = [];
foreach ($param["Routes"] as $key => $value){
$obj = new VpnGatewayRoute();
$obj->deserialize($value);
array_push($this->Routes, $obj);
}
}

if (array_key_exists("RequestId",$param) and $param["RequestId"] !== null) {
$this->RequestId = $param["RequestId"];
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?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\Vpc\V20170312\Models;
use TencentCloud\Common\AbstractModel;

/**
* DeleteVpnGatewayRoutes请求参数结构体
*
* @method string getVpnGatewayId() 获取VPN网关实例ID
* @method void setVpnGatewayId(string $VpnGatewayId) 设置VPN网关实例ID
* @method array getRouteIds() 获取路由ID信息列表
* @method void setRouteIds(array $RouteIds) 设置路由ID信息列表
*/
class DeleteVpnGatewayRoutesRequest extends AbstractModel
{
/**
* @var string VPN网关实例ID
*/
public $VpnGatewayId;

/**
* @var array 路由ID信息列表
*/
public $RouteIds;

/**
* @param string $VpnGatewayId VPN网关实例ID
* @param array $RouteIds 路由ID信息列表
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("VpnGatewayId",$param) and $param["VpnGatewayId"] !== null) {
$this->VpnGatewayId = $param["VpnGatewayId"];
}

if (array_key_exists("RouteIds",$param) and $param["RouteIds"] !== null) {
$this->RouteIds = $param["RouteIds"];
}
}
}
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\Vpc\V20170312\Models;
use TencentCloud\Common\AbstractModel;

/**
* DeleteVpnGatewayRoutes返回参数结构体
*
* @method string getRequestId() 获取唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @method void setRequestId(string $RequestId) 设置唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
class DeleteVpnGatewayRoutesResponse extends AbstractModel
{
/**
* @var string 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public $RequestId;

/**
* @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("RequestId",$param) and $param["RequestId"] !== null) {
$this->RequestId = $param["RequestId"];
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<?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\Vpc\V20170312\Models;
use TencentCloud\Common\AbstractModel;

/**
* DescribeVpnGatewayRoutes请求参数结构体
*
* @method string getVpnGatewayId() 获取VPN网关的ID
* @method void setVpnGatewayId(string $VpnGatewayId) 设置VPN网关的ID
* @method array getFilters() 获取过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)
* @method void setFilters(array $Filters) 设置过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)
* @method integer getOffset() 获取偏移量, 默认0
* @method void setOffset(integer $Offset) 设置偏移量, 默认0
* @method integer getLimit() 获取单页个数, 默认20, 最大值100
* @method void setLimit(integer $Limit) 设置单页个数, 默认20, 最大值100
*/
class DescribeVpnGatewayRoutesRequest extends AbstractModel
{
/**
* @var string VPN网关的ID
*/
public $VpnGatewayId;

/**
* @var array 过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)
*/
public $Filters;

/**
* @var integer 偏移量, 默认0
*/
public $Offset;

/**
* @var integer 单页个数, 默认20, 最大值100
*/
public $Limit;

/**
* @param string $VpnGatewayId VPN网关的ID
* @param array $Filters 过滤条件, 条件包括(DestinationCidr, InstanceId,InstanceType)
* @param integer $Offset 偏移量, 默认0
* @param integer $Limit 单页个数, 默认20, 最大值100
*/
function __construct()
{

}

/**
* For internal only. DO NOT USE IT.
*/
public function deserialize($param)
{
if ($param === null) {
return;
}
if (array_key_exists("VpnGatewayId",$param) and $param["VpnGatewayId"] !== null) {
$this->VpnGatewayId = $param["VpnGatewayId"];
}

if (array_key_exists("Filters",$param) and $param["Filters"] !== null) {
$this->Filters = [];
foreach ($param["Filters"] as $key => $value){
$obj = new Filter();
$obj->deserialize($value);
array_push($this->Filters, $obj);
}
}

if (array_key_exists("Offset",$param) and $param["Offset"] !== null) {
$this->Offset = $param["Offset"];
}

if (array_key_exists("Limit",$param) and $param["Limit"] !== null) {
$this->Limit = $param["Limit"];
}
}
}
Loading

0 comments on commit c89d079

Please sign in to comment.