Sha256: ec5ebe5c4c082f38f3bfa92ca4607c5def6529f2b2f92e1500dc94eb995a4857
Contents?: true
Size: 1.81 KB
Versions: 5
Compression:
Stored size: 1.81 KB
Contents
# 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_3_0_9 module Models # # Describes a Service Fabric property value of type Binary. # class BinaryPropertyValue < PropertyValue include MsRestAzure def initialize @Kind = "Binary" end attr_accessor :Kind # @return [Array<Integer>] Array of bytes to be sent as an integer array. # Each element of array is a number between 0 and 255. attr_accessor :data # # Mapper for BinaryPropertyValue class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end
Version data entries
5 entries across 5 versions & 1 rubygems