text: /**
   * Selling Partner API for Shipping
   * Provides programmatic access to Amazon Shipping APIs.
   *
   * OpenAPI spec version: v1
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  import ErrorList from './ErrorList';
  import GetRatesResult from './GetRatesResult';
  
  /**
  * The GetRatesResponse model module.
  * @module client/models/GetRatesResponse
  * @version v1
  */
  export default class GetRatesResponse {
      /**
      * Constructs a new <code>GetRatesResponse</code>.
      * The response schema for the getRates operation.
      * @alias module:client/models/GetRatesResponse
      * @class
      */
  
      constructor() {
          
          
          
      }
  
      /**
      * Constructs a <code>GetRatesResponse</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:client/models/GetRatesResponse} obj Optional instance to populate.
      * @return {module:client/models/GetRatesResponse} The populated <code>GetRatesResponse</code> instance.
      */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new GetRatesResponse();
                          
              
              if (data.hasOwnProperty('payload')) {
                  obj['payload'] = GetRatesResult.constructFromObject(data['payload']);
              }
              if (data.hasOwnProperty('errors')) {
                  obj['errors'] = ErrorList.constructFromObject(data['errors']);
              }
          }
          return obj;
      }
  
      /**
      * @member {module:client/models/GetRatesResult} payload
      */
      'payload' = undefined;
      /**
      * @member {module:client/models/ErrorList} errors
      */
      'errors' = undefined;
  
  
  
  
  }
  