# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_2_0_9 module Models # # Represents a PropertyBatchOperation that gets the specified property if # it exists. # Note that if one PropertyBatchOperation in a PropertyBatch fails, # the entire batch fails and cannot be committed in a transactional manner. # class GetPropertyBatchOperation < PropertyBatchOperation include MsRestAzure def initialize @Kind = "Get" end attr_accessor :Kind # @return [Boolean] Whether or not to return the property value with the # metadata. # True if values should be returned with the metadata; False to return # only property metadata. Default value: false . attr_accessor :include_value # # Mapper for GetPropertyBatchOperation class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Get', type: { name: 'Composite', class_name: 'GetPropertyBatchOperation', 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' } }, include_value: { client_side_validation: true, required: false, serialized_name: 'IncludeValue', default_value: false, type: { name: 'Boolean' } } } } } end end end end