Class: TencentCloud::Weilingwith::V20230427::Action

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

Overview

动作信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IdObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名



27
28
29
# File 'lib/v20230427/models.rb', line 27

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    动作id

  • Name:

    动作名



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