class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::LabelTextObject
An object containing the example utterance's text.
Attributes
id[RW]
@return [Integer] The ID of the Label.
text[RW]
@return [String] The text of the label.
Public Class Methods
mapper()
click to toggle source
Mapper for LabelTextObject
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb, line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LabelTextObject', type: { name: 'Composite', class_name: 'LabelTextObject', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'Number' } }, text: { client_side_validation: true, required: false, serialized_name: 'text', type: { name: 'String' } } } } } end