Class: TencentCloud::Vcube::V20220410::Feature

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

Overview

功能描述模型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, featureid = nil, name = nil, type = nil, trial = nil, trialcount = nil, duration = nil, createdat = nil, updatedat = nil) ⇒ Feature

Returns a new instance of Feature.



1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/v20220410/models.rb', line 1476

def initialize(id=nil, featureid=nil, name=nil, type=nil, trial=nil, trialcount=nil, duration=nil, createdat=nil, updatedat=nil)
  @Id = id
  @FeatureId = featureid
  @Name = name
  @Type = type
  @Trial = trial
  @TrialCount = trialcount
  @Duration = duration
  @CreatedAt = createdat
  @UpdatedAt = updatedat
end

Instance Attribute Details

#CreatedAtObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def CreatedAt
  @CreatedAt
end

#DurationObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def Duration
  @Duration
end

#FeatureIdObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def FeatureId
  @FeatureId
end

#IdObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def Name
  @Name
end

#TrialObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def Trial
  @Trial
end

#TrialCountObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def TrialCount
  @TrialCount
end

#TypeObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def Type
  @Type
end

#UpdatedAtObject

Parameters:

  • Id:

    索引

  • FeatureId:

    功能ID

  • Name:

    功能名称

  • Type:

    功能类型

  • Trial:

    是否可以申请试用

  • TrialCount:

    可以试用的次数

  • Duration:

    可以试用的时长,单位天

  • CreatedAt:

    创建时间

  • UpdatedAt:

    更新时间



1474
1475
1476
# File 'lib/v20220410/models.rb', line 1474

def UpdatedAt
  @UpdatedAt
end

Instance Method Details

#deserialize(params) ⇒ Object



1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
# File 'lib/v20220410/models.rb', line 1488

def deserialize(params)
  @Id = params['Id']
  @FeatureId = params['FeatureId']
  @Name = params['Name']
  @Type = params['Type']
  @Trial = params['Trial']
  @TrialCount = params['TrialCount']
  @Duration = params['Duration']
  @CreatedAt = params['CreatedAt']
  @UpdatedAt = params['UpdatedAt']
end