All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.dashscope.protocol.NetworkResponse Maven / Gradle / Ivy

There is a newer version: 2.16.9
Show newest version
// Copyright (c) Alibaba, Inc. and its affiliates.

package com.alibaba.dashscope.protocol;

import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class NetworkResponse {

  /** The response headers. */
  @Builder.Default private Map> headers = new HashMap<>();

  /** The String type response message. */
  private String message;

  /** The event, used in assistant */
  private String event;

  /** The binary type response. */
  private ByteBuffer binary;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy