Class: TencentCloud::Monitor::V20180724::DescribeGrafanaNotificationChannelsRequest

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

Overview

DescribeGrafanaNotificationChannels请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, offset = nil, limit = nil, channelname = nil, channelids = nil, channelstate = nil) ⇒ DescribeGrafanaNotificationChannelsRequest

Returns a new instance of DescribeGrafanaNotificationChannelsRequest.



6147
6148
6149
6150
6151
6152
6153
6154
# File 'lib/v20180724/models.rb', line 6147

def initialize(instanceid=nil, offset=nil, limit=nil, channelname=nil, channelids=nil, channelstate=nil)
  @InstanceId = instanceid
  @Offset = offset
  @Limit = limit
  @ChannelName = channelname
  @ChannelIDs = channelids
  @ChannelState = channelstate
end

Instance Attribute Details

#ChannelIDsObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def ChannelIDs
  @ChannelIDs
end

#ChannelNameObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def ChannelName
  @ChannelName
end

#ChannelStateObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def ChannelState
  @ChannelState
end

#InstanceIdObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    Grafana 实例 ID,例如:grafana-12345678

  • Offset:

    偏移量

  • Limit:

    查询数量

  • ChannelName:

    告警通道名称,例如:test

  • ChannelIDs:

    告警通道 ID,例如:nchannel-abcd1234

  • ChannelState:

    告警通道状态



6145
6146
6147
# File 'lib/v20180724/models.rb', line 6145

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



6156
6157
6158
6159
6160
6161
6162
6163
# File 'lib/v20180724/models.rb', line 6156

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @ChannelName = params['ChannelName']
  @ChannelIDs = params['ChannelIDs']
  @ChannelState = params['ChannelState']
end