class Azure::DataBox::Mgmt::V2018_01_01::Models::DestinationToServiceLocationMap

Map of destination location to service location

Attributes

destination_location[RW]

@return [String] Location of the destination.

service_location[RW]

@return [String] Location of the service.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-01-01/generated/azure_mgmt_databox/models/destination_to_service_location_map.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DestinationToServiceLocationMap',
    type: {
      name: 'Composite',
      class_name: 'DestinationToServiceLocationMap',
      model_properties: {
        destination_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'destinationLocation',
          type: {
            name: 'String'
          }
        },
        service_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'serviceLocation',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end