Class: TencentCloud::Tcb::V20180608::PostPaidEnvDeductInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::PostPaidEnvDeductInfo
- Defined in:
- lib/v20180608/models.rb
Overview
后付费计费详情
Instance Attribute Summary collapse
- #EnvId ⇒ Object
- #FreeQuota ⇒ Object
- #MetricName ⇒ Object
- #PkgQuota ⇒ Object
- #ResourceType ⇒ Object
- #ResQuota ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcetype = nil, metricname = nil, resquota = nil, pkgquota = nil, freequota = nil, envid = nil) ⇒ PostPaidEnvDeductInfo
constructor
A new instance of PostPaidEnvDeductInfo.
Constructor Details
#initialize(resourcetype = nil, metricname = nil, resquota = nil, pkgquota = nil, freequota = nil, envid = nil) ⇒ PostPaidEnvDeductInfo
Returns a new instance of PostPaidEnvDeductInfo.
7162 7163 7164 7165 7166 7167 7168 7169 |
# File 'lib/v20180608/models.rb', line 7162 def initialize(resourcetype=nil, metricname=nil, resquota=nil, pkgquota=nil, freequota=nil, envid=nil) @ResourceType = resourcetype @MetricName = metricname @ResQuota = resquota @PkgQuota = pkgquota @FreeQuota = freequota @EnvId = envid end |
Instance Attribute Details
#EnvId ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def EnvId @EnvId end |
#FreeQuota ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def FreeQuota @FreeQuota end |
#MetricName ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def MetricName @MetricName end |
#PkgQuota ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def PkgQuota @PkgQuota end |
#ResourceType ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def ResourceType @ResourceType end |
#ResQuota ⇒ Object
7160 7161 7162 |
# File 'lib/v20180608/models.rb', line 7160 def ResQuota @ResQuota end |
Instance Method Details
#deserialize(params) ⇒ Object
7171 7172 7173 7174 7175 7176 7177 7178 |
# File 'lib/v20180608/models.rb', line 7171 def deserialize(params) @ResourceType = params['ResourceType'] @MetricName = params['MetricName'] @ResQuota = params['ResQuota'] @PkgQuota = params['PkgQuota'] @FreeQuota = params['FreeQuota'] @EnvId = params['EnvId'] end |