class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ExampleLabelObject

A labeled example utterance.

Attributes

entity_labels[RW]

@return [Array<EntityLabelObject>] The identified entities within the example utterance.

intent_name[RW]

@return [String] The identified intent representing the example utterance.

text[RW]

@return [String] The example utterance.

Public Class Methods

mapper() click to toggle source

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

# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb, line 31
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExampleLabelObject',
    type: {
      name: 'Composite',
      class_name: 'ExampleLabelObject',
      model_properties: {
        text: {
          client_side_validation: true,
          required: false,
          serialized_name: 'text',
          type: {
            name: 'String'
          }
        },
        entity_labels: {
          client_side_validation: true,
          required: false,
          serialized_name: 'entityLabels',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'EntityLabelObjectElementType',
                type: {
                  name: 'Composite',
                  class_name: 'EntityLabelObject'
                }
            }
          }
        },
        intent_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'intentName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end