text: /**
   * ocrapi
   * The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized 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.CloudmersiveOcrApiClientAsync) {
        root.CloudmersiveOcrApiClientAsync = {};
      }
      root.CloudmersiveOcrApiClientAsync.OcrPageResult = factory(root.CloudmersiveOcrApiClientAsync.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
  
  
  
    /**
     * The OcrPageResult model module.
     * @module model/OcrPageResult
     * @version 1.3.3
     */
  
    /**
     * Constructs a new <code>OcrPageResult</code>.
     * @alias module:model/OcrPageResult
     * @class
     */
    var exports = function() {
      var _this = this;
  
  
  
  
    };
  
    /**
     * Constructs a <code>OcrPageResult</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/OcrPageResult} obj Optional instance to populate.
     * @return {module:model/OcrPageResult} The populated <code>OcrPageResult</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
  
        if (data.hasOwnProperty('PageNumber')) {
          obj['PageNumber'] = ApiClient.convertToType(data['PageNumber'], 'Number');
        }
        if (data.hasOwnProperty('MeanConfidenceLevel')) {
          obj['MeanConfidenceLevel'] = ApiClient.convertToType(data['MeanConfidenceLevel'], 'Number');
        }
        if (data.hasOwnProperty('TextResult')) {
          obj['TextResult'] = ApiClient.convertToType(data['TextResult'], 'String');
        }
      }
      return obj;
    }
  
    /**
     * Page number of the page that was OCR-ed, starting with 1 for the first page in the PDF file
     * @member {Number} PageNumber
     */
    exports.prototype['PageNumber'] = undefined;
    /**
     * Confidence level rating of the OCR operation; ratings above 80% are strong.
     * @member {Number} MeanConfidenceLevel
     */
    exports.prototype['MeanConfidenceLevel'] = undefined;
    /**
     * Converted text string from the image input.
     * @member {String} TextResult
     */
    exports.prototype['TextResult'] = undefined;
  
  
  
    return exports;
  }));
  
  
  