Source: ChallengeProgress.js

/**
 * Player completed or in progress challenges
 * @module
 */
export default class ChallengeProgress {
  /**
   *
   * @param {Object} challenge The challenge object to parse
   */
  constructor(challenge) {
    /**
     * Name of the challenge
     * @type {String}
     */
    this.name = challenge.Name;

    /**
     * Progress towards completing this challenge
     * @type {number}
     */
    this.progress = challenge.Progress;
  }
}