class Azure::Peering::Mgmt::V2019_08_01_preview::Models::ContactInfo

The contact information of the peer.

Attributes

emails[RW]

@return [Array<String>] The list of email addresses.

phone[RW]

@return [Array<String>] The list of contact numbers.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/contact_info.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContactInfo',
    type: {
      name: 'Composite',
      class_name: 'ContactInfo',
      model_properties: {
        emails: {
          client_side_validation: true,
          required: false,
          serialized_name: 'emails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        phone: {
          client_side_validation: true,
          required: false,
          serialized_name: 'phone',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end