class Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
The category2 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 category2 score.
Private Class Methods
mapper()
click to toggle source
Mapper for ClassificationCategory2
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/classification_category2.rb, line 25 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Classification_Category2', type: { name: 'Composite', class_name: 'ClassificationCategory2', model_properties: { score: { client_side_validation: true, required: false, serialized_name: 'Score', type: { name: 'Double' } } } } } end