class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::PublishSettings

The application publish settings.

Attributes

id[RW]

@return The application ID.

is_sentiment_analysis_enabled[RW]

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

is_speech_enabled[RW]

@return [Boolean] Enables speech priming in your app

is_spell_checker_enabled[RW]

@return [Boolean] Enables spell checking of the utterance.

Private Class Methods

mapper() click to toggle source

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

# File lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PublishSettings',
    type: {
      name: 'Composite',
      class_name: 'PublishSettings',
      model_properties: {
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        is_sentiment_analysis_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sentimentAnalysis',
          type: {
            name: 'Boolean'
          }
        },
        is_speech_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'speech',
          type: {
            name: 'Boolean'
          }
        },
        is_spell_checker_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'spellChecker',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end