This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added files to core * added RepoFile class and List<RepoFile> * final changes to repofile class * remove quotes
- Loading branch information
1 parent
b1b2dbc
commit c772a3d
Showing
2 changed files
with
125 additions
and
5 deletions.
There are no files selected for viewing
113 changes: 113 additions & 0 deletions
113
src/main/java/com/capitalone/dashboard/model/RepoFile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
package com.capitalone.dashboard.model; | ||
|
||
public class RepoFile { | ||
private String filename; | ||
private String patch; | ||
private String sha; | ||
private String status; | ||
private int additions; | ||
private int deletions; | ||
private int changes; | ||
private String blob_url; | ||
private String raw_url; | ||
private String contents_url; | ||
|
||
public RepoFile () { | ||
|
||
} | ||
|
||
public RepoFile (String filename, String patch, String sha, String status, int additions, int deletions, int changes, | ||
String blob_url, String raw_url, String contents_url) { | ||
this.filename = filename; | ||
this. patch = patch; | ||
this.sha = sha; | ||
this.status = status; | ||
this.additions = additions; | ||
this.deletions = deletions; | ||
this.changes = changes; | ||
this.blob_url = blob_url; | ||
this.raw_url = raw_url; | ||
this.contents_url = contents_url; | ||
} | ||
|
||
public String getFilename() { | ||
return this.filename; | ||
} | ||
|
||
public void setFilename(String filename) { | ||
this.filename = filename; | ||
} | ||
|
||
public String getPatch() { | ||
return this.patch; | ||
} | ||
|
||
public void setPatch(String patch) { | ||
this.patch = patch; | ||
} | ||
|
||
public String getSha() { | ||
return this.sha; | ||
} | ||
|
||
public void setSha(String sha) { | ||
this.sha = sha; | ||
} | ||
|
||
public String getStatus() { | ||
return this.status; | ||
} | ||
|
||
public void setStatus(String status) { | ||
this.status = status; | ||
} | ||
|
||
public int getAdditions() { | ||
return this.additions; | ||
} | ||
|
||
public void setAdditions(int additions) { | ||
this.additions = additions; | ||
} | ||
|
||
public int getDeletions() { | ||
return this.deletions; | ||
} | ||
|
||
public void setDeletions(int deletions) { | ||
this.deletions = deletions; | ||
} | ||
|
||
public int getChanges() { | ||
return this.changes; | ||
} | ||
|
||
public void setChanges(int changes) { | ||
this.changes = changes; | ||
} | ||
|
||
public String getBlob_url() { | ||
return this.blob_url; | ||
} | ||
|
||
public void setBlob_url(String blob_url) { | ||
this.blob_url = blob_url; | ||
} | ||
|
||
public String getRaw_url() { | ||
return this.raw_url; | ||
} | ||
|
||
public void setRaw_url(String raw_url) { | ||
this.raw_url = raw_url; | ||
} | ||
|
||
public String getContents_url() { | ||
return this.contents_url; | ||
} | ||
|
||
public void setContents_url(String contents_url) { | ||
this.contents_url = contents_url; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters