{"size": 411, "ext": "js", "max_stars_repo_path": "packages/manager/modules/pci/src/projects/Project.class.js", "max_stars_repo_name": "AnneSophieS/manager", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/manager/modules/pci/src/projects/Project.class.js", "max_issues_repo_name": "AnneSophieS/manager", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/manager/modules/pci/src/projects/Project.class.js", "max_forks_repo_name": "AnneSophieS/manager", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.2222222222, "max_line_length": 39, "alphanum_fraction": 0.5742092457}
export default class Project {
  /* @ngInject */
  constructor(project) {
    Object.assign(this, project);
  }

  isCreating() {
    return this.status === 'creating';
  }

  isDeleting() {
    return this.status === 'deleting';
  }

  isSuspended() {
    return this.status === 'suspended';
  }

  isDeleted() {
    return this.status === 'deleted';
  }

  isActive() {
    return this.status === 'ok';
  }
}
