Sha256: da6785950ff815fb81116010b5c328913b95e7f6f72e7461db7ea73773ae514d

Contents?: true

Size: 1.7 KB

Versions: 9

Compression:

Stored size: 1.7 KB

Contents

# 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_05_01
  module Models
    #
    # The alias type.
    #
    class AliasType

      include MsRestAzure

      # @return [String] The alias name.
      attr_accessor :name

      # @return [Array<AliasPathType>] The paths for an alias.
      attr_accessor :paths


      #
      # Mapper for AliasType class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AliasType',
          type: {
            name: 'Composite',
            class_name: 'AliasType',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              paths: {
                client_side_validation: true,
                required: false,
                serialized_name: 'paths',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'AliasPathTypeElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'AliasPathType'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
azure_mgmt_resources2-0.19.0 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources2-0.18.2 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.18.2 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.18.1 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.18.0 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.17.9 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.17.8 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.17.7 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.17.6 lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb