Sha256: ec4ea7a032793f0b5944fa2dcbac1a347fb680ff1d92fa8568692d6eeab3d6cd

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 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
    #
    # Properties of a DiagnosticsSink.
    #
    class DiagnosticsSinkProperties

      include MsRestAzure

      @@discriminatorMap = Hash.new

      def initialize
        @kind = "DiagnosticsSinkProperties"
      end

      attr_accessor :kind

      # @return [String] Name of the sink. This value is referenced by
      # DiagnosticsReferenceDescription
      attr_accessor :name

      # @return [String] A description of the sink.
      attr_accessor :description


      #
      # Mapper for DiagnosticsSinkProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DiagnosticsSinkProperties',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'kind',
            uber_parent: 'DiagnosticsSinkProperties',
            class_name: 'DiagnosticsSinkProperties',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.3.0.9/generated/azure_service_fabric/models/diagnostics_sink_properties.rb
azure_service_fabric-0.18.0 lib/6.3.0.9/generated/azure_service_fabric/models/diagnostics_sink_properties.rb
azure_service_fabric-0.17.2 lib/6.3.0.9/generated/azure_service_fabric/models/diagnostics_sink_properties.rb
azure_service_fabric-0.17.1 lib/6.3.0.9/generated/azure_service_fabric/models/diagnostics_sink_properties.rb
azure_service_fabric-0.17.0 lib/6.3.0.9/generated/azure_service_fabric/models/diagnostics_sink_properties.rb