package cn.com.poc.thirdparty.resource.demand.ai.entity.largemodel;

import cn.com.poc.thirdparty.resource.demand.ai.entity.dialogue.Usage;
import cn.com.poc.thirdparty.resource.demand.dgTools.result.AbstractResult;
import cn.com.poc.thirdparty.resource.demand.ai.entity.dialogue.ToolFunction;

import java.io.Serializable;

public class LargeModelDemandResult extends AbstractResult implements Serializable {

    private String code;

    private String message;

    private String reasoningContent;

    private ToolFunction function;

    private String finish_reason;

    private Usage usage;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getReasoningContent() {
        return reasoningContent;
    }

    public void setReasoningContent(String reasoningContent) {
        this.reasoningContent = reasoningContent;
    }

    public ToolFunction getFunction() {
        return function;
    }

    public void setFunction(ToolFunction function) {
        this.function = function;
    }

    public String getFinish_reason() {
        return finish_reason;
    }

    public void setFinish_reason(String finish_reason) {
        this.finish_reason = finish_reason;
    }

    public Usage getUsage() {
        return usage;
    }

    public void setUsage(Usage usage) {
        this.usage = usage;
    }

    @Override
    public String toString() {
        return "LargeModelDemandResult{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", function=" + function +
                ", finish_reason='" + finish_reason + '\'' +
                ", usage=" + usage +
                '}';
    }
}