class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::PublishSettingUpdateObject

Object model for updating an application's publish settings.

Attributes

sentiment_analysis[RW]

@return [Boolean] Setting sentiment analysis as true returns the Sentiment of the input utterance along with the response

speech[RW]

@return [Boolean] Setting speech as public enables speech priming in your app

spell_checker[RW]

@return [Boolean] Setting spell checker as public enables spell checking the input utterance.

Private Class Methods

mapper() click to toggle source

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

# File lib/3.0-preview/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