class Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3

The category3 score details of the text. <a href=“Click”>aka.ms/textClassifyCategories“>Click here</a> for more details on category classification.

Attributes

score[RW]

@return [Float] The category3 score.

Private Class Methods

mapper() click to toggle source

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

# File lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/classification_category3.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Classification_Category3',
    type: {
      name: 'Composite',
      class_name: 'ClassificationCategory3',
      model_properties: {
        score: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Score',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end