package com.cyksj.model.views;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @author chan
 * @date 2024/4/28 14:11
 */
@Data
public class ChatgptConversionLimitView {

    //"{\"detail\":{\"message\":\"您的账号已达到GPT-4的使用上限。您现在可以继续使用默认模型，或者重试在\",\"code\":\"model_cap_exceeded\",\"clears_in\":2687}}";

    private Detail detail;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Data
    public static class Detail{

        private String message;

        private String code;

        private Long clears_in;
    }
}
