class Azure::Monitor::Mgmt::V2019_06_01::Models::VoiceReceiver

A voice receiver.

Attributes

country_code[RW]

@return [String] The country code of the voice receiver.

name[RW]

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

phone_number[RW]

@return [String] The phone number of the voice receiver.

Private Class Methods

mapper() click to toggle source

Mapper for VoiceReceiver class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-06-01/generated/azure_mgmt_monitor/models/voice_receiver.rb, line 30
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