class Azure::DataBox::Mgmt::V2018_01_01::Models::ContactDetails

Contact Details.

Attributes

contact_name[RW]

@return [String] Contact name of the person.

email_list[RW]

@return [Array<String>] List of Email-ids to be notified about job progress.

mobile[RW]

@return [String] Mobile number of the contact person.

notification_preference[RW]

@return [Array<NotificationPreference>] Notification preference for a job stage.

phone[RW]

@return [String] Phone number of the contact person.

phone_extension[RW]

@return [String] Phone extension number of the contact person.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_mgmt_databox/models/contact_details.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContactDetails',
    type: {
      name: 'Composite',
      class_name: 'ContactDetails',
      model_properties: {
        contact_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'contactName',
          type: {
            name: 'String'
          }
        },
        phone: {
          client_side_validation: true,
          required: true,
          serialized_name: 'phone',
          type: {
            name: 'String'
          }
        },
        phone_extension: {
          client_side_validation: true,
          required: false,
          serialized_name: 'phoneExtension',
          type: {
            name: 'String'
          }
        },
        mobile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mobile',
          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'
                }
            }
          }
        },
        notification_preference: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationPreference',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NotificationPreferenceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'NotificationPreference'
                }
            }
          }
        }
      }
    }
  }
end