Class: Azure::ServiceFabric::V6_3_0_9::Models::PropertyBatchOperation
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::PropertyBatchOperation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/property_batch_operation.rb
Overview
Represents the base type for property operations that can be put into a batch and submitted.
Direct Known Subclasses
CheckExistsPropertyBatchOperation, CheckSequencePropertyBatchOperation, CheckValuePropertyBatchOperation, DeletePropertyBatchOperation, GetPropertyBatchOperation, PutPropertyBatchOperation
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#property_name ⇒ String
The name of the Service Fabric property.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PropertyBatchOperation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PropertyBatchOperation
constructor
A new instance of PropertyBatchOperation.
Constructor Details
#initialize ⇒ PropertyBatchOperation
Returns a new instance of PropertyBatchOperation.
24 25 26 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_batch_operation.rb', line 24 def initialize @Kind = "PropertyBatchOperation" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
28 29 30 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_batch_operation.rb', line 28 def Kind @Kind end |
#property_name ⇒ String
Returns The name of the Service Fabric property.
31 32 33 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_batch_operation.rb', line 31 def property_name @property_name end |
Class Method Details
.mapper ⇒ Object
Mapper for PropertyBatchOperation class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_batch_operation.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PropertyBatchOperation', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'PropertyBatchOperation', class_name: 'PropertyBatchOperation', model_properties: { property_name: { client_side_validation: true, required: true, serialized_name: 'PropertyName', type: { name: 'String' } } } } } end |