类 AssistantChoice

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
com.zhipu.oapi.service.v4.assistant.AssistantChoice
所有已实现的接口:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

public class AssistantChoice extends com.fasterxml.jackson.databind.node.ObjectNode
This class represents an assistant's choice output.
另请参阅:
  • 嵌套类概要

    从接口继承的嵌套类/接口 com.fasterxml.jackson.databind.JsonSerializable

    com.fasterxml.jackson.databind.JsonSerializable.Base
  • 字段概要

    从类继承的字段 com.fasterxml.jackson.databind.node.ObjectNode

    _children

    从类继承的字段 com.fasterxml.jackson.databind.node.ContainerNode

    _nodeFactory
  • 构造器概要

    构造器
    构造器
    说明
     
    AssistantChoice(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
     
  • 方法概要

    修饰符和类型
    方法
    说明
     
     
    int
     
     
    void
     
    void
    setFinishReason(String finishReason)
     
    void
    setIndex(int index)
     
    void
     

    从类继承的方法 com.fasterxml.jackson.databind.node.ObjectNode

    _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, without

    从类继承的方法 com.fasterxml.jackson.databind.node.ContainerNode

    arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNode

    从类继承的方法 com.fasterxml.jackson.databind.node.BaseJsonNode

    findPath, numberType, required, toPrettyString, toString, traverse, traverse

    从类继承的方法 com.fasterxml.jackson.databind.JsonNode

    _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, textValue

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    从接口继承的方法 java.lang.Iterable

    forEach, spliterator
  • 构造器详细资料

    • AssistantChoice

      public AssistantChoice()
    • AssistantChoice

      public AssistantChoice(com.fasterxml.jackson.databind.node.ObjectNode objectNode)
  • 方法详细资料

    • getIndex

      public int getIndex()
    • setIndex

      public void setIndex(int index)
    • getDelta

      public MessageContent getDelta()
    • setDelta

      public void setDelta(MessageContent delta)
    • getFinishReason

      public String getFinishReason()
    • setFinishReason

      public void setFinishReason(String finishReason)
    • getMetadata

      public Map<String,Object> getMetadata()
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)