class Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::Partition

Describes the partition in Synchronization service.

Attributes

dn[RW]

@return [String] The distinguished name for the partition.

enabled[RW]

@return [Boolean] Indicates if the partition object is selected or not.

id[RW]

@return [String] The partition Id.

is_domain[RW]

@return [Boolean] Indicates if the partition is a domain or not.

name[RW]

@return [String] The name of the partition.

partition_scope[RW]

@return [PartitionScope] The scope of the partition.

time_created[RW]

@return [DateTime] The date and time when the partition is created.

time_last_modified[RW]

@return [DateTime] The time and date when the partition was last modified.

type[RW]

@return [String] The partition type.

Private Class Methods

mapper() click to toggle source

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

# 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