Class: TencentCloud::Weilingwith::V20230427::Action
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::Action
- Defined in:
- lib/v20230427/models.rb
Overview
动作信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(id = nil, name = nil) ⇒ Action
Returns a new instance of Action.
29 30 31 32 |
# File 'lib/v20230427/models.rb', line 29 def initialize(id=nil, name=nil) @Id = id @Name = name end |
Instance Attribute Details
#Id ⇒ Object
27 28 29 |
# File 'lib/v20230427/models.rb', line 27 def Id @Id end |
#Name ⇒ Object
27 28 29 |
# File 'lib/v20230427/models.rb', line 27 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
34 35 36 37 |
# File 'lib/v20230427/models.rb', line 34 def deserialize(params) @Id = params['Id'] @Name = params['Name'] end |