class Azure::Monitor::Mgmt::V2018_09_01::Models::WebhookReceiver

A webhook receiver.

Attributes

name[RW]

@return [String] The name of the webhook receiver. Names must be unique across all receivers within an action group.

service_uri[RW]

@return [String] The URI where webhooks should be sent.

Public Class Methods

mapper() click to toggle source

Mapper for WebhookReceiver class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WebhookReceiver',
    type: {
      name: 'Composite',
      class_name: 'WebhookReceiver',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        service_uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'serviceUri',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end