Sha256: 63a7a297604ad6ff228ad18b94bcad738df0e80c270d3ba4670a7dcd855fe784

Contents?: true

Size: 1.84 KB

Versions: 2

Compression:

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

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["AzureInternalMonitoringPipeline"] = "AzureInternalMonitoringPipelineSinkDescription"

      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

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/diagnostics_sink_properties.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/diagnostics_sink_properties.rb