Skip to content

Commit 180472c

Browse files
committed
Update API DescribeApplicationAttribute: add response parameters Body.Endpoints.$.PortDescription.
1 parent 32e4857 commit 180472c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

polardb-20170801/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-11-14 Version: 6.1.5
2+
- Update API DescribeApplicationAttribute: add response parameters Body.Endpoints.$.PortDescription.
3+
4+
15
2025-11-06 Version: 6.1.4
26
- Update API DescribeAIDBClusterAttribute: add response parameters Body.DBNodes.$.CreationTime.
37

polardb-20170801/src/Models/DescribeApplicationAttributeResponseBody/endpoints.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,18 @@ class endpoints extends Model
3232
* @var string
3333
*/
3434
public $port;
35+
36+
/**
37+
* @var string
38+
*/
39+
public $portDescription;
3540
protected $_name = [
3641
'description' => 'Description',
3742
'endpointId' => 'EndpointId',
3843
'IP' => 'IP',
3944
'netType' => 'NetType',
4045
'port' => 'Port',
46+
'portDescription' => 'PortDescription',
4147
];
4248

4349
public function validate()
@@ -68,6 +74,10 @@ public function toArray($noStream = false)
6874
$res['Port'] = $this->port;
6975
}
7076

77+
if (null !== $this->portDescription) {
78+
$res['PortDescription'] = $this->portDescription;
79+
}
80+
7181
return $res;
7282
}
7383

@@ -99,6 +109,10 @@ public static function fromMap($map = [])
99109
$model->port = $map['Port'];
100110
}
101111

112+
if (isset($map['PortDescription'])) {
113+
$model->portDescription = $map['PortDescription'];
114+
}
115+
102116
return $model;
103117
}
104118
}

0 commit comments

Comments
 (0)