class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContactDetails

Contains all the contact details of the customer.

Attributes

company_name[RW]

@return [String] The name of the company.

contact_person[RW]

@return [String] The contact person name.

email_list[RW]

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

phone[RW]

@return [String] The phone number.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/models/contact_details.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContactDetails',
    type: {
      name: 'Composite',
      class_name: 'ContactDetails',
      model_properties: {
        contact_person: {
          client_side_validation: true,
          required: true,
          serialized_name: 'contactPerson',
          type: {
            name: 'String'
          }
        },
        company_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'companyName',
          type: {
            name: 'String'
          }
        },
        phone: {
          client_side_validation: true,
          required: true,
          serialized_name: 'phone',
          type: {
            name: 'String'
          }
        },
        email_list: {
          client_side_validation: true,
          required: true,
          serialized_name: 'emailList',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end