Sha256: c7b491ef08648efca7049561cfb0fc0d91396178816b5a6cb958aa9585916602

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_5_0_36
  module Models
    #
    # Information about a partition that is singleton. The services with
    # singleton partitioning scheme are effectively non-partitioned. They only
    # have one partition.
    #
    class SingletonPartitionInformation < PartitionInformation

      include MsRestAzure


      def initialize
        @ServicePartitionKind = "Singleton"
      end

      attr_accessor :ServicePartitionKind


      #
      # Mapper for SingletonPartitionInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Singleton',
          type: {
            name: 'Composite',
            class_name: 'SingletonPartitionInformation',
            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'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb