@@ -25,9 +25,11 @@ namespace Models
2525 DARABONBA_PTR_TO_JSON (ClusterInfo, clusterInfo_);
2626 DARABONBA_PTR_TO_JSON (ClusterName, clusterName_);
2727 DARABONBA_PTR_TO_JSON (EnableHa, enableHa_);
28+ DARABONBA_PTR_TO_JSON (Encrypted, encrypted_);
2829 DARABONBA_PTR_TO_JSON (ExpireTime, expireTime_);
2930 DARABONBA_PTR_TO_JSON (InstanceId, instanceId_);
3031 DARABONBA_PTR_TO_JSON (InstanceStatus, instanceStatus_);
32+ DARABONBA_PTR_TO_JSON (KmsKeyId, kmsKeyId_);
3133 DARABONBA_PTR_TO_JSON (MeasureConfig, measureConfig_);
3234 DARABONBA_PTR_TO_JSON (MultiZoneMode, multiZoneMode_);
3335 DARABONBA_PTR_TO_JSON (NodeType, nodeType_);
@@ -56,9 +58,11 @@ namespace Models
5658 DARABONBA_PTR_FROM_JSON (ClusterInfo, clusterInfo_);
5759 DARABONBA_PTR_FROM_JSON (ClusterName, clusterName_);
5860 DARABONBA_PTR_FROM_JSON (EnableHa, enableHa_);
61+ DARABONBA_PTR_FROM_JSON (Encrypted, encrypted_);
5962 DARABONBA_PTR_FROM_JSON (ExpireTime, expireTime_);
6063 DARABONBA_PTR_FROM_JSON (InstanceId, instanceId_);
6164 DARABONBA_PTR_FROM_JSON (InstanceStatus, instanceStatus_);
65+ DARABONBA_PTR_FROM_JSON (KmsKeyId, kmsKeyId_);
6266 DARABONBA_PTR_FROM_JSON (MeasureConfig, measureConfig_);
6367 DARABONBA_PTR_FROM_JSON (MultiZoneMode, multiZoneMode_);
6468 DARABONBA_PTR_FROM_JSON (NodeType, nodeType_);
@@ -92,11 +96,11 @@ namespace Models
9296 virtual Darabonba::Json toMap () const override { Darabonba::Json obj; to_json (obj, *this ); return obj; };
9397 virtual bool empty () const override { return this ->aclId_ == nullptr
9498 && return this ->beginTime_ == nullptr && return this ->bucketName_ == nullptr && return this ->bucketPath_ == nullptr && return this ->clusterInfo_ == nullptr && return this ->clusterName_ == nullptr
95- && return this ->enableHa_ == nullptr && return this ->expireTime_ == nullptr && return this ->instanceId_ == nullptr && return this ->instanceStatus_ == nullptr && return this ->measureConfig_ == nullptr
96- && return this ->multiZoneMode_ == nullptr && return this ->nodeType_ == nullptr && return this ->openPublicNet_ == nullptr && return this ->packageType_ == nullptr && return this ->payType_ == nullptr
97- && return this ->productCode_ == nullptr && return this ->regionId_ == nullptr && return this ->resourceGroupId_ == nullptr && return this ->runningTime_ == nullptr && return this ->sgId_ == nullptr
98- && return this ->tags_ == nullptr && return this ->templateVersion_ == nullptr && return this ->userConfig_ == nullptr && return this ->vSwitches_ == nullptr && return this ->version_ == nullptr
99- && return this ->vpcId_ == nullptr && return this ->vswId_ == nullptr && return this ->zoneId_ == nullptr ; };
99+ && return this ->enableHa_ == nullptr && return this ->encrypted_ == nullptr && return this ->expireTime_ == nullptr && return this ->instanceId_ == nullptr && return this ->instanceStatus_ == nullptr
100+ && return this ->kmsKeyId_ == nullptr && return this ->measureConfig_ == nullptr && return this ->multiZoneMode_ == nullptr && return this ->nodeType_ == nullptr && return this ->openPublicNet_ == nullptr
101+ && return this ->packageType_ == nullptr && return this ->payType_ == nullptr && return this ->productCode_ == nullptr && return this ->regionId_ == nullptr && return this ->resourceGroupId_ == nullptr
102+ && return this ->runningTime_ == nullptr && return this ->sgId_ == nullptr && return this ->tags_ == nullptr && return this ->templateVersion_ == nullptr && return this ->userConfig_ == nullptr
103+ && return this ->vSwitches_ == nullptr && return this -> version_ == nullptr && return this -> vpcId_ == nullptr && return this ->vswId_ == nullptr && return this ->zoneId_ == nullptr ; };
100104 // aclId Field Functions
101105 bool hasAclId () const { return this ->aclId_ != nullptr ;};
102106 void deleteAclId () { this ->aclId_ = nullptr ;};
@@ -148,6 +152,13 @@ namespace Models
148152 inline GetInstanceDetailResponseBodyData& setEnableHa (bool enableHa) { DARABONBA_PTR_SET_VALUE (enableHa_, enableHa) };
149153
150154
155+ // encrypted Field Functions
156+ bool hasEncrypted () const { return this ->encrypted_ != nullptr ;};
157+ void deleteEncrypted () { this ->encrypted_ = nullptr ;};
158+ inline string encrypted () const { DARABONBA_PTR_GET_DEFAULT (encrypted_, " " ) };
159+ inline GetInstanceDetailResponseBodyData& setEncrypted (string encrypted) { DARABONBA_PTR_SET_VALUE (encrypted_, encrypted) };
160+ 161+ 151162 // expireTime Field Functions
152163 bool hasExpireTime () const { return this ->expireTime_ != nullptr ;};
153164 void deleteExpireTime () { this ->expireTime_ = nullptr ;};
@@ -169,6 +180,13 @@ namespace Models
169180 inline GetInstanceDetailResponseBodyData& setInstanceStatus (string instanceStatus) { DARABONBA_PTR_SET_VALUE (instanceStatus_, instanceStatus) };
170181
171182
183+ // kmsKeyId Field Functions
184+ bool hasKmsKeyId () const { return this ->kmsKeyId_ != nullptr ;};
185+ void deleteKmsKeyId () { this ->kmsKeyId_ = nullptr ;};
186+ inline string kmsKeyId () const { DARABONBA_PTR_GET_DEFAULT (kmsKeyId_, " " ) };
187+ inline GetInstanceDetailResponseBodyData& setKmsKeyId (string kmsKeyId) { DARABONBA_PTR_SET_VALUE (kmsKeyId_, kmsKeyId) };
188+ 189+ 172190 // measureConfig Field Functions
173191 bool hasMeasureConfig () const { return this ->measureConfig_ != nullptr ;};
174192 void deleteMeasureConfig () { this ->measureConfig_ = nullptr ;};
@@ -322,6 +340,7 @@ namespace Models
322340 // The instance name.
323341 std::shared_ptr<string> clusterName_ = nullptr ;
324342 std::shared_ptr<bool > enableHa_ = nullptr ;
343+ std::shared_ptr<string> encrypted_ = nullptr ;
325344 // The expiration time.
326345 std::shared_ptr<int64_t > expireTime_ = nullptr ;
327346 // The ID of the instance.
@@ -335,6 +354,7 @@ namespace Models
335354 // * deleting.
336355 // * deleted.
337356 std::shared_ptr<string> instanceStatus_ = nullptr ;
357+ std::shared_ptr<string> kmsKeyId_ = nullptr ;
338358 std::shared_ptr<Models::GetInstanceDetailResponseBodyDataMeasureConfig> measureConfig_ = nullptr ;
339359 std::shared_ptr<string> multiZoneMode_ = nullptr ;
340360 std::shared_ptr<string> nodeType_ = nullptr ;
0 commit comments