Class: TencentCloud::Vcube::V20220410::Feature
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vcube::V20220410::Feature
- Defined in:
- lib/v20220410/models.rb
Overview
功能描述模型
Instance Attribute Summary collapse
- #CreatedAt ⇒ Object
- #Duration ⇒ Object
- #FeatureId ⇒ Object
- #Id ⇒ Object
- #Name ⇒ Object
- #Trial ⇒ Object
- #TrialCount ⇒ Object
- #Type ⇒ Object
- #UpdatedAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, featureid = nil, name = nil, type = nil, trial = nil, trialcount = nil, duration = nil, createdat = nil, updatedat = nil) ⇒ Feature
constructor
A new instance of Feature.
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
#CreatedAt ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def CreatedAt @CreatedAt end |
#Duration ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def Duration @Duration end |
#FeatureId ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def FeatureId @FeatureId end |
#Id ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def Id @Id end |
#Name ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def Name @Name end |
#Trial ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def Trial @Trial end |
#TrialCount ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def TrialCount @TrialCount end |
#Type ⇒ Object
1474 1475 1476 |
# File 'lib/v20220410/models.rb', line 1474 def Type @Type end |
#UpdatedAt ⇒ Object
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 |