Class: TencentCloud::Tcb::V20180608::PackageFreeQuotaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::PackageFreeQuotaInfo
- Defined in:
- lib/v20180608/models.rb
Overview
后付费免费额度
Instance Attribute Summary collapse
-
#DeductType ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
. -
#FreeQuota ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
. -
#FreeQuotaType ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
. -
#MetricUnit ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
. -
#ResourceMetric ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
. -
#ResourceType ⇒ Object
- COS
- CDN
- FLEXDB
- SCF
- sum-month:以月为单位抵扣
- sum-day:以天为单位抵扣
- totalize:总容量抵扣
- basic:通用量抵扣
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourcetype = nil, resourcemetric = nil, freequota = nil, metricunit = nil, deducttype = nil, freequotatype = nil) ⇒ PackageFreeQuotaInfo
constructor
A new instance of PackageFreeQuotaInfo.
Constructor Details
#initialize(resourcetype = nil, resourcemetric = nil, freequota = nil, metricunit = nil, deducttype = nil, freequotatype = nil) ⇒ PackageFreeQuotaInfo
Returns a new instance of PackageFreeQuotaInfo.
8205 8206 8207 8208 8209 8210 8211 8212 |
# File 'lib/v20180608/models.rb', line 8205 def initialize(resourcetype=nil, resourcemetric=nil, freequota=nil, metricunit=nil, deducttype=nil, freequotatype=nil) @ResourceType = resourcetype @ResourceMetric = resourcemetric @FreeQuota = freequota @MetricUnit = metricunit @DeductType = deducttype @FreeQuotaType = freequotatype end |
Instance Attribute Details
#DeductType ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def DeductType @DeductType end |
#FreeQuota ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def FreeQuota @FreeQuota end |
#FreeQuotaType ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def FreeQuotaType @FreeQuotaType end |
#MetricUnit ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def MetricUnit @MetricUnit end |
#ResourceMetric ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def ResourceMetric @ResourceMetric end |
#ResourceType ⇒ Object
8203 8204 8205 |
# File 'lib/v20180608/models.rb', line 8203 def ResourceType @ResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
8214 8215 8216 8217 8218 8219 8220 8221 |
# File 'lib/v20180608/models.rb', line 8214 def deserialize(params) @ResourceType = params['ResourceType'] @ResourceMetric = params['ResourceMetric'] @FreeQuota = params['FreeQuota'] @MetricUnit = params['MetricUnit'] @DeductType = params['DeductType'] @FreeQuotaType = params['FreeQuotaType'] end |