# 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::CognitiveServices::ComputerVision::V1_0
  module Models
    #
    # An object providing possible image types and matching confidence levels.
    #
    class ImageType

      include MsRestAzure

      # @return [Float] Confidence level that the image is a clip art.
      attr_accessor :clip_art_type

      # @return [Float] Confidence level that the image is a line drawing.
      attr_accessor :line_drawing_type


      #
      # Mapper for ImageType class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ImageType',
          type: {
            name: 'Composite',
            class_name: 'ImageType',
            model_properties: {
              clip_art_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'clipArtType',
                type: {
                  name: 'Double'
                }
              },
              line_drawing_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'lineDrawingType',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end
