Sha256: ddecfda354df168373e3f22a3d6856a51d243ae41d9b4053f9494ebd7feccc79

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 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::ARM::Resources
  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()
        {
          required: false,
          serialized_name: 'AliasType',
          type: {
            name: 'Composite',
            class_name: 'AliasType',
            model_properties: {
              name: {
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              paths: {
                required: false,
                serialized_name: 'paths',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'AliasPathTypeElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'AliasPathType'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_resources-0.14.0 lib/generated/azure_mgmt_resources/models/alias_type.rb