class Azure::CognitiveServices::LuisRuntime::V2_0::Models::CompositeChildModel

Child entity in a LUIS Composite Entity.

Attributes

type[RW]

@return [String] Type of child entity.

value[RW]

@return [String] Value extracted by LUIS.

Public Class Methods

mapper() click to toggle source

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

# File lib/2.0/generated/azure_cognitiveservices_luisruntime/models/composite_child_model.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CompositeChildModel',
    type: {
      name: 'Composite',
      class_name: 'CompositeChildModel',
      model_properties: {
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end