text: /**
   * Postman API
   * Postman API
   *
   * The version of the OpenAPI document: 1.0.0
   * 
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  
  /**
   * The Schema model module.
   * @module model/Schema
   * @version 1.0.0
   */
  class Schema {
      /**
       * Constructs a new <code>Schema</code>.
       * @alias module:model/Schema
       * @param type {String} 
       * @param format {String} 
       */
      constructor(type, format) { 
          
          Schema.initialize(this, type, format);
      }
  
      /**
       * Initializes the fields of this object.
       * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
       * Only for internal use.
       */
      static initialize(obj, type, format) { 
          obj['type'] = type;
          obj['format'] = format;
      }
  
      /**
       * Constructs a <code>Schema</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/Schema} obj Optional instance to populate.
       * @return {module:model/Schema} The populated <code>Schema</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new Schema();
  
              if (data.hasOwnProperty('type')) {
                  obj['type'] = ApiClient.convertToType(data['type'], 'String');
              }
              if (data.hasOwnProperty('format')) {
                  obj['format'] = ApiClient.convertToType(data['format'], 'String');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * @member {String} type
   */
  Schema.prototype['type'] = undefined;
  
  /**
   * @member {String} format
   */
  Schema.prototype['format'] = undefined;
  
  
  
  
  
  
  export default Schema;
  
  