mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Show wikidata edits done through the app (#2431)
* Show wikidata edits done through the app * Minor changes based on code review
This commit is contained in:
parent
aee8839eea
commit
73bb0c52c9
8 changed files with 138 additions and 18 deletions
|
|
@ -0,0 +1,16 @@
|
|||
package fr.free.nrw.commons.wikidata.model;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class GetWikidataEditCountResponse {
|
||||
@SerializedName("edits")
|
||||
private final int wikidataEditCount;
|
||||
|
||||
public GetWikidataEditCountResponse(int wikidataEditCount) {
|
||||
this.wikidataEditCount = wikidataEditCount;
|
||||
}
|
||||
|
||||
public int getWikidataEditCount() {
|
||||
return wikidataEditCount;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue