All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jmusixmatch.entity.Header Maven / Gradle / Ivy

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy