Class: Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::BatchLabelExample

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb

Overview

Response when adding a batch of labeled example utterances.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorOperationStatus

Returns:



22
23
24
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb', line 22

def error
  @error
end

#has_errorBoolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb', line 19

def has_error
  @has_error
end

#valueLabelExampleResponse



16
17
18
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb', line 16

def value
  @value
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BatchLabelExample',
    type: {
      name: 'Composite',
      class_name: 'BatchLabelExample',
      model_properties: {
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'value',
          type: {
            name: 'Composite',
            class_name: 'LabelExampleResponse'
          }
        },
        has_error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hasError',
          type: {
            name: 'Boolean'
          }
        },
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'OperationStatus'
          }
        }
      }
    }
  }
end