class Azure::CognitiveServices::Qnamaker::V4_0::Models::ActiveLearningSettingsDTO

Active Learning settings of the endpoint.

Attributes

enable[RW]

@return [String] True/False string providing Active Learning

Private Class Methods

mapper() click to toggle source

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

# File lib/4.0/generated/azure_cognitiveservices_qnamaker/models/active_learning_settings_dto.rb, line 23
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ActiveLearningSettingsDTO',
    type: {
      name: 'Composite',
      class_name: 'ActiveLearningSettingsDTO',
      model_properties: {
        enable: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enable',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end