class Azure::ServiceFabric::V6_2_0_9::Models::NamedPartitionInformation

Describes the partition information for the name as a string that is based on partition schemes.

Attributes

ServicePartitionKind[RW]
name[RW]

@return [String] Name of the partition.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_information.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Named',
    type: {
      name: 'Composite',
      class_name: 'NamedPartitionInformation',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        ServicePartitionKind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServicePartitionKind',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_information.rb, line 17
def initialize
  @ServicePartitionKind = "Named"
end