class Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::AttributeMapping

The attribute mapping details.

Attributes

context_id[RW]

@return [String] The context Id.

destination_attribute[RW]

@return [String] The destination attribute.

mapping_source[RW]

@return [AttributeMppingSource] The mapping source.

type[RW]

@return [AttributeMappingType] The attribute mapping type. Possible values include: 'Constant', 'Direct', 'DnPart', 'Script'

Private Class Methods

mapper() click to toggle source

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

# File lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/attribute_mapping.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AttributeMapping',
    type: {
      name: 'Composite',
      class_name: 'AttributeMapping',
      model_properties: {
        mapping_source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mappingSource',
          type: {
            name: 'Composite',
            class_name: 'AttributeMppingSource'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        destination_attribute: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destinationAttribute',
          type: {
            name: 'String'
          }
        },
        context_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contextId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end