Class: TencentCloud::Cdb::V20170320::DescribeDBInstanceConfigResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeDBInstanceConfigResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeDBInstanceConfig返回参数结构体
Instance Attribute Summary collapse
-
#BackupConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeployMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ProtectMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SlaveConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switched ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protectmode = nil, deploymode = nil, zone = nil, slaveconfig = nil, backupconfig = nil, switched = nil, requestid = nil) ⇒ DescribeDBInstanceConfigResponse
constructor
A new instance of DescribeDBInstanceConfigResponse.
Constructor Details
#initialize(protectmode = nil, deploymode = nil, zone = nil, slaveconfig = nil, backupconfig = nil, switched = nil, requestid = nil) ⇒ DescribeDBInstanceConfigResponse
Returns a new instance of DescribeDBInstanceConfigResponse.
6148 6149 6150 6151 6152 6153 6154 6155 6156 |
# File 'lib/v20170320/models.rb', line 6148 def initialize(protectmode=nil, deploymode=nil, zone=nil, slaveconfig=nil, backupconfig=nil, switched=nil, requestid=nil) @ProtectMode = protectmode @DeployMode = deploymode @Zone = zone @SlaveConfig = slaveconfig @BackupConfig = backupconfig @Switched = switched @RequestId = requestid end |
Instance Attribute Details
#BackupConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def BackupConfig @BackupConfig end |
#DeployMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def DeployMode @DeployMode end |
#ProtectMode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def ProtectMode @ProtectMode end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def RequestId @RequestId end |
#SlaveConfig ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def SlaveConfig @SlaveConfig end |
#Switched ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def Switched @Switched end |
#Zone ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6146 6147 6148 |
# File 'lib/v20170320/models.rb', line 6146 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 |
# File 'lib/v20170320/models.rb', line 6158 def deserialize(params) @ProtectMode = params['ProtectMode'] @DeployMode = params['DeployMode'] @Zone = params['Zone'] unless params['SlaveConfig'].nil? @SlaveConfig = SlaveConfig.new @SlaveConfig.deserialize(params['SlaveConfig']) end unless params['BackupConfig'].nil? @BackupConfig = BackupConfig.new @BackupConfig.deserialize(params['BackupConfig']) end @Switched = params['Switched'] @RequestId = params['RequestId'] end |