class Azure::ServiceFabric::V6_5_0_36::Models::StringPropertyValue
Describes a Service Fabric property value of type String.
Attributes
Kind[RW]
data[RW]
@return [String] The data of the property value.
Public Class Methods
mapper()
click to toggle source
Mapper for StringPropertyValue
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/string_property_value.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'String', type: { name: 'Composite', class_name: 'StringPropertyValue', 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: 'String' } } } } } end
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/string_property_value.rb, line 16 def initialize @Kind = "String" end