Class: Azure::ServiceFabric::V6_3_0_9::Models::SingletonPartitionInformation
- Inherits:
-
PartitionInformation
- Object
- PartitionInformation
- Azure::ServiceFabric::V6_3_0_9::Models::SingletonPartitionInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_information.rb
Overview
Information about a partition that is singleton. The services with singleton partitioning scheme are effectively non-partitioned. They only have one partition.
Instance Attribute Summary collapse
-
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
Attributes inherited from PartitionInformation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SingletonPartitionInformation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SingletonPartitionInformation
constructor
A new instance of SingletonPartitionInformation.
Constructor Details
#initialize ⇒ SingletonPartitionInformation
Returns a new instance of SingletonPartitionInformation.
18 19 20 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_information.rb', line 18 def initialize @ServicePartitionKind = "Singleton" end |
Instance Attribute Details
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
22 23 24 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_information.rb', line 22 def ServicePartitionKind @ServicePartitionKind end |
Class Method Details
.mapper ⇒ Object
Mapper for SingletonPartitionInformation class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/singleton_partition_information.rb', line 29 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 |