# 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::Resources::Mgmt::V2019_10_01 module Models # # The type of the paths for alias. # class AliasPath include MsRestAzure # @return [String] The path of an alias. attr_accessor :path # @return [Array] The API versions. attr_accessor :api_versions # @return [AliasPattern] The pattern for an alias path. attr_accessor :pattern # # Mapper for AliasPath class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AliasPath', type: { name: 'Composite', class_name: 'AliasPath', model_properties: { path: { client_side_validation: true, required: false, serialized_name: 'path', type: { name: 'String' } }, api_versions: { client_side_validation: true, required: false, serialized_name: 'apiVersions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, pattern: { client_side_validation: true, required: false, serialized_name: 'pattern', type: { name: 'Composite', class_name: 'AliasPattern' } } } } } end end end end