io.github.sashirestela.openai.domain.file.FileResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simple-openai Show documentation
Show all versions of simple-openai Show documentation
A Java library to use the OpenAI API in the simplest possible way.
package io.github.sashirestela.openai.domain.file;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
@NoArgsConstructor
@Getter
@ToString
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class FileResponse {
private String id;
private Integer bytes;
private Long createdAt;
private String filename;
private String object;
private String purpose;
/**
* @deprecated OpenAI has deperecated this field, but there isn't a known alternative for this.
*/
@Deprecated(since = "1.0.0", forRemoval = true)
private String status;
/**
* @deprecated OpenAI has deperecated this field, but there isn't a known alternative for this.
*/
@Deprecated(since = "1.0.0", forRemoval = true)
private String statusDetails;
}