# 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 # # Model object. # # class ResourcesResponseEndpointsItem include MsRestAzure # @return [String] attr_accessor :id # @return [String] attr_accessor :name # @return [Boolean] attr_accessor :history # @return [Array] attr_accessor :custom_domains # # Mapper for ResourcesResponseEndpointsItem class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourcesResponse_endpointsItem', type: { name: 'Composite', class_name: 'ResourcesResponseEndpointsItem', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, history: { client_side_validation: true, required: false, serialized_name: 'history', type: { name: 'Boolean' } }, custom_domains: { client_side_validation: true, required: false, serialized_name: 'customDomains', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ResourcesResponseEndpointsItemCustomDomainsItemElementType', type: { name: 'Composite', class_name: 'ResourcesResponseEndpointsItemCustomDomainsItem' } } } } } } } end end end end