text: /*
   * CryptoWeather
   * The CryptoWeather API allows for access to all of the cryptocurrency data and market forecast services provided. There are two primary categories of routes, `public` and `private`, where `public` routes are accessible to the general public and do not require API authentication, and `private` routes, which require API authentication.  ## General Overview  1. All API methods adhere to RESTful best practices as closely as possible. As such, all API calls will be made via the standard HTTP protocol using the GET/POST/PUT/DELETE request types.  2. Every request returns the status as a JSON response with the following:     - success, true if it was successful     - code, the http status code (also in the response header)         - 200 if response is successful         - 400 if bad request         - 401 if authorization JWT is wrong or limit exceeded         - 404 wrong route         - 500 for any internal errors     - status, the status of the request, default **success**     - errors, an array of any relevant error details  3. For any requests that are not successful an error message is specified and returned as an array for the **errors** key in the JSON response.  4. All authentication uses JSON Web Tokens (JWT), which is set as the **Authorization** entry in the header, see the following for more details.     - http://jwt.io     - https://scotch.io/tutorials/the-anatomy-of-a-json-web-token  ## Code Example  The following is a code example in Python, which demonstrates using the [Python Requests library](https://requests.readthedocs.io/en/master/) for both the `public` and `private` API routes.  ``` import requests  HOST = \"https://api.cryptoweather.ai/v1\"  # Your API key (JWT) API_KEY = \"<YOUR API KEY>\"  # Example public request, no API key required. requests.get(\"{}/public/symbols\".format(HOST)).json()  # Get the current btc price using the public route requests.get(\"{}/public/price-current/{}\".format(HOST, \"btc\")).json()   # Example private request, API key required. Get the btc hourly forecasts headers = {\"Authorization\": \"Bearer {}\".format(API_KEY)} requests.get(\"{}/private/forecast/{}/{}\".format(HOST, \"btc\", \"1h\"),              headers=headers).json() ```
   *
   * OpenAPI spec version: 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   *
   * Swagger Codegen version: 2.4.15-SNAPSHOT
   *
   * 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.CryptoWeather) {
        root.CryptoWeather = {};
      }
      root.CryptoWeather.PublicSummaryResponseColor = factory(root.CryptoWeather.ApiClient);
    }
  }(this, function(ApiClient) {
    'use strict';
  
    /**
     * The PublicSummaryResponseColor model module.
     * @module model/PublicSummaryResponseColor
     * @version 1.0.0
     */
  
    /**
     * Constructs a new <code>PublicSummaryResponseColor</code>.
     * @alias module:model/PublicSummaryResponseColor
     * @class
     * @param b {Number} 
     * @param g {Number} 
     * @param r {Number} 
     */
    var exports = function(b, g, r) {
      this.b = b;
      this.g = g;
      this.r = r;
    };
  
    /**
     * Constructs a <code>PublicSummaryResponseColor</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/PublicSummaryResponseColor} obj Optional instance to populate.
     * @return {module:model/PublicSummaryResponseColor} The populated <code>PublicSummaryResponseColor</code> instance.
     */
    exports.constructFromObject = function(data, obj) {
      if (data) {
        obj = obj || new exports();
        if (data.hasOwnProperty('b'))
          obj.b = ApiClient.convertToType(data['b'], 'Number');
        if (data.hasOwnProperty('g'))
          obj.g = ApiClient.convertToType(data['g'], 'Number');
        if (data.hasOwnProperty('r'))
          obj.r = ApiClient.convertToType(data['r'], 'Number');
      }
      return obj;
    }
  
    /**
     * @member {Number} b
     */
    exports.prototype.b = undefined;
  
    /**
     * @member {Number} g
     */
    exports.prototype.g = undefined;
  
    /**
     * @member {Number} r
     */
    exports.prototype.r = undefined;
  
    return exports;
  
  }));
  