From 1189f593d0741c044d3256788d57ab93a4a6687a Mon Sep 17 00:00:00 2001 From: ucloud-bot Date: Thu, 14 Dec 2023 06:48:18 +0000 Subject: [PATCH] sdk: rolling update for 0.3.4 --- VERSION | 2 +- src/UGN/Apis/DescribeSimpleUGNRequest.php | 70 ++++ src/UGN/Apis/DescribeSimpleUGNResponse.php | 144 ++++++++ .../Apis/GetSimpleUGNBwPackagesRequest.php | 111 ++++++ .../Apis/GetSimpleUGNBwPackagesResponse.php | 117 +++++++ src/UGN/Apis/ListSimpleBwPackageRequest.php | 90 +++++ src/UGN/Apis/ListSimpleBwPackageResponse.php | 117 +++++++ src/UGN/Apis/ListUGNRequest.php | 90 +++++ src/UGN/Apis/ListUGNResponse.php | 117 +++++++ src/UGN/Apis/ModifyUGNBandwidthRequest.php | 112 ++++++ src/UGN/Apis/ModifyUGNBandwidthResponse.php | 26 ++ src/UGN/Models/SimpleBwPackage.php | 324 ++++++++++++++++++ src/UGN/Models/SimpleNetwork.php | 184 ++++++++++ src/UGN/Models/SimpleRoute.php | 144 ++++++++ src/UGN/Models/UGN.php | 144 ++++++++ src/UGN/UGNClient.php | 279 +++++++++++++++ src/USMS/Apis/AddBackfillRequest.php | 192 +++++++++++ src/USMS/Apis/AddBackfillResponse.php | 26 ++ src/USMS/Apis/CreateUSMSSignatureRequest.php | 2 +- src/USMS/Apis/CreateUSMSSignatureResponse.php | 2 +- src/USMS/Apis/CreateUSMSTemplateRequest.php | 2 +- src/USMS/Apis/CreateUSMSTemplateResponse.php | 2 +- src/USMS/Apis/DeleteUSMSSignatureRequest.php | 2 +- src/USMS/Apis/DeleteUSMSSignatureResponse.php | 2 +- src/USMS/Apis/DeleteUSMSTemplateRequest.php | 2 +- src/USMS/Apis/DeleteUSMSTemplateResponse.php | 2 +- src/USMS/Apis/GetUSMSSendReceiptRequest.php | 2 +- src/USMS/Apis/GetUSMSSendReceiptResponse.php | 2 +- src/USMS/Apis/QueryUSMSSignatureRequest.php | 2 +- src/USMS/Apis/QueryUSMSSignatureResponse.php | 2 +- src/USMS/Apis/QueryUSMSTemplateRequest.php | 2 +- src/USMS/Apis/QueryUSMSTemplateResponse.php | 2 +- src/USMS/Apis/SendBatchUSMSMessageRequest.php | 2 +- .../Apis/SendBatchUSMSMessageResponse.php | 2 +- src/USMS/Apis/SendUSMSMessageRequest.php | 31 +- src/USMS/Apis/SendUSMSMessageResponse.php | 2 +- src/USMS/Apis/UpdateUSMSSignatureRequest.php | 2 +- src/USMS/Apis/UpdateUSMSSignatureResponse.php | 2 +- src/USMS/Apis/UpdateUSMSTemplateRequest.php | 2 +- src/USMS/Apis/UpdateUSMSTemplateResponse.php | 2 +- src/USMS/Models/BatchInfo.php | 2 +- src/USMS/Models/FailPhoneDetail.php | 2 +- src/USMS/Models/OutSignature.php | 18 +- src/USMS/Models/OutTemplate.php | 2 +- src/USMS/Models/ReceiptPerPhone.php | 2 +- src/USMS/Models/ReceiptPerSession.php | 2 +- src/USMS/USMSClient.php | 46 ++- 47 files changed, 2378 insertions(+), 58 deletions(-) create mode 100644 src/UGN/Apis/DescribeSimpleUGNRequest.php create mode 100644 src/UGN/Apis/DescribeSimpleUGNResponse.php create mode 100644 src/UGN/Apis/GetSimpleUGNBwPackagesRequest.php create mode 100644 src/UGN/Apis/GetSimpleUGNBwPackagesResponse.php create mode 100644 src/UGN/Apis/ListSimpleBwPackageRequest.php create mode 100644 src/UGN/Apis/ListSimpleBwPackageResponse.php create mode 100644 src/UGN/Apis/ListUGNRequest.php create mode 100644 src/UGN/Apis/ListUGNResponse.php create mode 100644 src/UGN/Apis/ModifyUGNBandwidthRequest.php create mode 100644 src/UGN/Apis/ModifyUGNBandwidthResponse.php create mode 100644 src/UGN/Models/SimpleBwPackage.php create mode 100644 src/UGN/Models/SimpleNetwork.php create mode 100644 src/UGN/Models/SimpleRoute.php create mode 100644 src/UGN/Models/UGN.php create mode 100644 src/UGN/UGNClient.php create mode 100644 src/USMS/Apis/AddBackfillRequest.php create mode 100644 src/USMS/Apis/AddBackfillResponse.php diff --git a/VERSION b/VERSION index 1c09c74e..42045aca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.3 +0.3.4 diff --git a/src/UGN/Apis/DescribeSimpleUGNRequest.php b/src/UGN/Apis/DescribeSimpleUGNRequest.php new file mode 100644 index 00000000..f9688f12 --- /dev/null +++ b/src/UGN/Apis/DescribeSimpleUGNRequest.php @@ -0,0 +1,70 @@ + "DescribeSimpleUGN"]); + $this->markRequired("UGNID"); + } + + + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * UGNID: UGN ID + * + * @return string|null + */ + public function getUGNID() + { + return $this->get("UGNID"); + } + + /** + * UGNID: UGN ID + * + * @param string $ugnid + */ + public function setUGNID($ugnid) + { + $this->set("UGNID", $ugnid); + } +} diff --git a/src/UGN/Apis/DescribeSimpleUGNResponse.php b/src/UGN/Apis/DescribeSimpleUGNResponse.php new file mode 100644 index 00000000..b3ded688 --- /dev/null +++ b/src/UGN/Apis/DescribeSimpleUGNResponse.php @@ -0,0 +1,144 @@ +get("UGN")); + } + + /** + * UGN: + * + * @param UGN $ugn + */ + public function setUGN(array $ugn) + { + $this->set("UGN", $ugn->getAll()); + } + + /** + * Networks: + * + * @return SimpleNetwork[]|null + */ + public function getNetworks() + { + $items = $this->get("Networks"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new SimpleNetwork($item)); + } + return $result; + } + + /** + * Networks: + * + * @param SimpleNetwork[] $networks + */ + public function setNetworks(array $networks) + { + $result = []; + foreach ($networks as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } + + /** + * BwPackages: + * + * @return SimpleBwPackage[]|null + */ + public function getBwPackages() + { + $items = $this->get("BwPackages"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new SimpleBwPackage($item)); + } + return $result; + } + + /** + * BwPackages: + * + * @param SimpleBwPackage[] $bwPackages + */ + public function setBwPackages(array $bwPackages) + { + $result = []; + foreach ($bwPackages as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } + + /** + * Routes: + * + * @return SimpleRoute[]|null + */ + public function getRoutes() + { + $items = $this->get("Routes"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new SimpleRoute($item)); + } + return $result; + } + + /** + * Routes: + * + * @param SimpleRoute[] $routes + */ + public function setRoutes(array $routes) + { + $result = []; + foreach ($routes as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } +} diff --git a/src/UGN/Apis/GetSimpleUGNBwPackagesRequest.php b/src/UGN/Apis/GetSimpleUGNBwPackagesRequest.php new file mode 100644 index 00000000..317abbd6 --- /dev/null +++ b/src/UGN/Apis/GetSimpleUGNBwPackagesRequest.php @@ -0,0 +1,111 @@ + "GetSimpleUGNBwPackages"]); + $this->markRequired("ProjectId"); + $this->markRequired("UGNID"); + } + + + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * UGNID: + * + * @return string|null + */ + public function getUGNID() + { + return $this->get("UGNID"); + } + + /** + * UGNID: + * + * @param string $ugnid + */ + public function setUGNID($ugnid) + { + $this->set("UGNID", $ugnid); + } + + /** + * Offset: 偏移量,默认0 + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: 偏移量,默认0 + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } + + /** + * Limit: 分页大小,默认20 + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: 分页大小,默认20 + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } +} diff --git a/src/UGN/Apis/GetSimpleUGNBwPackagesResponse.php b/src/UGN/Apis/GetSimpleUGNBwPackagesResponse.php new file mode 100644 index 00000000..7bffa476 --- /dev/null +++ b/src/UGN/Apis/GetSimpleUGNBwPackagesResponse.php @@ -0,0 +1,117 @@ +get("BwPackages"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new SimpleBwPackage($item)); + } + return $result; + } + + /** + * BwPackages: + * + * @param SimpleBwPackage[] $bwPackages + */ + public function setBwPackages(array $bwPackages) + { + $result = []; + foreach ($bwPackages as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } + + /** + * TotalCount: + * + * @return integer|null + */ + public function getTotalCount() + { + return $this->get("TotalCount"); + } + + /** + * TotalCount: + * + * @param int $totalCount + */ + public function setTotalCount($totalCount) + { + $this->set("TotalCount", $totalCount); + } + + /** + * Offset: + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } + + /** + * Limit: + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } +} diff --git a/src/UGN/Apis/ListSimpleBwPackageRequest.php b/src/UGN/Apis/ListSimpleBwPackageRequest.php new file mode 100644 index 00000000..bbc8ef3f --- /dev/null +++ b/src/UGN/Apis/ListSimpleBwPackageRequest.php @@ -0,0 +1,90 @@ + "ListSimpleBwPackage"]); + $this->markRequired("ProjectId"); + } + + + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * Offset: + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } + + /** + * Limit: + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } +} diff --git a/src/UGN/Apis/ListSimpleBwPackageResponse.php b/src/UGN/Apis/ListSimpleBwPackageResponse.php new file mode 100644 index 00000000..e206442c --- /dev/null +++ b/src/UGN/Apis/ListSimpleBwPackageResponse.php @@ -0,0 +1,117 @@ +get("TotalCount"); + } + + /** + * TotalCount: + * + * @param int $totalCount + */ + public function setTotalCount($totalCount) + { + $this->set("TotalCount", $totalCount); + } + + /** + * Offset: + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } + + /** + * Limit: + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } + + /** + * BwPackages: + * + * @return SimpleBwPackage[]|null + */ + public function getBwPackages() + { + $items = $this->get("BwPackages"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new SimpleBwPackage($item)); + } + return $result; + } + + /** + * BwPackages: + * + * @param SimpleBwPackage[] $bwPackages + */ + public function setBwPackages(array $bwPackages) + { + $result = []; + foreach ($bwPackages as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } +} diff --git a/src/UGN/Apis/ListUGNRequest.php b/src/UGN/Apis/ListUGNRequest.php new file mode 100644 index 00000000..73ede28a --- /dev/null +++ b/src/UGN/Apis/ListUGNRequest.php @@ -0,0 +1,90 @@ + "ListUGN"]); + $this->markRequired("ProjectId"); + } + + + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * Limit: 分页大小,默认20 + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: 分页大小,默认20 + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } + + /** + * Offset: 偏移量,默认0 + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: 偏移量,默认0 + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } +} diff --git a/src/UGN/Apis/ListUGNResponse.php b/src/UGN/Apis/ListUGNResponse.php new file mode 100644 index 00000000..92e3289c --- /dev/null +++ b/src/UGN/Apis/ListUGNResponse.php @@ -0,0 +1,117 @@ +get("UGNs"); + if ($items == null) { + return []; + } + $result = []; + foreach ($items as $i => $item) { + array_push($result, new UGN($item)); + } + return $result; + } + + /** + * UGNs: + * + * @param UGN[] $ugNs + */ + public function setUGNs(array $ugNs) + { + $result = []; + foreach ($ugNs as $i => $item) { + array_push($result, $item->getAll()); + } + return $result; + } + + /** + * TotalCount: + * + * @return integer|null + */ + public function getTotalCount() + { + return $this->get("TotalCount"); + } + + /** + * TotalCount: + * + * @param int $totalCount + */ + public function setTotalCount($totalCount) + { + $this->set("TotalCount", $totalCount); + } + + /** + * Offset: + * + * @return integer|null + */ + public function getOffset() + { + return $this->get("Offset"); + } + + /** + * Offset: + * + * @param int $offset + */ + public function setOffset($offset) + { + $this->set("Offset", $offset); + } + + /** + * Limit: + * + * @return integer|null + */ + public function getLimit() + { + return $this->get("Limit"); + } + + /** + * Limit: + * + * @param int $limit + */ + public function setLimit($limit) + { + $this->set("Limit", $limit); + } +} diff --git a/src/UGN/Apis/ModifyUGNBandwidthRequest.php b/src/UGN/Apis/ModifyUGNBandwidthRequest.php new file mode 100644 index 00000000..fd2a737f --- /dev/null +++ b/src/UGN/Apis/ModifyUGNBandwidthRequest.php @@ -0,0 +1,112 @@ + "ModifyUGNBandwidth"]); + $this->markRequired("PackageID"); + $this->markRequired("UGNID"); + $this->markRequired("BandWidth"); + } + + + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * PackageID: 带宽包id + * + * @return string|null + */ + public function getPackageID() + { + return $this->get("PackageID"); + } + + /** + * PackageID: 带宽包id + * + * @param string $packageID + */ + public function setPackageID($packageID) + { + $this->set("PackageID", $packageID); + } + + /** + * UGNID: 云联网id + * + * @return string|null + */ + public function getUGNID() + { + return $this->get("UGNID"); + } + + /** + * UGNID: 云联网id + * + * @param string $ugnid + */ + public function setUGNID($ugnid) + { + $this->set("UGNID", $ugnid); + } + + /** + * BandWidth: 带宽值 + * + * @return integer|null + */ + public function getBandWidth() + { + return $this->get("BandWidth"); + } + + /** + * BandWidth: 带宽值 + * + * @param int $bandWidth + */ + public function setBandWidth($bandWidth) + { + $this->set("BandWidth", $bandWidth); + } +} diff --git a/src/UGN/Apis/ModifyUGNBandwidthResponse.php b/src/UGN/Apis/ModifyUGNBandwidthResponse.php new file mode 100644 index 00000000..342f0ae4 --- /dev/null +++ b/src/UGN/Apis/ModifyUGNBandwidthResponse.php @@ -0,0 +1,26 @@ +get("PackageID"); + } + + /** + * PackageID: + * + * @param string $packageID + */ + public function setPackageID($packageID) + { + $this->set("PackageID", $packageID); + } + + /** + * UGNID: + * + * @return string|null + */ + public function getUGNID() + { + return $this->get("UGNID"); + } + + /** + * UGNID: + * + * @param string $ugnid + */ + public function setUGNID($ugnid) + { + $this->set("UGNID", $ugnid); + } + + /** + * PayMode: 计费模式 FixedBw:固定带宽|Peak95:经典95|Max5:第五峰值|Traffic:流量计费 + * + * @return string|null + */ + public function getPayMode() + { + return $this->get("PayMode"); + } + + /** + * PayMode: 计费模式 FixedBw:固定带宽|Peak95:经典95|Max5:第五峰值|Traffic:流量计费 + * + * @param string $payMode + */ + public function setPayMode($payMode) + { + $this->set("PayMode", $payMode); + } + + /** + * RegionA: 地域A名称 + * + * @return string|null + */ + public function getRegionA() + { + return $this->get("RegionA"); + } + + /** + * RegionA: 地域A名称 + * + * @param string $regionA + */ + public function setRegionA($regionA) + { + $this->set("RegionA", $regionA); + } + + /** + * RegionB: 地域B名称 + * + * @return string|null + */ + public function getRegionB() + { + return $this->get("RegionB"); + } + + /** + * RegionB: 地域B名称 + * + * @param string $regionB + */ + public function setRegionB($regionB) + { + $this->set("RegionB", $regionB); + } + + /** + * BandWidth: 带宽值 + * + * @return float|null + */ + public function getBandWidth() + { + return $this->get("BandWidth"); + } + + /** + * BandWidth: 带宽值 + * + * @param float $bandWidth + */ + public function setBandWidth($bandWidth) + { + $this->set("BandWidth", $bandWidth); + } + + /** + * Qos: 服务质量Diamond:钻石|Platinum:铂金|Gold:黄金 + * + * @return string|null + */ + public function getQos() + { + return $this->get("Qos"); + } + + /** + * Qos: 服务质量Diamond:钻石|Platinum:铂金|Gold:黄金 + * + * @param string $qos + */ + public function setQos($qos) + { + $this->set("Qos", $qos); + } + + /** + * Path: 智能路径Delay:最低时延|IGP:普通线路|TCO:最低成本 + * + * @return string|null + */ + public function getPath() + { + return $this->get("Path"); + } + + /** + * Path: 智能路径Delay:最低时延|IGP:普通线路|TCO:最低成本 + * + * @param string $path + */ + public function setPath($path) + { + $this->set("Path", $path); + } + + /** + * CreateTime: 创建时间 + * + * @return integer|null + */ + public function getCreateTime() + { + return $this->get("CreateTime"); + } + + /** + * CreateTime: 创建时间 + * + * @param int $createTime + */ + public function setCreateTime($createTime) + { + $this->set("CreateTime", $createTime); + } + + /** + * Name: + * + * @return string|null + */ + public function getName() + { + return $this->get("Name"); + } + + /** + * Name: + * + * @param string $name + */ + public function setName($name) + { + $this->set("Name", $name); + } + + /** + * Remark: + * + * @return string|null + */ + public function getRemark() + { + return $this->get("Remark"); + } + + /** + * Remark: + * + * @param string $remark + */ + public function setRemark($remark) + { + $this->set("Remark", $remark); + } + + /** + * ExpireTime: 过期时间 + * + * @return integer|null + */ + public function getExpireTime() + { + return $this->get("ExpireTime"); + } + + /** + * ExpireTime: 过期时间 + * + * @param int $expireTime + */ + public function setExpireTime($expireTime) + { + $this->set("ExpireTime", $expireTime); + } + + /** + * ChangeStatus: 带宽包切换状态 + * + * @return integer|null + */ + public function getChangeStatus() + { + return $this->get("ChangeStatus"); + } + + /** + * ChangeStatus: 带宽包切换状态 + * + * @param int $changeStatus + */ + public function setChangeStatus($changeStatus) + { + $this->set("ChangeStatus", $changeStatus); + } + + /** + * ChangeTime: 带宽包切换时间 + * + * @return integer|null + */ + public function getChangeTime() + { + return $this->get("ChangeTime"); + } + + /** + * ChangeTime: 带宽包切换时间 + * + * @param int $changeTime + */ + public function setChangeTime($changeTime) + { + $this->set("ChangeTime", $changeTime); + } + + /** + * ChangePayMode: 带宽包切换计费类型 + * + * @return string|null + */ + public function getChangePayMode() + { + return $this->get("ChangePayMode"); + } + + /** + * ChangePayMode: 带宽包切换计费类型 + * + * @param string $changePayMode + */ + public function setChangePayMode($changePayMode) + { + $this->set("ChangePayMode", $changePayMode); + } +} diff --git a/src/UGN/Models/SimpleNetwork.php b/src/UGN/Models/SimpleNetwork.php new file mode 100644 index 00000000..16c81713 --- /dev/null +++ b/src/UGN/Models/SimpleNetwork.php @@ -0,0 +1,184 @@ +get("Region"); + } + + /** + * Region: 网络实例所在地域 + * + * @param string $region + */ + public function setRegion($region) + { + $this->set("Region", $region); + } + + /** + * NetworkID: 网络实例的ID,如 vnet-xxxxx + * + * @return string|null + */ + public function getNetworkID() + { + return $this->get("NetworkID"); + } + + /** + * NetworkID: 网络实例的ID,如 vnet-xxxxx + * + * @param string $networkID + */ + public function setNetworkID($networkID) + { + $this->set("NetworkID", $networkID); + } + + /** + * Name: 网络实例名称 + * + * @return string|null + */ + public function getName() + { + return $this->get("Name"); + } + + /** + * Name: 网络实例名称 + * + * @param string $name + */ + public function setName($name) + { + $this->set("Name", $name); + } + + /** + * Type: 网络实例类型:VPC/HybridGW/... + * + * @return string|null + */ + public function getType() + { + return $this->get("Type"); + } + + /** + * Type: 网络实例类型:VPC/HybridGW/... + * + * @param string $type + */ + public function setType($type) + { + $this->set("Type", $type); + } + + /** + * OrgName: 网络实例所在项目名 + * + * @return string|null + */ + public function getOrgName() + { + return $this->get("OrgName"); + } + + /** + * OrgName: 网络实例所在项目名 + * + * @param string $orgName + */ + public function setOrgName($orgName) + { + $this->set("OrgName", $orgName); + } + + /** + * RegionID: 网络实例所在地域ID + * + * @return integer|null + */ + public function getRegionID() + { + return $this->get("RegionID"); + } + + /** + * RegionID: 网络实例所在地域ID + * + * @param int $regionID + */ + public function setRegionID($regionID) + { + $this->set("RegionID", $regionID); + } + + /** + * OrgID: 网络实例所在项目的ID + * + * @return integer|null + */ + public function getOrgID() + { + return $this->get("OrgID"); + } + + /** + * OrgID: 网络实例所在项目的ID + * + * @param int $orgID + */ + public function setOrgID($orgID) + { + $this->set("OrgID", $orgID); + } + + /** + * CreateTime: + * + * @return integer|null + */ + public function getCreateTime() + { + return $this->get("CreateTime"); + } + + /** + * CreateTime: + * + * @param int $createTime + */ + public function setCreateTime($createTime) + { + $this->set("CreateTime", $createTime); + } +} diff --git a/src/UGN/Models/SimpleRoute.php b/src/UGN/Models/SimpleRoute.php new file mode 100644 index 00000000..259c78c3 --- /dev/null +++ b/src/UGN/Models/SimpleRoute.php @@ -0,0 +1,144 @@ +get("DstAddr"); + } + + /** + * DstAddr: 目的网段 + * + * @param string $dstAddr + */ + public function setDstAddr($dstAddr) + { + $this->set("DstAddr", $dstAddr); + } + + /** + * NextHopID: 下一跳网络实例 ID + * + * @return string|null + */ + public function getNextHopID() + { + return $this->get("NextHopID"); + } + + /** + * NextHopID: 下一跳网络实例 ID + * + * @param string $nextHopID + */ + public function setNextHopID($nextHopID) + { + $this->set("NextHopID", $nextHopID); + } + + /** + * NextHopType: 下一跳网络实例类型 + * + * @return string|null + */ + public function getNextHopType() + { + return $this->get("NextHopType"); + } + + /** + * NextHopType: 下一跳网络实例类型 + * + * @param string $nextHopType + */ + public function setNextHopType($nextHopType) + { + $this->set("NextHopType", $nextHopType); + } + + /** + * NextHopRegion: 下一跳网络实例所属地域 + * + * @return string|null + */ + public function getNextHopRegion() + { + return $this->get("NextHopRegion"); + } + + /** + * NextHopRegion: 下一跳网络实例所属地域 + * + * @param string $nextHopRegion + */ + public function setNextHopRegion($nextHopRegion) + { + $this->set("NextHopRegion", $nextHopRegion); + } + + /** + * NextHopRegionID: 下一跳网络实例所属地域 id + * + * @return integer|null + */ + public function getNextHopRegionID() + { + return $this->get("NextHopRegionID"); + } + + /** + * NextHopRegionID: 下一跳网络实例所属地域 id + * + * @param int $nextHopRegionID + */ + public function setNextHopRegionID($nextHopRegionID) + { + $this->set("NextHopRegionID", $nextHopRegionID); + } + + /** + * Priority: 路由优先级 + * + * @return integer|null + */ + public function getPriority() + { + return $this->get("Priority"); + } + + /** + * Priority: 路由优先级 + * + * @param int $priority + */ + public function setPriority($priority) + { + $this->set("Priority", $priority); + } +} diff --git a/src/UGN/Models/UGN.php b/src/UGN/Models/UGN.php new file mode 100644 index 00000000..e07c5be1 --- /dev/null +++ b/src/UGN/Models/UGN.php @@ -0,0 +1,144 @@ +get("UGNID"); + } + + /** + * UGNID: 云联网资源 ID + * + * @param string $ugnid + */ + public function setUGNID($ugnid) + { + $this->set("UGNID", $ugnid); + } + + /** + * Name: 云联网名称 + * + * @return string|null + */ + public function getName() + { + return $this->get("Name"); + } + + /** + * Name: 云联网名称 + * + * @param string $name + */ + public function setName($name) + { + $this->set("Name", $name); + } + + /** + * Remark: 云联网备注 + * + * @return string|null + */ + public function getRemark() + { + return $this->get("Remark"); + } + + /** + * Remark: 云联网备注 + * + * @param string $remark + */ + public function setRemark($remark) + { + $this->set("Remark", $remark); + } + + /** + * CreateTime: 云联网创建时间 + * + * @return integer|null + */ + public function getCreateTime() + { + return $this->get("CreateTime"); + } + + /** + * CreateTime: 云联网创建时间 + * + * @param int $createTime + */ + public function setCreateTime($createTime) + { + $this->set("CreateTime", $createTime); + } + + /** + * NetworkCount: 关联网络实例数量 + * + * @return integer|null + */ + public function getNetworkCount() + { + return $this->get("NetworkCount"); + } + + /** + * NetworkCount: 关联网络实例数量 + * + * @param int $networkCount + */ + public function setNetworkCount($networkCount) + { + $this->set("NetworkCount", $networkCount); + } + + /** + * BwPackageCount: 绑定带宽包数量 + * + * @return integer|null + */ + public function getBwPackageCount() + { + return $this->get("BwPackageCount"); + } + + /** + * BwPackageCount: 绑定带宽包数量 + * + * @param int $bwPackageCount + */ + public function setBwPackageCount($bwPackageCount) + { + $this->set("BwPackageCount", $bwPackageCount); + } +} diff --git a/src/UGN/UGNClient.php b/src/UGN/UGNClient.php new file mode 100644 index 00000000..24315cbc --- /dev/null +++ b/src/UGN/UGNClient.php @@ -0,0 +1,279 @@ + (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "UGNID" => (string) UGN ID + * ] + * + * Outputs: + * + * $outputs = [ + * "UGN" => (object) [ + * "UGNID" => (string) 云联网资源 ID + * "Name" => (string) 云联网名称 + * "Remark" => (string) 云联网备注 + * "CreateTime" => (integer) 云联网创建时间 + * "NetworkCount" => (integer) 关联网络实例数量 + * "BwPackageCount" => (integer) 绑定带宽包数量 + * ] + * "Networks" => (array) [ + * [ + * "Region" => (string) 网络实例所在地域 + * "NetworkID" => (string) 网络实例的ID,如 vnet-xxxxx + * "Name" => (string) 网络实例名称 + * "Type" => (string) 网络实例类型:VPC/HybridGW/... + * "OrgName" => (string) 网络实例所在项目名 + * "RegionID" => (integer) 网络实例所在地域ID + * "OrgID" => (integer) 网络实例所在项目的ID + * "CreateTime" => (integer) + * ] + * ] + * "BwPackages" => (array) [ + * [ + * "PackageID" => (string) + * "UGNID" => (string) + * "PayMode" => (string) 计费模式 FixedBw:固定带宽|Peak95:经典95|Max5:第五峰值|Traffic:流量计费 + * "RegionA" => (string) 地域A名称 + * "RegionB" => (string) 地域B名称 + * "BandWidth" => (number) 带宽值 + * "Qos" => (string) 服务质量Diamond:钻石|Platinum:铂金|Gold:黄金 + * "Path" => (string) 智能路径Delay:最低时延|IGP:普通线路|TCO:最低成本 + * "CreateTime" => (integer) 创建时间 + * "Name" => (string) + * "Remark" => (string) + * "ExpireTime" => (integer) 过期时间 + * "ChangeStatus" => (integer) 带宽包切换状态 + * "ChangeTime" => (integer) 带宽包切换时间 + * "ChangePayMode" => (string) 带宽包切换计费类型 + * ] + * ] + * "Routes" => (array) [ + * [ + * "DstAddr" => (string) 目的网段 + * "NextHopID" => (string) 下一跳网络实例 ID + * "NextHopType" => (string) 下一跳网络实例类型 + * "NextHopRegion" => (string) 下一跳网络实例所属地域 + * "NextHopRegionID" => (integer) 下一跳网络实例所属地域 id + * "Priority" => (integer) 路由优先级 + * ] + * ] + * ] + * + * @return DescribeSimpleUGNResponse + * @throws UCloudException + */ + public function describeSimpleUGN(DescribeSimpleUGNRequest $request = null) + { + $resp = $this->invoke($request); + return new DescribeSimpleUGNResponse($resp->toArray(), $resp->getRequestId()); + } + + /** + * GetSimpleUGNBwPackages - 获取指定云联网内的带宽包 + * + * See also: https://docs.ucloud.cn/api/ugn-api/get_simple_ugn_bw_packages + * + * Arguments: + * + * $args = [ + * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "UGNID" => (string) + * "Offset" => (integer) 偏移量,默认0 + * "Limit" => (integer) 分页大小,默认20 + * ] + * + * Outputs: + * + * $outputs = [ + * "BwPackages" => (array) [ + * [ + * "PackageID" => (string) + * "UGNID" => (string) + * "PayMode" => (string) 计费模式 FixedBw:固定带宽|Peak95:经典95|Max5:第五峰值|Traffic:流量计费 + * "RegionA" => (string) 地域A名称 + * "RegionB" => (string) 地域B名称 + * "BandWidth" => (number) 带宽值 + * "Qos" => (string) 服务质量Diamond:钻石|Platinum:铂金|Gold:黄金 + * "Path" => (string) 智能路径Delay:最低时延|IGP:普通线路|TCO:最低成本 + * "CreateTime" => (integer) 创建时间 + * "Name" => (string) + * "Remark" => (string) + * "ExpireTime" => (integer) 过期时间 + * "ChangeStatus" => (integer) 带宽包切换状态 + * "ChangeTime" => (integer) 带宽包切换时间 + * "ChangePayMode" => (string) 带宽包切换计费类型 + * ] + * ] + * "TotalCount" => (integer) + * "Offset" => (integer) + * "Limit" => (integer) + * ] + * + * @return GetSimpleUGNBwPackagesResponse + * @throws UCloudException + */ + public function getSimpleUGNBwPackages(GetSimpleUGNBwPackagesRequest $request = null) + { + $resp = $this->invoke($request); + return new GetSimpleUGNBwPackagesResponse($resp->toArray(), $resp->getRequestId()); + } + + /** + * ListSimpleBwPackage - 获取当前项目下的带宽包列表 + * + * See also: https://docs.ucloud.cn/api/ugn-api/list_simple_bw_package + * + * Arguments: + * + * $args = [ + * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "Offset" => (integer) + * "Limit" => (integer) + * ] + * + * Outputs: + * + * $outputs = [ + * "TotalCount" => (integer) + * "Offset" => (integer) + * "Limit" => (integer) + * "BwPackages" => (array) [ + * [ + * "PackageID" => (string) + * "UGNID" => (string) + * "PayMode" => (string) 计费模式 FixedBw:固定带宽|Peak95:经典95|Max5:第五峰值|Traffic:流量计费 + * "RegionA" => (string) 地域A名称 + * "RegionB" => (string) 地域B名称 + * "BandWidth" => (number) 带宽值 + * "Qos" => (string) 服务质量Diamond:钻石|Platinum:铂金|Gold:黄金 + * "Path" => (string) 智能路径Delay:最低时延|IGP:普通线路|TCO:最低成本 + * "CreateTime" => (integer) 创建时间 + * "Name" => (string) + * "Remark" => (string) + * "ExpireTime" => (integer) 过期时间 + * "ChangeStatus" => (integer) 带宽包切换状态 + * "ChangeTime" => (integer) 带宽包切换时间 + * "ChangePayMode" => (string) 带宽包切换计费类型 + * ] + * ] + * ] + * + * @return ListSimpleBwPackageResponse + * @throws UCloudException + */ + public function listSimpleBwPackage(ListSimpleBwPackageRequest $request = null) + { + $resp = $this->invoke($request); + return new ListSimpleBwPackageResponse($resp->toArray(), $resp->getRequestId()); + } + + /** + * ListUGN - 获取当前项目下所有云联网资源 + * + * See also: https://docs.ucloud.cn/api/ugn-api/list_ugn + * + * Arguments: + * + * $args = [ + * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "Limit" => (integer) 分页大小,默认20 + * "Offset" => (integer) 偏移量,默认0 + * ] + * + * Outputs: + * + * $outputs = [ + * "UGNs" => (array) [ + * [ + * "UGNID" => (string) 云联网资源 ID + * "Name" => (string) 云联网名称 + * "Remark" => (string) 云联网备注 + * "CreateTime" => (integer) 云联网创建时间 + * "NetworkCount" => (integer) 关联网络实例数量 + * "BwPackageCount" => (integer) 绑定带宽包数量 + * ] + * ] + * "TotalCount" => (integer) + * "Offset" => (integer) + * "Limit" => (integer) + * ] + * + * @return ListUGNResponse + * @throws UCloudException + */ + public function listUGN(ListUGNRequest $request = null) + { + $resp = $this->invoke($request); + return new ListUGNResponse($resp->toArray(), $resp->getRequestId()); + } + + /** + * ModifyUGNBandwidth - 修改云联网带宽大小 + * + * See also: https://docs.ucloud.cn/api/ugn-api/modify_ugn_bandwidth + * + * Arguments: + * + * $args = [ + * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "PackageID" => (string) 带宽包id + * "UGNID" => (string) 云联网id + * "BandWidth" => (integer) 带宽值 + * ] + * + * Outputs: + * + * $outputs = [ + * ] + * + * @return ModifyUGNBandwidthResponse + * @throws UCloudException + */ + public function modifyUGNBandwidth(ModifyUGNBandwidthRequest $request = null) + { + $resp = $this->invoke($request); + return new ModifyUGNBandwidthResponse($resp->toArray(), $resp->getRequestId()); + } +} diff --git a/src/USMS/Apis/AddBackfillRequest.php b/src/USMS/Apis/AddBackfillRequest.php new file mode 100644 index 00000000..b9e21089 --- /dev/null +++ b/src/USMS/Apis/AddBackfillRequest.php @@ -0,0 +1,192 @@ + "AddBackfill"]); + $this->markRequired("ProjectId"); + $this->markRequired("SendNo"); + $this->markRequired("Target"); + } + + + + /** + * Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * + * @return string|null + */ + public function getRegion() + { + return $this->get("Region"); + } + + /** + * Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * + * @param string $region + */ + public function setRegion($region) + { + $this->set("Region", $region); + } + + /** + * Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * + * @return string|null + */ + public function getZone() + { + return $this->get("Zone"); + } + + /** + * Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * + * @param string $zone + */ + public function setZone($zone) + { + $this->set("Zone", $zone); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @return string|null + */ + public function getProjectId() + { + return $this->get("ProjectId"); + } + + /** + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * + * @param string $projectId + */ + public function setProjectId($projectId) + { + $this->set("ProjectId", $projectId); + } + + /** + * SendNo: 发送Number,记录一次发送请求的唯一性 + * + * @return string|null + */ + public function getSendNo() + { + return $this->get("SendNo"); + } + + /** + * SendNo: 发送Number,记录一次发送请求的唯一性 + * + * @param string $sendNo + */ + public function setSendNo($sendNo) + { + $this->set("SendNo", $sendNo); + } + + /** + * Target: 短信的接收目标,手机号需要添加国家码,比如(1)231xxxx + * + * @return string|null + */ + public function getTarget() + { + return $this->get("Target"); + } + + /** + * Target: 短信的接收目标,手机号需要添加国家码,比如(1)231xxxx + * + * @param string $target + */ + public function setTarget($target) + { + $this->set("Target", $target); + } + + /** + * BackfillTime: 回填时间,秒级别时间戳 + * + * @return integer|null + */ + public function getBackfillTime() + { + return $this->get("BackfillTime"); + } + + /** + * BackfillTime: 回填时间,秒级别时间戳 + * + * @param int $backfillTime + */ + public function setBackfillTime($backfillTime) + { + $this->set("BackfillTime", $backfillTime); + } + + /** + * Content: 回填内容 + * + * @return string|null + */ + public function getContent() + { + return $this->get("Content"); + } + + /** + * Content: 回填内容 + * + * @param string $content + */ + public function setContent($content) + { + $this->set("Content", $content); + } + + /** + * SendTime: 发送请求的时间,秒级别时间戳 + * + * @return integer|null + */ + public function getSendTime() + { + return $this->get("SendTime"); + } + + /** + * SendTime: 发送请求的时间,秒级别时间戳 + * + * @param int $sendTime + */ + public function setSendTime($sendTime) + { + $this->set("SendTime", $sendTime); + } +} diff --git a/src/USMS/Apis/AddBackfillResponse.php b/src/USMS/Apis/AddBackfillResponse.php new file mode 100644 index 00000000..f4361812 --- /dev/null +++ b/src/USMS/Apis/AddBackfillResponse.php @@ -0,0 +1,26 @@ + "SendUSMSMessage"]); $this->markRequired("ProjectId"); $this->markRequired("PhoneNumbers"); - $this->markRequired("SigContent"); $this->markRequired("TemplateId"); } @@ -72,43 +71,43 @@ public function setPhoneNumbers(array $phoneNumbers) } /** - * SigContent: 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; + * TemplateId: 模板ID(也即短信模板申请时的工单ID),请到[USMS控制台](https://console.ucloud.cn/usms)的模板管理页面查看;使用的短信模板必须是已申请并通过审核; * * @return string|null */ - public function getSigContent() + public function getTemplateId() { - return $this->get("SigContent"); + return $this->get("TemplateId"); } /** - * SigContent: 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; + * TemplateId: 模板ID(也即短信模板申请时的工单ID),请到[USMS控制台](https://console.ucloud.cn/usms)的模板管理页面查看;使用的短信模板必须是已申请并通过审核; * - * @param string $sigContent + * @param string $templateId */ - public function setSigContent($sigContent) + public function setTemplateId($templateId) { - $this->set("SigContent", $sigContent); + $this->set("TemplateId", $templateId); } /** - * TemplateId: 模板ID(也即短信模板申请时的工单ID),请到[USMS控制台](https://console.ucloud.cn/usms)的模板管理页面查看;使用的短信模板必须是已申请并通过审核; + * SigContent: 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; * * @return string|null */ - public function getTemplateId() + public function getSigContent() { - return $this->get("TemplateId"); + return $this->get("SigContent"); } /** - * TemplateId: 模板ID(也即短信模板申请时的工单ID),请到[USMS控制台](https://console.ucloud.cn/usms)的模板管理页面查看;使用的短信模板必须是已申请并通过审核; + * SigContent: 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; * - * @param string $templateId + * @param string $sigContent */ - public function setTemplateId($templateId) + public function setSigContent($sigContent) { - $this->set("TemplateId", $templateId); + $this->set("SigContent", $sigContent); } /** diff --git a/src/USMS/Apis/SendUSMSMessageResponse.php b/src/USMS/Apis/SendUSMSMessageResponse.php index 2071a2d3..e196432e 100644 --- a/src/USMS/Apis/SendUSMSMessageResponse.php +++ b/src/USMS/Apis/SendUSMSMessageResponse.php @@ -1,6 +1,6 @@ (string) 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * "Zone" => (string) 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * "SendNo" => (string) 发送Number,记录一次发送请求的唯一性 + * "Target" => (string) 短信的接收目标,手机号需要添加国家码,比如(1)231xxxx + * "BackfillTime" => (integer) 回填时间,秒级别时间戳 + * "Content" => (string) 回填内容 + * "SendTime" => (integer) 发送请求的时间,秒级别时间戳 + * ] + * + * Outputs: + * + * $outputs = [ + * ] + * + * @return AddBackfillResponse + * @throws UCloudException + */ + public function addBackfill(AddBackfillRequest $request = null) + { + $resp = $this->invoke($request); + return new AddBackfillResponse($resp->toArray(), $resp->getRequestId()); + } + /** * CreateUSMSSignature - 调用接口CreateUSMSSignature申请短信签名 * @@ -227,10 +261,10 @@ public function getUSMSSendReceipt(GetUSMSSendReceiptRequest $request = null) * * $outputs = [ * "Data" => (object) 签名信息[ - * "SigId" => (string) 短信签名ID - * "SigContent" => (string) 短信签名内容 - * "Status" => (integer) 签名状态,0-待审核 1-审核中 2-审核通过 3-审核未通过 4-被禁用 - * "ErrDesc" => (string) 短信签名未通过审核原因 + * "SigId" => (string) 签名ID + * "SigContent" => (string) 签名内容 + * "Status" => (integer) 签名状态。0-待审核 1-审核中 2-审核通过 3-审核未通过 4-被禁用 + * "ErrDesc" => (string) 签名审核失败原因 * ] * ] * @@ -336,8 +370,8 @@ public function sendBatchUSMSMessage(SendBatchUSMSMessageRequest $request = null * $args = [ * "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) * "PhoneNumbers" => (array) 电话号码数组,电话号码格式为(60)1xxxxxxxx,()中为国际长途区号(如中国为86或0086,两种格式都支持),后面为电话号码.若不传入国际区号,如1851623xxxx,则默认为国内手机号 - * "SigContent" => (string) 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; * "TemplateId" => (string) 模板ID(也即短信模板申请时的工单ID),请到[USMS控制台](https://console.ucloud.cn/usms)的模板管理页面查看;使用的短信模板必须是已申请并通过审核; + * "SigContent" => (string) 短信签名内容,请到[USMS控制台](https://console.ucloud.cn/usms)的签名管理页面查看;使用的短信签名必须是已申请并且通过审核; * "TemplateParams" => (array) 模板可变参数,以数组的方式填写,举例,TemplateParams.0,TemplateParams.1,... 若模板中无可变参数,则该项可不填写;若模板中有可变参数,则该项为必填项,参数个数需与变量个数保持一致,否则无法发送; * "ExtendCode" => (string) 短信扩展码,格式为阿拉伯数字串,默认不开通,如需开通请联系 UCloud技术支持 * "UserId" => (string) 自定义的业务标识ID,字符串( 长度不能超过32 位),不支持 单引号、表情包符号等特殊字符