# 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_3_0_9 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