| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?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 ModifyUPhoneServerRemarkRequest extends Request
- {
- public function __construct()
- {
- parent::__construct(["Action" => "ModifyUPhoneServerRemark"]);
- $this->markRequired("CityId");
- $this->markRequired("ServerId");
- }
-
- /**
- * 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,通过[获取城市列表](#DescribeUPhoneCities)获取
- *
- * @return string|null
- */
- public function getCityId()
- {
- return $this->get("CityId");
- }
- /**
- * CityId: 城市Id,通过[获取城市列表](#DescribeUPhoneCities)获取
- *
- * @param string $cityId
- */
- public function setCityId($cityId)
- {
- $this->set("CityId", $cityId);
- }
- /**
- * ServerId: 云手机服务器的唯一标识
- *
- * @return string|null
- */
- public function getServerId()
- {
- return $this->get("ServerId");
- }
- /**
- * ServerId: 云手机服务器的唯一标识
- *
- * @param string $serverId
- */
- public function setServerId($serverId)
- {
- $this->set("ServerId", $serverId);
- }
- /**
- * Remark: 备注
- *
- * @return string|null
- */
- public function getRemark()
- {
- return $this->get("Remark");
- }
- /**
- * Remark: 备注
- *
- * @param string $remark
- */
- public function setRemark($remark)
- {
- $this->set("Remark", $remark);
- }
- }
|