mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Removed unused class
This commit is contained in:
parent
c28ea14cac
commit
3a768ead17
1 changed files with 0 additions and 76 deletions
|
|
@ -1,76 +0,0 @@
|
||||||
package fr.free.nrw.commons.media;
|
|
||||||
|
|
||||||
import com.google.gson.annotations.SerializedName;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Represents the Wikibase item associated with a Wikimedia Commons file.
|
|
||||||
* For instance the Wikibase item M63996 represents the Commons file "Paul Cézanne - The Pigeon Tower at Bellevue - 1936.19 - Cleveland Museum of Art.jpg"
|
|
||||||
*/
|
|
||||||
public class CommonsWikibaseItem {
|
|
||||||
|
|
||||||
@SerializedName("type")
|
|
||||||
private String type;
|
|
||||||
@SerializedName("id")
|
|
||||||
private String id;
|
|
||||||
@SerializedName("labels")
|
|
||||||
private Map<String, Caption> labels;
|
|
||||||
@SerializedName("statements")
|
|
||||||
private Object statements = null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* No args constructor for use in serialization
|
|
||||||
*/
|
|
||||||
public CommonsWikibaseItem() {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param id
|
|
||||||
* @param statements
|
|
||||||
* @param labels
|
|
||||||
* @param type
|
|
||||||
*/
|
|
||||||
public CommonsWikibaseItem(String type, String id, Map<String, Caption> labels, Object statements) {
|
|
||||||
super();
|
|
||||||
this.type = type;
|
|
||||||
this.id = id;
|
|
||||||
this.labels = labels;
|
|
||||||
this.statements = statements;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Ex: "mediainfo
|
|
||||||
*/
|
|
||||||
@SerializedName("type")
|
|
||||||
public String getType() {
|
|
||||||
return type;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return Wikibase Id
|
|
||||||
*/
|
|
||||||
@SerializedName("id")
|
|
||||||
public String getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return value of captions
|
|
||||||
*/
|
|
||||||
@SerializedName("labels")
|
|
||||||
public Map<String, Caption> getLabels() {
|
|
||||||
return labels;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Contains the Depicts item
|
|
||||||
*/
|
|
||||||
@SerializedName("statements")
|
|
||||||
public Object getStatements() {
|
|
||||||
return statements;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue