Class: TencentCloud::Tcb::V20180608::FreequotaInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::FreequotaInfo
- 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) ⇒ FreequotaInfo
constructor
A new instance of FreequotaInfo.
Constructor Details
#initialize(resourcetype = nil, resourcemetric = nil, freequota = nil, metricunit = nil, deducttype = nil, freequotatype = nil) ⇒ FreequotaInfo
Returns a new instance of FreequotaInfo.
6963 6964 6965 6966 6967 6968 6969 6970 |
# File 'lib/v20180608/models.rb', line 6963 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
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def DeductType @DeductType end |
#FreeQuota ⇒ Object
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def FreeQuota @FreeQuota end |
#FreeQuotaType ⇒ Object
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def FreeQuotaType @FreeQuotaType end |
#MetricUnit ⇒ Object
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def MetricUnit @MetricUnit end |
#ResourceMetric ⇒ Object
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def ResourceMetric @ResourceMetric end |
#ResourceType ⇒ Object
6961 6962 6963 |
# File 'lib/v20180608/models.rb', line 6961 def ResourceType @ResourceType end |
Instance Method Details
#deserialize(params) ⇒ Object
6972 6973 6974 6975 6976 6977 6978 6979 |
# File 'lib/v20180608/models.rb', line 6972 def deserialize(params) @ResourceType = params['ResourceType'] @ResourceMetric = params['ResourceMetric'] @FreeQuota = params['FreeQuota'] @MetricUnit = params['MetricUnit'] @DeductType = params['DeductType'] @FreeQuotaType = params['FreeQuotaType'] end |