Class: TencentCloud::Tdmq::V20200217::VirtualHostQuota
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::VirtualHostQuota
- Defined in:
- lib/v20200217/models.rb
Overview
vhost使用配额信息
Instance Attribute Summary collapse
-
#MaxVirtualHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UsedVirtualHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maxvirtualhost = nil, usedvirtualhost = nil) ⇒ VirtualHostQuota
constructor
A new instance of VirtualHostQuota.
Constructor Details
#initialize(maxvirtualhost = nil, usedvirtualhost = nil) ⇒ VirtualHostQuota
Returns a new instance of VirtualHostQuota.
13451 13452 13453 13454 |
# File 'lib/v20200217/models.rb', line 13451 def initialize(maxvirtualhost=nil, usedvirtualhost=nil) @MaxVirtualHost = maxvirtualhost @UsedVirtualHost = usedvirtualhost end |
Instance Attribute Details
#MaxVirtualHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
13449 13450 13451 |
# File 'lib/v20200217/models.rb', line 13449 def MaxVirtualHost @MaxVirtualHost end |
#UsedVirtualHost ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
13449 13450 13451 |
# File 'lib/v20200217/models.rb', line 13449 def UsedVirtualHost @UsedVirtualHost end |
Instance Method Details
#deserialize(params) ⇒ Object
13456 13457 13458 13459 |
# File 'lib/v20200217/models.rb', line 13456 def deserialize(params) @MaxVirtualHost = params['MaxVirtualHost'] @UsedVirtualHost = params['UsedVirtualHost'] end |