Sha256: b0b7aac1511eb97691f70cc2c63a19488d17f442970e34b424cc50e722f3b1f5

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 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::V7_0_0_42
  module Models
    #
    # Describes a Service Fabric property value of type String.
    #
    class StringPropertyValue < PropertyValue

      include MsRestAzure


      def initialize
        @Kind = "String"
      end

      attr_accessor :Kind

      # @return [String] The data of the property value.
      attr_accessor :data


      #
      # Mapper for StringPropertyValue class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/string_property_value.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/string_property_value.rb