Sha256: f5f83cce81d1235f4674a94133a780c62c947094608fb8d647e007aef3d173ef

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# 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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.12.0 lib/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.11.0 lib/generated/azure_mgmt_monitor/models/webhook_receiver.rb