class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::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.

Private Class Methods

mapper() click to toggle source

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

# File lib/3.0-preview/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