Class: TencentCloud::Weilingwith::V20230427::Event

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) ⇒ Event

Returns a new instance of Event.



5577
5578
5579
5580
# File 'lib/v20230427/models.rb', line 5577

def initialize(id=nil, name=nil)
  @Id = id
  @Name = name
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    事件id或动作Id

  • Name:

    事件名称或动作名称



5575
5576
5577
# File 'lib/v20230427/models.rb', line 5575

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    事件id或动作Id

  • Name:

    事件名称或动作名称



5575
5576
5577
# File 'lib/v20230427/models.rb', line 5575

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



5582
5583
5584
5585
# File 'lib/v20230427/models.rb', line 5582

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
end