org.jmusixmatch.entity.Header Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jMusixMatch Show documentation
Show all versions of jMusixMatch Show documentation
Java MusixMatch API by Sachin Handiekar
The newest version!
package org.jmusixmatch.entity;
import com.google.gson.annotations.SerializedName;
/**
* A class to denote the Header part of the JSON body.
*
* The Header contains the following elements :
* 1. status_code
* 2. execute_time
* 3. available
*
* @author Sachin Handiekar
* @version 1.0
*/
public class Header {
@SerializedName("status_code")
private Integer statusCode;
@SerializedName("execute_time")
private Double executeTime;
@SerializedName("confidence")
private Integer confidence;
@SerializedName("mode")
private String mode;
@SerializedName("cached")
private Integer cached;
public Integer getStatusCode() {
return statusCode;
}
public void setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
}
public Double getExecuteTime() {
return executeTime;
}
public void setExecuteTime(Double executeTime) {
this.executeTime = executeTime;
}
public Integer getConfidence() {
return confidence;
}
public void setConfidence(Integer confidence) {
this.confidence = confidence;
}
public String getMode() {
return mode;
}
public void setMode(String mode) {
this.mode = mode;
}
public Integer getCached() {
return cached;
}
public void setCached(Integer cached) {
this.cached = cached;
}
}