Sha256: 61a4e1bea968353941a4107087dabe3eacc60dfdcea8f3182aa3bf08f8d6c2c4

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
# 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

      include MsRest::JSONable
      # @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.12.0 lib/generated/azure_mgmt_resources/models/alias_type.rb
azure_mgmt_resources-0.11.0 lib/generated/azure_mgmt_resources/models/alias_type.rb