
ee.carlrobert.llm.client.ollama.completion.response.OllamaPullResponse Maven / Gradle / Ivy
package ee.carlrobert.llm.client.ollama.completion.response;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class OllamaPullResponse {
private String status;
private String digest;
/**
* Total amount of bytes.
*/
private Long total;
/**
* Downloaded amount of bytes.
*/
private Long completed;
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getDigest() {
return digest;
}
public void setDigest(String digest) {
this.digest = digest;
}
public Long getTotal() {
return total;
}
public void setTotal(Long total) {
this.total = total;
}
public Long getCompleted() {
return completed;
}
public void setCompleted(Long completed) {
this.completed = completed;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy