Sha256: afeee859c86f8a6db144b29dbd0b3fcdeeecd90841aef8017f1ed4c79efd24fe

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 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::V2016_02_01
  module Models
    #
    # Model object.
    #
    #
    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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_resources-0.15.1 lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.15.0 lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb