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

xyz.felh.openai.LastError Maven / Gradle / Ivy

There is a newer version: 4.0.2024102501
Show newest version
package xyz.felh.openai;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class LastError implements IOpenAiBean {

    /**
     * One of server_error or rate_limit_exceeded.
     */
    @JSONField(name = "code")
    @JsonProperty("code")
    private String code;

    /**
     * A human-readable description of the error.
     */
    @JSONField(name = "message")
    @JsonProperty("message")
    private String message;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy