Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::Partition
- Inherits:
-
Object
- Object
- Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::Partition
- 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
-
#dn ⇒ String
The distinguished name for the partition.
-
#enabled ⇒ Boolean
Indicates if the partition object is selected or not.
-
#id ⇒ String
The partition Id.
-
#is_domain ⇒ Boolean
Indicates if the partition is a domain or not.
-
#name ⇒ String
The name of the partition.
-
#partition_scope ⇒ PartitionScope
The scope of the partition.
-
#time_created ⇒ DateTime
The date and time when the partition is created.
-
#time_last_modified ⇒ DateTime
modified.
-
#type ⇒ String
The partition type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Partition class as Ruby Hash.
Instance Attribute Details
#dn ⇒ String
Returns 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 |
#enabled ⇒ Boolean
Returns 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 |
#id ⇒ String
Returns 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_domain ⇒ Boolean
Returns 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 |
#name ⇒ String
Returns 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_scope ⇒ PartitionScope
Returns The scope of the partition.
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_created ⇒ DateTime
Returns 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_modified ⇒ DateTime
modified.
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 |
#type ⇒ String
Returns 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
.mapper ⇒ Object
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 |