Sha256: 496786d4925ea81394d014db1a730791ff778287ce3589d1abdc06f7dadeae04

Contents?: true

Size: 1.81 KB

Versions: 10

Compression:

Stored size: 1.81 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
    #
    # A voice receiver.
    #
    class VoiceReceiver

      include MsRestAzure

      # @return [String] The name of the voice receiver. Names must be unique
      # across all receivers within an action group.
      attr_accessor :name

      # @return [String] The country code of the voice receiver.
      attr_accessor :country_code

      # @return [String] The phone number of the voice receiver.
      attr_accessor :phone_number


      #
      # Mapper for VoiceReceiver class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VoiceReceiver',
          type: {
            name: 'Composite',
            class_name: 'VoiceReceiver',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              country_code: {
                client_side_validation: true,
                required: true,
                serialized_name: 'countryCode',
                type: {
                  name: 'String'
                }
              },
              phone_number: {
                client_side_validation: true,
                required: true,
                serialized_name: 'phoneNumber',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.18.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.6 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.5 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.4 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.3 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.2 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.1 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.17.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb
azure_mgmt_monitor-0.16.1 lib/2018-03-01/generated/azure_mgmt_monitor/models/voice_receiver.rb