// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.github.api.data;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.Date;

@SuppressWarnings("UnusedDeclaration")
public class GithubRepo extends GithubRepoBasic {
  private Date createdAt;
  private Date updatedAt;
  private Date pushedAt;

  //more urls
  private String cloneUrl;
  private @Nullable String sshUrl;
  //more urls

  private String homepage;

  private Integer size;

  private Integer stargazersCount;
  private Integer watchersCount;

  private String language;

  private Boolean hasIssues;
  private Boolean hasProjects;
  private Boolean hasWiki;
  private Boolean hasPages;
  private Boolean hasDownloads;

  private Integer forksCount;

  private String mirrorUrl;
  private Boolean archived;

  private Integer openIssuesCount;
  //private ??? license;
  private Integer forks;
  private Integer openIssues;
  private Integer watchers;
  private String defaultBranch;

  public @Nullable String getDefaultBranch() {
    return defaultBranch;
  }

  public @NotNull String getCloneUrl() {
    return cloneUrl;
  }

  public @Nullable String getSshUrl() {
    return sshUrl;
  }
}
