Class: TencentCloud::Vcube::V20220410::XMagicTrial
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vcube::V20220410::XMagicTrial
- Defined in:
- lib/v20220410/models.rb
Overview
可以开通测试的功能
Instance Attribute Summary collapse
- #BizType ⇒ Object
- #Duration ⇒ Object
- #Name ⇒ Object
- #Plan ⇒ Object
- #TrialCount ⇒ Object
- #XMagicType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, trialcount = nil, duration = nil, plan = nil, xmagictype = nil, biztype = nil) ⇒ XMagicTrial
constructor
A new instance of XMagicTrial.
Constructor Details
#initialize(name = nil, trialcount = nil, duration = nil, plan = nil, xmagictype = nil, biztype = nil) ⇒ XMagicTrial
Returns a new instance of XMagicTrial.
2749 2750 2751 2752 2753 2754 2755 2756 |
# File 'lib/v20220410/models.rb', line 2749 def initialize(name=nil, trialcount=nil, duration=nil, plan=nil, xmagictype=nil, biztype=nil) @Name = name @TrialCount = trialcount @Duration = duration @Plan = plan @XMagicType = xmagictype @BizType = biztype end |
Instance Attribute Details
#BizType ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def BizType @BizType end |
#Duration ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def Duration @Duration end |
#Name ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def Name @Name end |
#Plan ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def Plan @Plan end |
#TrialCount ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def TrialCount @TrialCount end |
#XMagicType ⇒ Object
2747 2748 2749 |
# File 'lib/v20220410/models.rb', line 2747 def XMagicType @XMagicType end |
Instance Method Details
#deserialize(params) ⇒ Object
2758 2759 2760 2761 2762 2763 2764 2765 |
# File 'lib/v20220410/models.rb', line 2758 def deserialize(params) @Name = params['Name'] @TrialCount = params['TrialCount'] @Duration = params['Duration'] @Plan = params['Plan'] @XMagicType = params['XMagicType'] @BizType = params['BizType'] end |