Method: Azure::TrafficManager::Mgmt::V2017_03_01::Models::TrafficManagerNameAvailability.mapper

Defined in:
lib/2017-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/2017-03-01/generated/azure_mgmt_traffic_manager/models/traffic_manager_name_availability.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TrafficManagerNameAvailability',
    type: {
      name: 'Composite',
      class_name: 'TrafficManagerNameAvailability',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        name_available: {
          client_side_validation: true,
          required: false,
          serialized_name: 'nameAvailable',
          type: {
            name: 'Boolean'
          }
        },
        reason: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reason',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end