|
| 1 | +<?php |
| 2 | +/** |
| 3 | + * Copyright 2026 UCloud Technology Co., Ltd. |
| 4 | + * |
| 5 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + * you may not use this file except in compliance with the License. |
| 7 | + * You may obtain a copy of the License at |
| 8 | + * |
| 9 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + * |
| 11 | + * Unless required by applicable law or agreed to in writing, software |
| 12 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + * See the License for the specific language governing permissions and |
| 15 | + * limitations under the License. |
| 16 | + */ |
| 17 | +namespace UCloud\ULogService\Apis; |
| 18 | + |
| 19 | +use UCloud\Core\Request\Request; |
| 20 | + |
| 21 | +class DescribeULogServiceLogSetRequest extends Request |
| 22 | +{ |
| 23 | + public function __construct() |
| 24 | + { |
| 25 | + parent::__construct(["Action" => "DescribeULogServiceLogSet"]); |
| 26 | + $this->markRequired("Region"); |
| 27 | + $this->markRequired("Zone"); |
| 28 | + $this->markRequired("LogSetId"); |
| 29 | + } |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + /** |
| 34 | + * Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) |
| 35 | + * |
| 36 | + * @return string|null |
| 37 | + */ |
| 38 | + public function getRegion() |
| 39 | + { |
| 40 | + return $this->get("Region"); |
| 41 | + } |
| 42 | + |
| 43 | + /** |
| 44 | + * Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) |
| 45 | + * |
| 46 | + * @param string $region |
| 47 | + */ |
| 48 | + public function setRegion($region) |
| 49 | + { |
| 50 | + $this->set("Region", $region); |
| 51 | + } |
| 52 | + |
| 53 | + /** |
| 54 | + * Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) |
| 55 | + * |
| 56 | + * @return string|null |
| 57 | + */ |
| 58 | + public function getZone() |
| 59 | + { |
| 60 | + return $this->get("Zone"); |
| 61 | + } |
| 62 | + |
| 63 | + /** |
| 64 | + * Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) |
| 65 | + * |
| 66 | + * @param string $zone |
| 67 | + */ |
| 68 | + public function setZone($zone) |
| 69 | + { |
| 70 | + $this->set("Zone", $zone); |
| 71 | + } |
| 72 | + |
| 73 | + /** |
| 74 | + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) |
| 75 | + * |
| 76 | + * @return string|null |
| 77 | + */ |
| 78 | + public function getProjectId() |
| 79 | + { |
| 80 | + return $this->get("ProjectId"); |
| 81 | + } |
| 82 | + |
| 83 | + /** |
| 84 | + * ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) |
| 85 | + * |
| 86 | + * @param string $projectId |
| 87 | + */ |
| 88 | + public function setProjectId($projectId) |
| 89 | + { |
| 90 | + $this->set("ProjectId", $projectId); |
| 91 | + } |
| 92 | + |
| 93 | + /** |
| 94 | + * LogSetId: 日志集ID |
| 95 | + * |
| 96 | + * @return string|null |
| 97 | + */ |
| 98 | + public function getLogSetId() |
| 99 | + { |
| 100 | + return $this->get("LogSetId"); |
| 101 | + } |
| 102 | + |
| 103 | + /** |
| 104 | + * LogSetId: 日志集ID |
| 105 | + * |
| 106 | + * @param string $logSetId |
| 107 | + */ |
| 108 | + public function setLogSetId($logSetId) |
| 109 | + { |
| 110 | + $this->set("LogSetId", $logSetId); |
| 111 | + } |
| 112 | +} |
0 commit comments