Sha256: 340a10613450f3a4e809fc89b0c624fc08f8b9ff22e5d151ebd277405530b115
Contents?: true
Size: 1.94 KB
Versions: 10
Compression:
Stored size: 1.94 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_03_01 module Models # # An email receiver. # class EmailReceiver include MsRestAzure # @return [String] The name of the email receiver. Names must be unique # across all receivers within an action group. attr_accessor :name # @return [String] The email address of this receiver. attr_accessor :email_address # @return [ReceiverStatus] The receiver status of the e-mail. Possible # values include: 'NotSpecified', 'Enabled', 'Disabled' attr_accessor :status # # Mapper for EmailReceiver class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EmailReceiver', type: { name: 'Composite', class_name: 'EmailReceiver', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, email_address: { client_side_validation: true, required: true, serialized_name: 'emailAddress', type: { name: 'String' } }, status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'status', type: { name: 'Enum', module: 'ReceiverStatus' } } } } } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems