1package io.github.ollama4j.models.response;
3import java.time.OffsetDateTime;
5import com.fasterxml.jackson.annotation.JsonProperty;
6import com.fasterxml.jackson.core.JsonProcessingException;
7import io.github.ollama4j.utils.Utils;
15 @JsonProperty(
"modified_at")
16 private OffsetDateTime modifiedAt;
17 @JsonProperty(
"expires_at")
18 private OffsetDateTime expiresAt;
19 private String digest;
21 @JsonProperty(
"details")
31 return name.split(
":")[0];
40 return name.split(
":")[1];
47 }
catch (JsonProcessingException e) {
48 throw new RuntimeException(e);
static ObjectMapper getObjectMapper()