class Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageTag

An entity observation in the image, along with the confidence score.

Attributes

confidence[RW]

@return [Float] The level of confidence that the entity was observed.

hint[RW]

@return [String] Optional hint/details for this tag.

name[RW]

@return [String] Name of the entity.

Public Class Methods

mapper() click to toggle source

Mapper for ImageTag class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2.0/generated/azure_cognitiveservices_computervision/models/image_tag.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageTag',
    type: {
      name: 'Composite',
      class_name: 'ImageTag',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        confidence: {
          client_side_validation: true,
          required: false,
          serialized_name: 'confidence',
          type: {
            name: 'Double'
          }
        },
        hint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hint',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end