Class: TencentCloud::Monitor::V20180724::DescribeGrafanaNotificationChannelsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeGrafanaNotificationChannelsResponse
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeGrafanaNotificationChannels返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(notificationchannelset = nil, requestid = nil) ⇒ DescribeGrafanaNotificationChannelsResponse
constructor
A new instance of DescribeGrafanaNotificationChannelsResponse.
Constructor Details
#initialize(notificationchannelset = nil, requestid = nil) ⇒ DescribeGrafanaNotificationChannelsResponse
Returns a new instance of DescribeGrafanaNotificationChannelsResponse.
6175 6176 6177 6178 |
# File 'lib/v20180724/models.rb', line 6175 def initialize(notificationchannelset=nil, requestid=nil) @NotificationChannelSet = notificationchannelset @RequestId = requestid end |
Instance Attribute Details
#NotificationChannelSet ⇒ Object
6173 6174 6175 |
# File 'lib/v20180724/models.rb', line 6173 def NotificationChannelSet @NotificationChannelSet end |
#RequestId ⇒ Object
6173 6174 6175 |
# File 'lib/v20180724/models.rb', line 6173 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 |
# File 'lib/v20180724/models.rb', line 6180 def deserialize(params) unless params['NotificationChannelSet'].nil? @NotificationChannelSet = [] params['NotificationChannelSet'].each do |i| grafananotificationchannel_tmp = GrafanaNotificationChannel.new grafananotificationchannel_tmp.deserialize(i) @NotificationChannelSet << grafananotificationchannel_tmp end end @RequestId = params['RequestId'] end |