Class: TencentCloud::Cfw::V20190904::CommonIdName
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::CommonIdName
- Defined in:
- lib/v20190904/models.rb
Overview
ID NAME 组合
Instance Attribute Summary collapse
-
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil) ⇒ CommonIdName
constructor
A new instance of CommonIdName.
Constructor Details
#initialize(id = nil, name = nil) ⇒ CommonIdName
Returns a new instance of CommonIdName.
770 771 772 773 |
# File 'lib/v20190904/models.rb', line 770 def initialize(id=nil, name=nil) @Id = id @Name = name end |
Instance Attribute Details
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
768 769 770 |
# File 'lib/v20190904/models.rb', line 768 def Id @Id end |
#Name ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
768 769 770 |
# File 'lib/v20190904/models.rb', line 768 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
775 776 777 778 |
# File 'lib/v20190904/models.rb', line 775 def deserialize(params) @Id = params['Id'] @Name = params['Name'] end |