# 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 # @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