Sha256: 5e72c9656dfe1bb10c5fa2b7b58cf6034874a21769d0793fa1cc3d563a860d8a

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 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::Graph
  module Models
    #
    # Active Directory Domain information.
    #
    class Domain

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] the type of the authentication into the domain.
      attr_accessor :authentication_type

      # @return [Boolean] if this is the default domain in the tenant.
      attr_accessor :is_default

      # @return [Boolean] if this domain's ownership is verified.
      attr_accessor :is_verified

      # @return [String] the domain name.
      attr_accessor :name


      #
      # Mapper for Domain class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Domain',
          type: {
            name: 'Composite',
            class_name: 'Domain',
            model_properties: {
              authentication_type: {
                required: false,
                read_only: true,
                serialized_name: 'authenticationType',
                type: {
                  name: 'String'
                }
              },
              is_default: {
                required: false,
                read_only: true,
                serialized_name: 'isDefault',
                type: {
                  name: 'Boolean'
                }
              },
              is_verified: {
                required: false,
                read_only: true,
                serialized_name: 'isVerified',
                type: {
                  name: 'Boolean'
                }
              },
              name: {
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_graph-0.12.0 lib/generated/azure_mgmt_graph/models/domain.rb
azure_mgmt_graph-0.11.0 lib/generated/azure_mgmt_graph/models/domain.rb