Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::PublishSettingUpdateObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb

Overview

Object model for updating an application’s publish settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#sentiment_analysisBoolean

Sentiment of the input utterance along with the response

Returns:

  • (Boolean)

    Setting sentiment analysis as true returns the



17
18
19
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb', line 17

def sentiment_analysis
  @sentiment_analysis
end

#speechBoolean

your app

Returns:

  • (Boolean)

    Setting speech as public enables speech priming in



21
22
23
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb', line 21

def speech
  @speech
end

#spell_checkerBoolean

checking the input utterance.

Returns:

  • (Boolean)

    Setting spell checker as public enables spell



25
26
27
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb', line 25

def spell_checker
  @spell_checker
end

Class Method Details

.mapperObject

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



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
68
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PublishSettingUpdateObject',
    type: {
      name: 'Composite',
      class_name: 'PublishSettingUpdateObject',
      model_properties: {
        sentiment_analysis: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sentimentAnalysis',
          type: {
            name: 'Boolean'
          }
        },
        speech: {
          client_side_validation: true,
          required: false,
          serialized_name: 'speech',
          type: {
            name: 'Boolean'
          }
        },
        spell_checker: {
          client_side_validation: true,
          required: false,
          serialized_name: 'spellChecker',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end