class Azure::ServiceFabric::V6_5_0_36::Models::BinaryPropertyValue

Describes a Service Fabric property value of type Binary.

Attributes

Kind[RW]
data[RW]

@return [Array<Integer>] Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.5.0.36/generated/azure_service_fabric/models/binary_property_value.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Binary',
    type: {
      name: 'Composite',
      class_name: 'BinaryPropertyValue',
      model_properties: {
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        data: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Data',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'NumberElementType',
                type: {
                  name: 'Number'
                }
            }
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/binary_property_value.rb, line 16
def initialize
  @Kind = "Binary"
end