Skip to content

Commit cc32d9f

Browse files
committed
Update API ListClusterNodes: add response parameters Body.Nodes.$.NodeType.
1 parent abced4a commit cc32d9f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

eflo-controller-20221215/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-11-19 Version: 3.0.1
2+
- Update API ListClusterNodes: add response parameters Body.Nodes.$.NodeType.
3+
4+
15
2025-11-12 Version: 3.0.0
26
- Support API ChangeNodeTypes.
37
- Support API DeleteHyperNode.

eflo-controller-20221215/src/Models/ListClusterNodesResponseBody/nodes.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ class nodes extends Model
8080
*/
8181
public $nodeId;
8282

83+
/**
84+
* @var string
85+
*/
86+
public $nodeType;
87+
8388
/**
8489
* @var string
8590
*/
@@ -129,6 +134,7 @@ class nodes extends Model
129134
'nodeGroupId' => 'NodeGroupId',
130135
'nodeGroupName' => 'NodeGroupName',
131136
'nodeId' => 'NodeId',
137+
'nodeType' => 'NodeType',
132138
'operatingState' => 'OperatingState',
133139
'sn' => 'Sn',
134140
'tags' => 'Tags',
@@ -215,6 +221,10 @@ public function toArray($noStream = false)
215221
$res['NodeId'] = $this->nodeId;
216222
}
217223

224+
if (null !== $this->nodeType) {
225+
$res['NodeType'] = $this->nodeType;
226+
}
227+
218228
if (null !== $this->operatingState) {
219229
$res['OperatingState'] = $this->operatingState;
220230
}
@@ -324,6 +334,10 @@ public static function fromMap($map = [])
324334
$model->nodeId = $map['NodeId'];
325335
}
326336

337+
if (isset($map['NodeType'])) {
338+
$model->nodeType = $map['NodeType'];
339+
}
340+
327341
if (isset($map['OperatingState'])) {
328342
$model->operatingState = $map['OperatingState'];
329343
}

0 commit comments

Comments
 (0)