Class: TencentCloud::Vcube::V20220410::XMagicFeature

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

Overview

优图的的功能,Trial 为true的可以开通测试

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, trialcount = nil, duration = nil, plan = nil, xmagictype = nil, trial = nil, biztype = nil) ⇒ XMagicFeature



2411
2412
2413
2414
2415
2416
2417
2418
2419
# File 'lib/v20220410/models.rb', line 2411

def initialize(name=nil, trialcount=nil, duration=nil, plan=nil, xmagictype=nil, trial=nil, biztype=nil)
  @Name = name
  @TrialCount = trialcount
  @Duration = duration
  @Plan = plan
  @XMagicType = xmagictype
  @Trial = trial
  @BizType = biztype
end

Instance Attribute Details

#BizTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def BizType
  @BizType
end

#DurationObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def Duration
  @Duration
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def Name
  @Name
end

#PlanObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def Plan
  @Plan
end

#TrialObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def Trial
  @Trial
end

#TrialCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def TrialCount
  @TrialCount
end

#XMagicTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。



2409
2410
2411
# File 'lib/v20220410/models.rb', line 2409

def XMagicType
  @XMagicType
end

Instance Method Details

#deserialize(params) ⇒ Object



2421
2422
2423
2424
2425
2426
2427
2428
2429
# File 'lib/v20220410/models.rb', line 2421

def deserialize(params)
  @Name = params['Name']
  @TrialCount = params['TrialCount']
  @Duration = params['Duration']
  @Plan = params['Plan']
  @XMagicType = params['XMagicType']
  @Trial = params['Trial']
  @BizType = params['BizType']
end