Class: Azure::ServiceFabric::V6_4_0_36::Models::BinaryPropertyValue
- Inherits:
-
PropertyValue
- Object
- PropertyValue
- Azure::ServiceFabric::V6_4_0_36::Models::BinaryPropertyValue
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/binary_property_value.rb
Overview
Describes a Service Fabric property value of type Binary.
Instance Attribute Summary collapse
-
#data ⇒ Array<Integer>
Each element of array is a number between 0 and 255.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BinaryPropertyValue class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ BinaryPropertyValue
constructor
A new instance of BinaryPropertyValue.
Constructor Details
#initialize ⇒ BinaryPropertyValue
Returns a new instance of BinaryPropertyValue.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/binary_property_value.rb', line 16 def initialize @Kind = "Binary" end |
Instance Attribute Details
#data ⇒ Array<Integer>
Each element of array is a number between 0 and 255.
24 25 26 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/binary_property_value.rb', line 24 def data @data end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/binary_property_value.rb', line 20 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for BinaryPropertyValue class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 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 |
# File 'lib/6.4.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 |