From 7f6bcc62af823e02b710d33068e7dcecc7cec69d Mon Sep 17 00:00:00 2001 From: Fs00 Date: Mon, 13 Dec 2021 19:37:59 +0100 Subject: [PATCH] Add previous_filename field to GitHubFile --- .../java/com/meisolsson/githubsdk/model/GitHubFile.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/src/main/java/com/meisolsson/githubsdk/model/GitHubFile.java b/library/src/main/java/com/meisolsson/githubsdk/model/GitHubFile.java index 9f5ea02c..2ceaa7af 100644 --- a/library/src/main/java/com/meisolsson/githubsdk/model/GitHubFile.java +++ b/library/src/main/java/com/meisolsson/githubsdk/model/GitHubFile.java @@ -30,6 +30,10 @@ public abstract class GitHubFile implements Parcelable { @Nullable public abstract String filename(); + @Json(name = "previous_filename") + @Nullable + public abstract String previousFilename(); + @Nullable public abstract String status(); @@ -70,6 +74,8 @@ public static Builder builder() { public abstract static class Builder { public abstract Builder filename(String filename); + public abstract Builder previousFilename(String previousFilename); + public abstract Builder status(String status); public abstract Builder patch(String patch);