Class: TencentCloud::Dbbrain::V20210527::AuditInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::AuditInstance
- Defined in:
- lib/v20210527/models.rb
Overview
实例详细信息
Instance Attribute Summary collapse
- #AuditStatus ⇒ Object
- #BillingAmount ⇒ Object
- #BillingConfirmed ⇒ Object
- #ColdLogExpireDay ⇒ Object
- #ColdLogSize ⇒ Object
- #CreateTime ⇒ Object
- #HotLogExpireDay ⇒ Object
- #HotLogSize ⇒ Object
- #InstanceId ⇒ Object
- #InstanceInfo ⇒ Object
- #LogExpireDay ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(auditstatus = nil, billingamount = nil, billingconfirmed = nil, coldlogexpireday = nil, coldlogsize = nil, hotlogexpireday = nil, hotlogsize = nil, instanceid = nil, logexpireday = nil, createtime = nil, instanceinfo = nil) ⇒ AuditInstance
constructor
A new instance of AuditInstance.
Constructor Details
#initialize(auditstatus = nil, billingamount = nil, billingconfirmed = nil, coldlogexpireday = nil, coldlogsize = nil, hotlogexpireday = nil, hotlogsize = nil, instanceid = nil, logexpireday = nil, createtime = nil, instanceinfo = nil) ⇒ AuditInstance
Returns a new instance of AuditInstance.
238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/v20210527/models.rb', line 238 def initialize(auditstatus=nil, billingamount=nil, billingconfirmed=nil, coldlogexpireday=nil, coldlogsize=nil, hotlogexpireday=nil, hotlogsize=nil, instanceid=nil, logexpireday=nil, createtime=nil, instanceinfo=nil) @AuditStatus = auditstatus @BillingAmount = billingamount @BillingConfirmed = billingconfirmed @ColdLogExpireDay = coldlogexpireday @ColdLogSize = coldlogsize @HotLogExpireDay = hotlogexpireday @HotLogSize = hotlogsize @InstanceId = instanceid @LogExpireDay = logexpireday @CreateTime = createtime @InstanceInfo = instanceinfo end |
Instance Attribute Details
#AuditStatus ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def AuditStatus @AuditStatus end |
#BillingAmount ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def BillingAmount @BillingAmount end |
#BillingConfirmed ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def BillingConfirmed @BillingConfirmed end |
#ColdLogExpireDay ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def ColdLogExpireDay @ColdLogExpireDay end |
#ColdLogSize ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def ColdLogSize @ColdLogSize end |
#CreateTime ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def CreateTime @CreateTime end |
#HotLogExpireDay ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def HotLogExpireDay @HotLogExpireDay end |
#HotLogSize ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def HotLogSize @HotLogSize end |
#InstanceId ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def InstanceId @InstanceId end |
#InstanceInfo ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def InstanceInfo @InstanceInfo end |
#LogExpireDay ⇒ Object
236 237 238 |
# File 'lib/v20210527/models.rb', line 236 def LogExpireDay @LogExpireDay end |
Instance Method Details
#deserialize(params) ⇒ Object
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'lib/v20210527/models.rb', line 252 def deserialize(params) @AuditStatus = params['AuditStatus'] @BillingAmount = params['BillingAmount'] @BillingConfirmed = params['BillingConfirmed'] @ColdLogExpireDay = params['ColdLogExpireDay'] @ColdLogSize = params['ColdLogSize'] @HotLogExpireDay = params['HotLogExpireDay'] @HotLogSize = params['HotLogSize'] @InstanceId = params['InstanceId'] @LogExpireDay = params['LogExpireDay'] @CreateTime = params['CreateTime'] unless params['InstanceInfo'].nil? @InstanceInfo = AuditInstanceInfo.new @InstanceInfo.deserialize(params['InstanceInfo']) end end |