Class: Azure::ServiceFabric::V6_3_0_9::Models::NamedPartitionInformation
- Inherits:
-
PartitionInformation
- Object
- PartitionInformation
- Azure::ServiceFabric::V6_3_0_9::Models::NamedPartitionInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/named_partition_information.rb
Overview
Describes the partition information for the name as a string that is based on partition schemes.
Instance Attribute Summary collapse
-
#name ⇒ String
Name of the partition.
-
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
Attributes inherited from PartitionInformation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NamedPartitionInformation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NamedPartitionInformation
constructor
A new instance of NamedPartitionInformation.
Constructor Details
#initialize ⇒ NamedPartitionInformation
Returns a new instance of NamedPartitionInformation.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/named_partition_information.rb', line 17 def initialize @ServicePartitionKind = "Named" end |
Instance Attribute Details
#name ⇒ String
Returns Name of the partition.
24 25 26 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/named_partition_information.rb', line 24 def name @name end |
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/named_partition_information.rb', line 21 def ServicePartitionKind @ServicePartitionKind end |
Class Method Details
.mapper ⇒ Object
Mapper for NamedPartitionInformation class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/named_partition_information.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Named', type: { name: 'Composite', class_name: 'NamedPartitionInformation', 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' } }, name: { client_side_validation: true, required: false, serialized_name: 'Name', type: { name: 'String' } } } } } end |