# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::CDN::Mgmt::V2020_09_01 module Models # # Resources Response # class ResourcesResponse include MsRestAzure # @return [Array] attr_accessor :endpoints # @return [Array] attr_accessor :custom_domains # # Mapper for ResourcesResponse class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourcesResponse', type: { name: 'Composite', class_name: 'ResourcesResponse', model_properties: { endpoints: { client_side_validation: true, required: false, serialized_name: 'endpoints', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourcesResponseEndpointsItemElementType', type: { name: 'Composite', class_name: 'ResourcesResponseEndpointsItem' } } } }, custom_domains: { client_side_validation: true, required: false, serialized_name: 'customDomains', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourcesResponseCustomDomainsItemElementType', type: { name: 'Composite', class_name: 'ResourcesResponseCustomDomainsItem' } } } } } } } end end end end