类 Image

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.image.Image
所有已实现的接口:
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 Image extends com.fasterxml.jackson.databind.node.ObjectNode
An object containing either a URL or a base 64 encoded image.
另请参阅:
  • 嵌套类概要

    从接口继承的嵌套类/接口 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
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    void
    setB64Json(String b64Json)
     
    void
    setRevisedPrompt(String revisedPrompt)
     
    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
  • 构造器详细资料

    • Image

      public Image()
    • Image

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

    • setUrl

      public void setUrl(String url)
    • setB64Json

      public void setB64Json(String b64Json)
    • setRevisedPrompt

      public void setRevisedPrompt(String revisedPrompt)