Skip to content

Commit 014dde6

Browse files
authored
sdk: rolling update for 0.3.67 (#102)
1 parent bba1d3b commit 014dde6

7 files changed

Lines changed: 398 additions & 9 deletions

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.66
1+
0.3.67
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
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+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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\Response\Response;
20+
use UCloud\ULogService\Models\LogSetInfo;
21+
22+
class DescribeULogServiceLogSetResponse extends Response
23+
{
24+
25+
26+
/**
27+
* TotalCount: 日志集总数
28+
*
29+
* @return integer|null
30+
*/
31+
public function getTotalCount()
32+
{
33+
return $this->get("TotalCount");
34+
}
35+
36+
/**
37+
* TotalCount: 日志集总数
38+
*
39+
* @param int $totalCount
40+
*/
41+
public function setTotalCount($totalCount)
42+
{
43+
$this->set("TotalCount", $totalCount);
44+
}
45+
46+
/**
47+
* LogSetInfo: 日志集信息
48+
*
49+
* @return LogSetInfo|null
50+
*/
51+
public function getLogSetInfo()
52+
{
53+
return new LogSetInfo($this->get("LogSetInfo"));
54+
}
55+
56+
/**
57+
* LogSetInfo: 日志集信息
58+
*
59+
* @param LogSetInfo $logSetInfo
60+
*/
61+
public function setLogSetInfo(array $logSetInfo)
62+
{
63+
$this->set("LogSetInfo", $logSetInfo->getAll());
64+
}
65+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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 DescribeULogServiceTopicRequest extends Request
22+
{
23+
public function __construct()
24+
{
25+
parent::__construct(["Action" => "DescribeULogServiceTopic"]);
26+
$this->markRequired("Region");
27+
$this->markRequired("TopicId");
28+
}
29+
30+
31+
32+
/**
33+
* Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
34+
*
35+
* @return string|null
36+
*/
37+
public function getRegion()
38+
{
39+
return $this->get("Region");
40+
}
41+
42+
/**
43+
* Region: 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
44+
*
45+
* @param string $region
46+
*/
47+
public function setRegion($region)
48+
{
49+
$this->set("Region", $region);
50+
}
51+
52+
/**
53+
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
54+
*
55+
* @return string|null
56+
*/
57+
public function getProjectId()
58+
{
59+
return $this->get("ProjectId");
60+
}
61+
62+
/**
63+
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
64+
*
65+
* @param string $projectId
66+
*/
67+
public function setProjectId($projectId)
68+
{
69+
$this->set("ProjectId", $projectId);
70+
}
71+
72+
/**
73+
* TopicId: 主题Id
74+
*
75+
* @return string|null
76+
*/
77+
public function getTopicId()
78+
{
79+
return $this->get("TopicId");
80+
}
81+
82+
/**
83+
* TopicId: 主题Id
84+
*
85+
* @param string $topicId
86+
*/
87+
public function setTopicId($topicId)
88+
{
89+
$this->set("TopicId", $topicId);
90+
}
91+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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\Response\Response;
20+
use UCloud\ULogService\Models\TopicInfo;
21+
22+
class DescribeULogServiceTopicResponse extends Response
23+
{
24+
25+
26+
/**
27+
* Data: 主题详情
28+
*
29+
* @return TopicInfo|null
30+
*/
31+
public function getData()
32+
{
33+
return new TopicInfo($this->get("Data"));
34+
}
35+
36+
/**
37+
* Data: 主题详情
38+
*
39+
* @param TopicInfo $data
40+
*/
41+
public function setData(array $data)
42+
{
43+
$this->set("Data", $data->getAll());
44+
}
45+
}

‎src/ULogService/Models/TopicInfo.php‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,22 @@ public function setIsReserved($isReserved)
123123
}
124124

125125
/**
126-
* TopicDesc: 主题描述
126+
* State: 日志主题状态
127127
*
128128
* @return string|null
129129
*/
130-
public function getTopicDesc()
130+
public function getState()
131131
{
132-
return $this->get("TopicDesc");
132+
return $this->get("State");
133133
}
134134

135135
/**
136-
* TopicDesc: 主题描述
136+
* State: 日志主题状态
137137
*
138-
* @param string $topicDesc
138+
* @param string $state
139139
*/
140-
public function setTopicDesc($topicDesc)
140+
public function setState($state)
141141
{
142-
$this->set("TopicDesc", $topicDesc);
142+
$this->set("State", $state);
143143
}
144144
}

0 commit comments

Comments
 (0)