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.
8296 8297 8298 8299 8300 8301 8302 8303 |
# File 'lib/v20180608/models.rb', line 8296 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
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def EnvId @EnvId end |
#FreeQuota ⇒ Object
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def FreeQuota @FreeQuota end |
#MetricName ⇒ Object
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def MetricName @MetricName end |
#PkgQuota ⇒ Object
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def PkgQuota @PkgQuota end |
#ResourceType ⇒ Object
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def ResourceType @ResourceType end |
#ResQuota ⇒ Object
8294 8295 8296 |
# File 'lib/v20180608/models.rb', line 8294 def ResQuota @ResQuota end |
Instance Method Details
#deserialize(params) ⇒ Object
8305 8306 8307 8308 8309 8310 8311 8312 |
# File 'lib/v20180608/models.rb', line 8305 def deserialize(params) @ResourceType = params['ResourceType'] @MetricName = params['MetricName'] @ResQuota = params['ResQuota'] @PkgQuota = params['PkgQuota'] @FreeQuota = params['FreeQuota'] @EnvId = params['EnvId'] end |