Class: TencentCloud::Weilingwith::V20230427::EventObj

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, type = nil, condition = nil) ⇒ EventObj

Returns a new instance of EventObj.



5656
5657
5658
5659
5660
5661
# File 'lib/v20230427/models.rb', line 5656

def initialize(id=nil, name=nil, type=nil, condition=nil)
  @Id = id
  @Name = name
  @Type = type
  @Condition = condition
end

Instance Attribute Details

#ConditionObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名称

  • Type:

    事件触发类型名称

  • Condition:

    时间触发条件



5654
5655
5656
# File 'lib/v20230427/models.rb', line 5654

def Condition
  @Condition
end

#IdObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名称

  • Type:

    事件触发类型名称

  • Condition:

    时间触发条件



5654
5655
5656
# File 'lib/v20230427/models.rb', line 5654

def Id
  @Id
end

#NameObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名称

  • Type:

    事件触发类型名称

  • Condition:

    时间触发条件



5654
5655
5656
# File 'lib/v20230427/models.rb', line 5654

def Name
  @Name
end

#TypeObject

Parameters:

  • Id:

    事件id

  • Name:

    事件名称

  • Type:

    事件触发类型名称

  • Condition:

    时间触发条件



5654
5655
5656
# File 'lib/v20230427/models.rb', line 5654

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5663
5664
5665
5666
5667
5668
# File 'lib/v20230427/models.rb', line 5663

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