Class: TencentCloud::Vcube::V20220410::XMagicTrial

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220410/models.rb

Overview

可以开通测试的功能

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BizTypeObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



2747
2748
2749
# File 'lib/v20220410/models.rb', line 2747

def BizType
  @BizType
end

#DurationObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



2747
2748
2749
# File 'lib/v20220410/models.rb', line 2747

def Duration
  @Duration
end

#NameObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



2747
2748
2749
# File 'lib/v20220410/models.rb', line 2747

def Name
  @Name
end

#PlanObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



2747
2748
2749
# File 'lib/v20220410/models.rb', line 2747

def Plan
  @Plan
end

#TrialCountObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



2747
2748
2749
# File 'lib/v20220410/models.rb', line 2747

def TrialCount
  @TrialCount
end

#XMagicTypeObject

Parameters:

  • Name:

    功能名称

  • TrialCount:

    可以申请的次数

  • Duration:

    每次申请的时长单位:天

  • Plan:

    功能类别

  • XMagicType:

    single: 原子能力,combined:套餐

  • BizType:

    vod:点播 live:直播



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