Class: TencentCloud::Monitor::V20180724::CreateGrafanaNotificationChannelResponse

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

Overview

CreateGrafanaNotificationChannel返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, requestid = nil) ⇒ CreateGrafanaNotificationChannelResponse

Returns a new instance of CreateGrafanaNotificationChannelResponse.



2363
2364
2365
2366
# File 'lib/v20180724/models.rb', line 2363

def initialize(channelid=nil, requestid=nil)
  @ChannelId = channelid
  @RequestId = requestid
end

Instance Attribute Details

#ChannelIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelId:

    通道 ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2361
2362
2363
# File 'lib/v20180724/models.rb', line 2361

def ChannelId
  @ChannelId
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ChannelId:

    通道 ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2361
2362
2363
# File 'lib/v20180724/models.rb', line 2361

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2368
2369
2370
2371
# File 'lib/v20180724/models.rb', line 2368

def deserialize(params)
  @ChannelId = params['ChannelId']
  @RequestId = params['RequestId']
end