Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::Partition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb

Overview

Describes the partition in Synchronization service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dnString

Returns The distinguished name for the partition.

Returns:

  • (String)

    The distinguished name for the partition.



19
20
21
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 19

def dn
  @dn
end

#enabledBoolean

Returns Indicates if the partition object is selected or not.

Returns:

  • (Boolean)

    Indicates if the partition object is selected or not.



22
23
24
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 22

def enabled
  @enabled
end

#idString

Returns The partition Id.

Returns:

  • (String)

    The partition Id.



16
17
18
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 16

def id
  @id
end

#is_domainBoolean

Returns Indicates if the partition is a domain or not.

Returns:

  • (Boolean)

    Indicates if the partition is a domain or not.



38
39
40
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 38

def is_domain
  @is_domain
end

#nameString

Returns The name of the partition.

Returns:

  • (String)

    The name of the partition.



35
36
37
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 35

def name
  @name
end

#partition_scopePartitionScope

Returns The scope of the partition.

Returns:



32
33
34
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 32

def partition_scope
  @partition_scope
end

#time_createdDateTime

Returns The date and time when the partition is created.

Returns:

  • (DateTime)

    The date and time when the partition is created.



25
26
27
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 25

def time_created
  @time_created
end

#time_last_modifiedDateTime

modified.

Returns:

  • (DateTime)

    The time and date when the partition was last



29
30
31
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 29

def time_last_modified
  @time_last_modified
end

#typeString

Returns The partition type.

Returns:

  • (String)

    The partition type.



41
42
43
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 41

def type
  @type
end

Class Method Details

.mapperObject

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



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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/partition.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Partition',
    type: {
      name: 'Composite',
      class_name: 'Partition',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        dn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'dn',
          type: {
            name: 'String'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        time_created: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeCreated',
          type: {
            name: 'DateTime'
          }
        },
        time_last_modified: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeLastModified',
          type: {
            name: 'DateTime'
          }
        },
        partition_scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'partitionScope',
          type: {
            name: 'Composite',
            class_name: 'PartitionScope'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDomain',
          type: {
            name: 'Boolean'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end