Sha256: da039056bbcb8df6b74920c82e17bb5dec46e272ec13e35ff718eaf28ef45504

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 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 how the service is partitioned.
    #
    class PartitionSchemeDescription

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["Named"] = "NamedPartitionSchemeDescription"
      @@discriminatorMap["Singleton"] = "SingletonPartitionSchemeDescription"
      @@discriminatorMap["UniformInt64Range"] = "UniformInt64RangePartitionSchemeDescription"

      def initialize
        @PartitionScheme = "PartitionSchemeDescription"
      end

      attr_accessor :PartitionScheme


      #
      # Mapper for PartitionSchemeDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionSchemeDescription',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'PartitionScheme',
            uber_parent: 'PartitionSchemeDescription',
            class_name: 'PartitionSchemeDescription',
            model_properties: {
            }
          }
        }
      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/partition_scheme_description.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/partition_scheme_description.rb