Class: TencentCloud::Cls::V20201016::NoticeReceiver

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

Overview

告警通知接收者信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(receivertype = nil, receiverids = nil, receiverchannels = nil, noticecontentid = nil, starttime = nil, endtime = nil, index = nil) ⇒ NoticeReceiver

Returns a new instance of NoticeReceiver.



15800
15801
15802
15803
15804
15805
15806
15807
15808
# File 'lib/v20201016/models.rb', line 15800

def initialize(receivertype=nil, receiverids=nil, receiverchannels=nil, noticecontentid=nil, starttime=nil, endtime=nil, index=nil)
  @ReceiverType = receivertype
  @ReceiverIds = receiverids
  @ReceiverChannels = receiverchannels
  @NoticeContentId = noticecontentid
  @StartTime = starttime
  @EndTime = endtime
  @Index = index
end

Instance Attribute Details

#EndTime ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def EndTime
  @EndTime
end

#Index ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def Index
  @Index
end

#NoticeContentId ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def NoticeContentId
  @NoticeContentId
end

#ReceiverChannels ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def ReceiverChannels
  @ReceiverChannels
end

#ReceiverIds ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def ReceiverIds
  @ReceiverIds
end

#ReceiverType ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def ReceiverType
  @ReceiverType
end

#StartTime ⇒ Object

  • 入参时无效。
  • 出参时有效。


15798
15799
15800
# File 'lib/v20201016/models.rb', line 15798

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



15810
15811
15812
15813
15814
15815
15816
15817
15818
# File 'lib/v20201016/models.rb', line 15810

def deserialize(params)
  @ReceiverType = params['ReceiverType']
  @ReceiverIds = params['ReceiverIds']
  @ReceiverChannels = params['ReceiverChannels']
  @NoticeContentId = params['NoticeContentId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Index = params['Index']
end