Class: Azure::ServiceFabric::V6_2_0_9::Models::NamedPartitionSchemeDescription
- Inherits:
-
PartitionSchemeDescription
- Object
- PartitionSchemeDescription
- Azure::ServiceFabric::V6_2_0_9::Models::NamedPartitionSchemeDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb
Overview
Describes the named partition scheme of the service.
Instance Attribute Summary collapse
-
#count ⇒ Integer
The number of partitions.
-
#names ⇒ Array<String>
parameter, for the names of the partitions.
-
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NamedPartitionSchemeDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NamedPartitionSchemeDescription
constructor
A new instance of NamedPartitionSchemeDescription.
Constructor Details
#initialize ⇒ NamedPartitionSchemeDescription
Returns a new instance of NamedPartitionSchemeDescription.
16 17 18 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb', line 16 def initialize @PartitionScheme = "Named" end |
Instance Attribute Details
#count ⇒ Integer
Returns The number of partitions.
23 24 25 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb', line 23 def count @count end |
#names ⇒ Array<String>
parameter, for the names of the partitions.
27 28 29 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb', line 27 def names @names end |
#PartitionScheme ⇒ Object
Returns the value of attribute PartitionScheme.
20 21 22 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb', line 20 def PartitionScheme @PartitionScheme end |
Class Method Details
.mapper ⇒ Object
Mapper for NamedPartitionSchemeDescription class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/6.2.0.9/generated/azure_service_fabric/models/named_partition_scheme_description.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Named', type: { name: 'Composite', class_name: 'NamedPartitionSchemeDescription', model_properties: { PartitionScheme: { client_side_validation: true, required: true, serialized_name: 'PartitionScheme', type: { name: 'String' } }, count: { client_side_validation: true, required: true, serialized_name: 'Count', type: { name: 'Number' } }, names: { client_side_validation: true, required: true, serialized_name: 'Names', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |