Sha256: dc4a474884a712cdeb685567d09a92f5d75ceebe2fb6c1229c82cf3314f63110

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 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::Monitor::Mgmt::V2018_09_01
  module Models
    #
    # A webhook receiver.
    #
    class WebhookReceiver

      include MsRestAzure

      # @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()
        {
          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
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.18.0 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.17.6 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.17.5 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.17.4 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb
azure_mgmt_monitor-0.17.3 lib/2018-09-01/generated/azure_mgmt_monitor/models/webhook_receiver.rb