Class: TencentCloud::Wedata::V20250806::GetAlarmMessageRequest

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

Overview

GetAlarmMessage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, alarmmessageid = nil, timezone = nil) ⇒ GetAlarmMessageRequest

Returns a new instance of GetAlarmMessageRequest.



2675
2676
2677
2678
2679
# File 'lib/v20250806/models.rb', line 2675

def initialize(projectid=nil, alarmmessageid=nil, timezone=nil)
  @ProjectId = projectid
  @AlarmMessageId = alarmmessageid
  @TimeZone = timezone
end

Instance Attribute Details

#AlarmMessageIdObject

Parameters:

  • ProjectId:

    所属项目Id

  • AlarmMessageId:

    告警消息Id

  • TimeZone:

    返回日期的时区, 默认UTC+8



2673
2674
2675
# File 'lib/v20250806/models.rb', line 2673

def AlarmMessageId
  @AlarmMessageId
end

#ProjectIdObject

Parameters:

  • ProjectId:

    所属项目Id

  • AlarmMessageId:

    告警消息Id

  • TimeZone:

    返回日期的时区, 默认UTC+8



2673
2674
2675
# File 'lib/v20250806/models.rb', line 2673

def ProjectId
  @ProjectId
end

#TimeZoneObject

Parameters:

  • ProjectId:

    所属项目Id

  • AlarmMessageId:

    告警消息Id

  • TimeZone:

    返回日期的时区, 默认UTC+8



2673
2674
2675
# File 'lib/v20250806/models.rb', line 2673

def TimeZone
  @TimeZone
end

Instance Method Details

#deserialize(params) ⇒ Object



2681
2682
2683
2684
2685
# File 'lib/v20250806/models.rb', line 2681

def deserialize(params)
  @ProjectId = params['ProjectId']
  @AlarmMessageId = params['AlarmMessageId']
  @TimeZone = params['TimeZone']
end