# 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::V2019_03_01 module Models # # A logic app receiver. # class LogicAppReceiver include MsRestAzure # @return [String] The name of the logic app receiver. Names must be # unique across all receivers within an action group. attr_accessor :name # @return [String] The azure resource id of the logic app receiver. attr_accessor :resource_id # @return [String] The callback url where http request sent to. attr_accessor :callback_url # @return [Boolean] Indicates whether to use common alert schema. attr_accessor :use_common_alert_schema # # Mapper for LogicAppReceiver class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LogicAppReceiver', type: { name: 'Composite', class_name: 'LogicAppReceiver', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, resource_id: { client_side_validation: true, required: true, serialized_name: 'resourceId', type: { name: 'String' } }, callback_url: { client_side_validation: true, required: true, serialized_name: 'callbackUrl', type: { name: 'String' } }, use_common_alert_schema: { client_side_validation: true, required: true, serialized_name: 'useCommonAlertSchema', type: { name: 'Boolean' } } } } } end end end end