class Azure::ServiceFabric::V6_5_0_36::Models::GetPropertyBatchOperation

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.

Attributes

Kind[RW]
include_value[RW]

@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 .

Public Class Methods

mapper() click to toggle source

Mapper for GetPropertyBatchOperation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.5.0.36/generated/azure_service_fabric/models/get_property_batch_operation.rb, line 36
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
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/get_property_batch_operation.rb, line 19
def initialize
  @Kind = "Get"
end