Class: Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::WordListObject

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

Overview

Sublist of items for a list entity.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#canonical_formString

Returns The standard form that the list represents.

Returns:

  • (String)

    The standard form that the list represents.



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

def canonical_form
  @canonical_form
end

#listArray<String>

Returns List of synonym words.

Returns:

  • (Array<String>)

    List of synonym words.



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

def list
  @list
end

Class Method Details

.mapperObject

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



26
27
28
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
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WordListObject',
    type: {
      name: 'Composite',
      class_name: 'WordListObject',
      model_properties: {
        canonical_form: {
          client_side_validation: true,
          required: false,
          serialized_name: 'canonicalForm',
          type: {
            name: 'String'
          }
        },
        list: {
          client_side_validation: true,
          required: false,
          serialized_name: 'list',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end