"GetUPhoneServerPrice"]); $this->markRequired("CityId"); $this->markRequired("ServerModelName"); } /** * 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); } /** * ServerModelName: 服务器规格名称 * * @return string|null */ public function getServerModelName() { return $this->get("ServerModelName"); } /** * ServerModelName: 服务器规格名称 * * @param string $serverModelName */ public function setServerModelName($serverModelName) { $this->set("ServerModelName", $serverModelName); } /** * ChargeType: 计费模式。枚举值为:> Year,按年付费;> Month,按月付费;> Dynamic,按小时预付费; 如果不传某个枚举值,默认返回年付、月付的价格组合集。 * * @return string|null */ public function getChargeType() { return $this->get("ChargeType"); } /** * ChargeType: 计费模式。枚举值为:> Year,按年付费;> Month,按月付费;> Dynamic,按小时预付费; 如果不传某个枚举值,默认返回年付、月付的价格组合集。 * * @param string $chargeType */ public function setChargeType($chargeType) { $this->set("ChargeType", $chargeType); } /** * Quantity: 购买时长。默认: 1。 月付时,此参数传0,代表了购买至月末。 * * @return integer|null */ public function getQuantity() { return $this->get("Quantity"); } /** * Quantity: 购买时长。默认: 1。 月付时,此参数传0,代表了购买至月末。 * * @param int $quantity */ public function setQuantity($quantity) { $this->set("Quantity", $quantity); } /** * IpDestRegion: 购买独立IP必须此参数。绑定的目的地域。参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) * * @return string|null */ public function getIpDestRegion() { return $this->get("IpDestRegion"); } /** * IpDestRegion: 购买独立IP必须此参数。绑定的目的地域。参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) * * @param string $ipDestRegion */ public function setIpDestRegion($ipDestRegion) { $this->set("IpDestRegion", $ipDestRegion); } /** * Bandwidth: 购买独立IP需要此参数。共享带宽总值。 * * @return integer|null */ public function getBandwidth() { return $this->get("Bandwidth"); } /** * Bandwidth: 购买独立IP需要此参数。共享带宽总值。 * * @param int $bandwidth */ public function setBandwidth($bandwidth) { $this->set("Bandwidth", $bandwidth); } /** * IpCount: 购买独立IP需要此参数。需要的eip数量。 * * @return integer|null */ public function getIpCount() { return $this->get("IpCount"); } /** * IpCount: 购买独立IP需要此参数。需要的eip数量。 * * @param int $ipCount */ public function setIpCount($ipCount) { $this->set("IpCount", $ipCount); } }