| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?php
- /**
- * Copyright 2022 UCloud Technology Co., Ltd.
- *
- * 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 UCloud\UPhone\Apis;
- use UCloud\Core\Request\Request;
- class DescribeUPhoneIpRegionsRequest extends Request
- {
- public function __construct()
- {
- parent::__construct(["Action" => "DescribeUPhoneIpRegions"]);
- $this->markRequired("CityId");
- }
-
- /**
- * 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);
- }
- /**
- * CityId: 城市Id,通过[获取城市列表](https://docs.ucloud.cn/api/uphone-api/describe_u_phone_cities)获取
- *
- * @return string|null
- */
- public function getCityId()
- {
- return $this->get("CityId");
- }
- /**
- * CityId: 城市Id,通过[获取城市列表](https://docs.ucloud.cn/api/uphone-api/describe_u_phone_cities)获取
- *
- * @param string $cityId
- */
- public function setCityId($cityId)
- {
- $this->set("CityId", $cityId);
- }
- /**
- * ProductType: 枚举值。当前操作的产品类型,1、uphone:云手机场景;2、uphone-server:云手机服务器场景。默认云手机服务器场景。
- *
- * @return string|null
- */
- public function getProductType()
- {
- return $this->get("ProductType");
- }
- /**
- * ProductType: 枚举值。当前操作的产品类型,1、uphone:云手机场景;2、uphone-server:云手机服务器场景。默认云手机服务器场景。
- *
- * @param string $productType
- */
- public function setProductType($productType)
- {
- $this->set("ProductType", $productType);
- }
- }
|