Sha256: 6c19f31550eeb418b84ee40e296ef422a57ff95e2b09b44df63d65646dad8774

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 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::V7_0_0_42
  module Models
    #
    # Describes the partition scheme of a singleton-partitioned, or
    # non-partitioned service.
    #
    class SingletonPartitionSchemeDescription < PartitionSchemeDescription

      include MsRestAzure


      def initialize
        @PartitionScheme = "Singleton"
      end

      attr_accessor :PartitionScheme


      #
      # Mapper for SingletonPartitionSchemeDescription 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: 'SingletonPartitionSchemeDescription',
            model_properties: {
              PartitionScheme: {
                client_side_validation: true,
                required: true,
                serialized_name: 'PartitionScheme',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb