class Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
Detected Terms
details.
Attributes
index[RW]
@return [Integer] Index(Location) of the detected profanity term in the input text content.
list_id[RW]
@return [Integer] Matched Terms
list Id.
original_index[RW]
@return [Integer] Original Index(Location) of the detected profanity term in the input text content.
term[RW]
@return [String] Detected profanity term.
Private Class Methods
mapper()
click to toggle source
Mapper for DetectedTerms
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/detected_terms.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DetectedTerms', type: { name: 'Composite', class_name: 'DetectedTerms', model_properties: { index: { client_side_validation: true, required: false, serialized_name: 'Index', type: { name: 'Number' } }, original_index: { client_side_validation: true, required: false, serialized_name: 'OriginalIndex', type: { name: 'Number' } }, list_id: { client_side_validation: true, required: false, serialized_name: 'ListId', type: { name: 'Number' } }, term: { client_side_validation: true, required: false, serialized_name: 'Term', type: { name: 'String' } } } } } end