Skip to content

Commit

Permalink
release 3.0.825
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Feb 16, 2023
1 parent 737793b commit 6f8b8b7
Show file tree
Hide file tree
Showing 2 changed files with 13 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.824"
"tencentcloud/common": "3.0.825"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
* @method void setTags(array $Tags) 设置需要关联的标签列表。
* @method string getProtocol() 获取带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
* @method void setProtocol(string $Protocol) 设置带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
* @method integer getTimeSpan() 获取预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
* @method void setTimeSpan(integer $TimeSpan) 设置预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
*/
class CreateBandwidthPackageRequest extends AbstractModel
{
Expand Down Expand Up @@ -87,6 +89,11 @@ class CreateBandwidthPackageRequest extends AbstractModel
*/
public $Protocol;

/**
* @var integer 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
*/
public $TimeSpan;

/**
* @param string $NetworkType 带宽包类型, 默认值: BGP, 可选值:
<li>BGP: 普通BGP共享带宽包</li>
Expand All @@ -100,6 +107,7 @@ class CreateBandwidthPackageRequest extends AbstractModel
* @param integer $InternetMaxBandwidth 带宽包限速大小。单位:Mbps,-1表示不限速。该功能当前内测中,暂不对外开放。
* @param array $Tags 需要关联的标签列表。
* @param string $Protocol 带宽包协议类型。当前支持'ipv4'和'ipv6'协议带宽包,默认值是'ipv4'。
* @param integer $TimeSpan 预付费包月带宽包的购买时长,单位: 月,取值范围: 1~60。
*/
function __construct()
{
Expand Down Expand Up @@ -146,5 +154,9 @@ public function deserialize($param)
if (array_key_exists("Protocol",$param) and $param["Protocol"] !== null) {
$this->Protocol = $param["Protocol"];
}

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

0 comments on commit 6f8b8b7

Please sign in to comment.