Class: TencentCloud::Billing::V20180709::BudgetWarn
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::BudgetWarn
- Defined in:
- lib/v20180709/models.rb
Overview
预算阈值提醒信息
Instance Attribute Summary collapse
-
#CalType ⇒ Object
FORECAST 预测金额.
-
#ThresholdValue ⇒ Object
FORECAST 预测金额.
-
#WarnType ⇒ Object
FORECAST 预测金额.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(warntype = nil, caltype = nil, thresholdvalue = nil) ⇒ BudgetWarn
constructor
A new instance of BudgetWarn.
Constructor Details
#initialize(warntype = nil, caltype = nil, thresholdvalue = nil) ⇒ BudgetWarn
Returns a new instance of BudgetWarn.
3850 3851 3852 3853 3854 |
# File 'lib/v20180709/models.rb', line 3850 def initialize(warntype=nil, caltype=nil, thresholdvalue=nil) @WarnType = warntype @CalType = caltype @ThresholdValue = thresholdvalue end |
Instance Attribute Details
#CalType ⇒ Object
FORECAST 预测金额
3848 3849 3850 |
# File 'lib/v20180709/models.rb', line 3848 def CalType @CalType end |
#ThresholdValue ⇒ Object
FORECAST 预测金额
3848 3849 3850 |
# File 'lib/v20180709/models.rb', line 3848 def ThresholdValue @ThresholdValue end |
#WarnType ⇒ Object
FORECAST 预测金额
3848 3849 3850 |
# File 'lib/v20180709/models.rb', line 3848 def WarnType @WarnType end |
Instance Method Details
#deserialize(params) ⇒ Object
3856 3857 3858 3859 3860 |
# File 'lib/v20180709/models.rb', line 3856 def deserialize(params) @WarnType = params['WarnType'] @CalType = params['CalType'] @ThresholdValue = params['ThresholdValue'] end |