File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
src/Models/ListClusterNodesResponseBody Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ 2025-11-19 Version: 3.0.1
2+ - Update API ListClusterNodes: add response parameters Body.Nodes.$.NodeType.
3+
4+
152025-11-12 Version: 3.0.0
26- Support API ChangeNodeTypes.
37- Support API DeleteHyperNode.
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments