Class: Azure::ServiceFabric::V7_0_0_42::Models::GetPropertyBatchOperation

Inherits:
PropertyBatchOperation show all
Includes:
MsRestAzure
Defined in:
lib/7.0.0.42/generated/azure_service_fabric/models/get_property_batch_operation.rb

Overview

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.

Instance Attribute Summary collapse

Attributes inherited from PropertyBatchOperation

#property_name

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGetPropertyBatchOperation

Returns a new instance of GetPropertyBatchOperation.



19
20
21
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/get_property_batch_operation.rb', line 19

def initialize
  @Kind = "Get"
end

Instance Attribute Details

#include_valueBoolean

metadata. True if values should be returned with the metadata; False to return only property metadata. Default value: false .

Returns:

  • (Boolean)

    Whether or not to return the property value with the



29
30
31
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/get_property_batch_operation.rb', line 29

def include_value
  @include_value
end

#KindObject

Returns the value of attribute Kind.



23
24
25
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/get_property_batch_operation.rb', line 23

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for GetPropertyBatchOperation 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
# File 'lib/7.0.0.42/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