Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/main/java/org/kohsuke/github/GHRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public class GHRepository extends GHObject {
private boolean has_issues, has_wiki, fork, has_downloads, has_pages;
@JsonProperty("private")
private boolean _private;
private boolean archived;
private int forks_count, stargazers_count, watchers_count, size, open_issues_count, subscribers_count;
private String pushed_at;
private Map<Integer,GHMilestone> milestones = new HashMap<Integer, GHMilestone>();
Expand Down Expand Up @@ -408,6 +409,10 @@ public int getStargazersCount() {
public boolean isPrivate() {
return _private;
}

public boolean isArchived() {
return archived;
}

public boolean hasDownloads() {
return has_downloads;
Expand Down