com.plexpt.chatgpt.entity.BaseResponse Maven / Gradle / Ivy
The newest version!
package com.plexpt.chatgpt.entity;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
/**
* @author plexpt
*/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class BaseResponse {
private String object;
private List data;
private Error error;
@Data
public class Error {
private String message;
private String type;
private String param;
private String code;
}
}