Class: Azure::ServiceFabric::V6_4_0_36::Models::SuccessfulPropertyBatchInfo

Inherits:
PropertyBatchInfo
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb

Overview

Derived from PropertyBatchInfo. Represents the property batch succeeding. Contains the results of any “Get” operations in the batch.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSuccessfulPropertyBatchInfo

Returns a new instance of SuccessfulPropertyBatchInfo.



17
18
19
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb', line 17

def initialize
  @Kind = "Successful"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb', line 21

def Kind
  @Kind
end

#propertiesHash{String => PropertyInfo}

that were requested through any “Get” property batch operations. The key represents the index of the “Get” operation in the original request, in string form. The value is the property. If a property is not found, it will not be in the map.

Returns:

  • (Hash{String => PropertyInfo})

    A map containing the properties



28
29
30
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb', line 28

def properties
  @properties
end

Class Method Details

.mapperObject

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



35
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
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Successful',
    type: {
      name: 'Composite',
      class_name: 'SuccessfulPropertyBatchInfo',
      model_properties: {
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Properties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PropertyInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PropertyInfo'
                }
            }
          }
        }
      }
    }
  }
end