Sha256: 2dc2e16d3dc783958906a914a109239e8bb09db93ae9cb0e01e7e304aad716ba

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Monitor
  module Models
    #
    # A webhook receiver.
    #
    class WebhookReceiver

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] The name of the webhook receiver. Names must be unique
      # across all receivers within an action group.
      attr_accessor :name

      # @return [String] The URI where webhooks should be sent.
      attr_accessor :service_uri


      #
      # Mapper for WebhookReceiver class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'WebhookReceiver',
          type: {
            name: 'Composite',
            class_name: 'WebhookReceiver',
            model_properties: {
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              service_uri: {
                required: true,
                serialized_name: 'serviceUri',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.13.0 lib/generated/azure_mgmt_monitor/models/webhook_receiver.rb