text: /**
   * nlpapiv2
   * The powerful Natural Language Processing APIs (v2) let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
   *
   * OpenAPI spec version: v1
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.3.1
   *
   * Do not edit the class manually.
   *
   */
  
  (function(root, factory) {
    if (typeof define === 'function' && define.amd) {
      // AMD. Register as an anonymous module.
      define(['ApiClient'], factory);
    } else if (typeof module === 'object' && module.exports) {
      // CommonJS-like environments that support module.exports, like Node.
      module.exports = factory(require('../ApiClient'));
    } else {
      // Browser globals (root is window)
      if (!root.CloudmersiveNlpApiClient) {
        root.CloudmersiveNlpApiClient = {};
      }
      root.CloudmersiveNlpApiClient.HateSpeechAnalysisResponse = factory(root.CloudmersiveNlpApiClient.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
  
    /**
     * The HateSpeechAnalysisResponse model module.
     * @module model/HateSpeechAnalysisResponse
     * @version 2.1.1
     */
  
    /**
     * Constructs a new <code>HateSpeechAnalysisResponse</code>.
     * Output of a hate speech analysis operation
     * @alias module:model/HateSpeechAnalysisResponse
     * @class
     */
    var exports = function() {
      var _this = this;
  
  
  
  
    };
  
    /**
     * Constructs a <code>HateSpeechAnalysisResponse</code> from a plain JavaScript object, optionally creating a new instance.
     * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
     * @param {Object} data The plain JavaScript object bearing properties of interest.
     * @param {module:model/HateSpeechAnalysisResponse} obj Optional instance to populate.
     * @return {module:model/HateSpeechAnalysisResponse} The populated <code>HateSpeechAnalysisResponse</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
  
        if (data.hasOwnProperty('Successful')) {
          obj['Successful'] = ApiClient.convertToType(data['Successful'], 'Boolean');
        }
        if (data.hasOwnProperty('HateSpeechScoreResult')) {
          obj['HateSpeechScoreResult'] = ApiClient.convertToType(data['HateSpeechScoreResult'], 'Number');
        }
        if (data.hasOwnProperty('SentenceCount')) {
          obj['SentenceCount'] = ApiClient.convertToType(data['SentenceCount'], 'Number');
        }
      }
      return obj;
    }
  
    /**
     * True if the profanity detection operation was successful, false otherwise
     * @member {Boolean} Successful
     */
    exports.prototype['Successful'] = undefined;
    /**
     * Hate speech classification score between 0.0 and 1.0 where scores closer to zero have a low probability of being hate speech language, while scores close to 1.0 have a high probability of being hate speech language.  Values above 0.8 have a very high probability of being hate speech.
     * @member {Number} HateSpeechScoreResult
     */
    exports.prototype['HateSpeechScoreResult'] = undefined;
    /**
     * Number of sentences in input text
     * @member {Number} SentenceCount
     */
    exports.prototype['SentenceCount'] = undefined;
  
  
  
    return exports;
  }));
  
  
  