public final class ModelData
extends com.fasterxml.jackson.databind.node.ObjectNode
| 构造器和说明 |
|---|
ModelData() |
ModelData(com.fasterxml.jackson.databind.node.JsonNodeFactory nc,
Map<String,com.fasterxml.jackson.databind.JsonNode> kids) |
ModelData(com.fasterxml.jackson.databind.node.ObjectNode objectNode) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setChoices(List<Choice> choices) |
void |
setCreated(Long created) |
void |
setError(ChatError error) |
void |
setId(String id) |
void |
setModel(String model) |
void |
setRequestId(String requestId) |
void |
setTaskStatus(TaskStatus taskStatus) |
void |
setUsage(Usage usage) |
_at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isEmpty, isObject, path, path, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeWithType, set, setAll, setAll, size, with, withArray, without, withoutarrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNodefindPath, numberType, required, toPrettyString, toString, traverse, traverse_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValueforEach, spliteratorpublic ModelData()
public ModelData(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
public void setUsage(Usage usage)
public void setRequestId(String requestId)
public void setTaskStatus(TaskStatus taskStatus)
public void setCreated(Long created)
public void setModel(String model)
public void setId(String id)
public void setError(ChatError error)
Copyright © 2024. All rights reserved.