Class: Azure::GraphRbac::V1_6::Models::Domain

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

Overview

Active Directory Domain information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



17
18
19
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 17

def additional_properties
  @additional_properties
end

#authentication_typeString

Returns the type of the authentication into the domain.

Returns:

  • (String)

    the type of the authentication into the domain.



20
21
22
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 20

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.



23
24
25
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 23

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.



26
27
28
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 26

def is_verified
  @is_verified
end

#nameString

Returns the domain name.

Returns:

  • (String)

    the domain name.



29
30
31
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 29

def name
  @name
end

Class Method Details

.mapperObject

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



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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/1.6/generated/azure_graph_rbac/models/domain.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Domain',
    type: {
      name: 'Composite',
      class_name: 'Domain',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        authentication_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'authenticationType',
          type: {
            name: 'String'
          }
        },
        is_default: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isDefault',
          type: {
            name: 'Boolean'
          }
        },
        is_verified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'isVerified',
          type: {
            name: 'Boolean'
          }
        },
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end