RepoUrlKeys

class Object
trait Matchable
class Any

Type members

Classlikes

final case class CommitComparisonResponse(status: String, ahead_by: Int, behind_by: Int, total_commits: Int, url: Option[String], html_url: Option[String], permalink_url: Option[String], diff_url: Option[String], patch_url: Option[String], base_commit: Option[Commit], merge_base_commit: Option[Commit], commits: Seq[Commit], files: Seq[FileComparison])
Companion:
class
sealed trait FileComparison

A file comparison that contains information on the changes to a file. There are two subtypes: FileComparisonNotRenamed and FileComparisonRenamed that have different guarantees.

A file comparison that contains information on the changes to a file. There are two subtypes: FileComparisonNotRenamed and FileComparisonRenamed that have different guarantees.

  • FileComparisonNotRenamed guarantees that the patch field exists, does not have a previous_filename field.
  • FileComparisonRenamed guarantees that the previous_filename field exists and sometimes contains a patch field.

To get values from these fields, there are helper methods getPatch and getPreviousFilename, though it is recomended to match on your FileComparison value to determine which type it is, to remove ambiguity.

Companion:
object

Value members

Concrete fields

val allFields: List[String]
val archive_url: String
val assignees_url: String
val blobs_url: String
val branches_url: String
val collaborators_url: String
val comments_url: String
val commits_url: String
val compare_url: String
val contents_url: String
val contributors_url: String
val deployments_url: String
val downloads_url: String
val events_url: String
val forks_url: String
val git_commits_url: String
val git_refs_url: String
val git_tags_url: String
val hooks_url: String
val issue_comment_url: String
val issue_events_url: String
val issues_url: String
val keys_url: String
val labels_url: String
val languages_url: String
val merges_url: String
val milestones_url: String
val notifications_url: String
val pulls_url: String
val releases_url: String
val stargazers_url: String
val statuses_url: String
val subscribers_url: String
val subscription_url: String
val tags_url: String
val teams_url: String
val trees_url: String