Class: Azure::ServiceFabric::V6_3_0_9::Models::SingletonPartitionSchemeDescription
- Inherits:
-
PartitionSchemeDescription
- Object
- PartitionSchemeDescription
- Azure::ServiceFabric::V6_3_0_9::Models::SingletonPartitionSchemeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb
Overview
Describes the partition scheme of a singleton-partitioned, or non-partitioned service.
Instance Attribute Summary collapse
-
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SingletonPartitionSchemeDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SingletonPartitionSchemeDescription
constructor
A new instance of SingletonPartitionSchemeDescription.
Constructor Details
#initialize ⇒ SingletonPartitionSchemeDescription
Returns a new instance of SingletonPartitionSchemeDescription.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb', line 17 def initialize @PartitionScheme = "Singleton" end |
Instance Attribute Details
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb', line 21 def PartitionScheme @PartitionScheme end |
Class Method Details
.mapper ⇒ Object
Mapper for SingletonPartitionSchemeDescription class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb', line 28 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 |