Class: Azure::Graph::Mgmt::V1_6::Models::Domain

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_mgmt_graph/models/domain.rb

Overview

Active Directory Domain information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authentication_typeString

Returns the type of the authentication into the domain.

Returns:

  • (String)

    the type of the authentication into the domain.



16
17
18
# File 'lib/1.6/generated/azure_mgmt_graph/models/domain.rb', line 16

def authentication_type
  @authentication_type
end

#is_defaultBoolean

Returns if this is the default domain in the tenant.

Returns:

  • (Boolean)

    if this is the default domain in the tenant.



19
20
21
# File 'lib/1.6/generated/azure_mgmt_graph/models/domain.rb', line 19

def is_default
  @is_default
end

#is_verifiedBoolean

Returns if this domain’s ownership is verified.

Returns:

  • (Boolean)

    if this domain’s ownership is verified.



22
23
24
# File 'lib/1.6/generated/azure_mgmt_graph/models/domain.rb', line 22

def is_verified
  @is_verified
end

#nameString

Returns the domain name.

Returns:

  • (String)

    the domain name.



25
26
27
# File 'lib/1.6/generated/azure_mgmt_graph/models/domain.rb', line 25

def name
  @name
end

Class Method Details

.mapperObject

Mapper for Domain class as Ruby Hash. This will be used for serialization/deserialization.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/1.6/generated/azure_mgmt_graph/models/domain.rb', line 32

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