Class: TencentCloud::Trocket::V20230308::PriceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::PriceTag
- Defined in:
- lib/v20230308/models.rb
Overview
价格标签信息,一个完整的价格标签包含计价类别和计费项标签。
Instance Attribute Summary collapse
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Step ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, step = nil) ⇒ PriceTag
constructor
A new instance of PriceTag.
Constructor Details
#initialize(name = nil, step = nil) ⇒ PriceTag
Returns a new instance of PriceTag.
5470 5471 5472 5473 |
# File 'lib/v20230308/models.rb', line 5470 def initialize(name=nil, step=nil) @Name = name @Step = step end |
Instance Attribute Details
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5468 5469 5470 |
# File 'lib/v20230308/models.rb', line 5468 def Name @Name end |
#Step ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5468 5469 5470 |
# File 'lib/v20230308/models.rb', line 5468 def Step @Step end |
Instance Method Details
#deserialize(params) ⇒ Object
5475 5476 5477 5478 |
# File 'lib/v20230308/models.rb', line 5475 def deserialize(params) @Name = params['Name'] @Step = params['Step'] end |