Class: Azure::CDN::Mgmt::V2020_09_01::Models::ContinentsResponse

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response.rb

Overview

Continents Response

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#continentsArray<ContinentsResponseContinentsItem>



16
17
18
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response.rb', line 16

def continents
  @continents
end

#country_or_regionsArray<ContinentsResponseCountryOrRegionsItem>



19
20
21
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response.rb', line 19

def country_or_regions
  @country_or_regions
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
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
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContinentsResponse',
    type: {
      name: 'Composite',
      class_name: 'ContinentsResponse',
      model_properties: {
        continents: {
          client_side_validation: true,
          required: false,
          serialized_name: 'continents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ContinentsResponseContinentsItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ContinentsResponseContinentsItem'
                }
            }
          }
        },
        country_or_regions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'countryOrRegions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ContinentsResponseCountryOrRegionsItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ContinentsResponseCountryOrRegionsItem'
                }
            }
          }
        }
      }
    }
  }
end