# 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::Synapse::Mgmt::V2019_06_01_preview
  module Models
    #
    # Workload classifier operations for a data warehouse
    #
    class WorkloadClassifier < ProxyResource

      include MsRestAzure

      # @return [String] The workload classifier member name.
      attr_accessor :member_name

      # @return [String] The workload classifier label.
      attr_accessor :label

      # @return [String] The workload classifier context.
      attr_accessor :context

      # @return [String] The workload classifier start time for classification.
      attr_accessor :start_time

      # @return [String] The workload classifier end time for classification.
      attr_accessor :end_time

      # @return [String] The workload classifier importance.
      attr_accessor :importance


      #
      # Mapper for WorkloadClassifier class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'WorkloadClassifier',
          type: {
            name: 'Composite',
            class_name: 'WorkloadClassifier',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              member_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'properties.memberName',
                type: {
                  name: 'String'
                }
              },
              label: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.label',
                type: {
                  name: 'String'
                }
              },
              context: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.context',
                type: {
                  name: 'String'
                }
              },
              start_time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.startTime',
                type: {
                  name: 'String'
                }
              },
              end_time: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.endTime',
                type: {
                  name: 'String'
                }
              },
              importance: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties.importance',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
