Class: Azure::ServiceFabric::V6_5_0_36::Models::PutPropertyBatchOperation
- Inherits:
-
PropertyBatchOperation
- Object
- PropertyBatchOperation
- Azure::ServiceFabric::V6_5_0_36::Models::PutPropertyBatchOperation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb
Overview
Puts the specified property under the specified name. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.
Instance Attribute Summary collapse
-
#custom_type_id ⇒ String
the user is able to tag the type of the value of the property.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#value ⇒ PropertyValue
Describes a Service Fabric property value.
Attributes inherited from PropertyBatchOperation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PutPropertyBatchOperation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PutPropertyBatchOperation
constructor
A new instance of PutPropertyBatchOperation.
Constructor Details
#initialize ⇒ PutPropertyBatchOperation
Returns a new instance of PutPropertyBatchOperation.
18 19 20 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb', line 18 def initialize @Kind = "Put" end |
Instance Attribute Details
#custom_type_id ⇒ String
the user is able to tag the type of the value of the property.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb', line 29 def custom_type_id @custom_type_id end |
#Kind ⇒ Object
Returns the value of attribute Kind.
22 23 24 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb', line 22 def Kind @Kind end |
#value ⇒ PropertyValue
Returns Describes a Service Fabric property value.
25 26 27 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb', line 25 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PutPropertyBatchOperation class as Ruby Hash. This will be used for serialization/deserialization.
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 79 80 81 82 83 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Put', type: { name: 'Composite', class_name: 'PutPropertyBatchOperation', model_properties: { property_name: { client_side_validation: true, required: true, serialized_name: 'PropertyName', type: { name: 'String' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'Value', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'PropertyValue', class_name: 'PropertyValue' } }, custom_type_id: { client_side_validation: true, required: false, serialized_name: 'CustomTypeId', type: { name: 'String' } } } } } end |