Class FullDuplexParamBase

java.lang.Object
com.alibaba.dashscope.legacy_2x.base.FullDuplexParamBase
Direct Known Subclasses:
FullDuplexServiceParam

@Deprecated public abstract class FullDuplexParamBase extends Object
Deprecated.
The model service base class
  • Field Details

    • parameters

      protected Map<String,Object> parameters
      Deprecated.
      The extra parameters.
    • headers

      protected Map<String,Object> headers
      Deprecated.
      The custom http header.
  • Constructor Details

  • Method Details

    • getWorkspace

      public String getWorkspace()
      Deprecated.
    • getApiKey

      public String getApiKey()
      Deprecated.
    • getHeaders

      public abstract Map<String,String> getHeaders()
      Deprecated.
      The custom http header.
      Returns:
      The headers.
    • getModel

      public String getModel()
      Deprecated.
    • getParameters

      public abstract Map<String,Object> getParameters()
      Deprecated.
      The service parameters.
      Returns:
      The key/value parameters
    • getResources

      public abstract Object getResources()
      Deprecated.
      Get the resources
      Returns:
      the resources Object.
    • getStreamingData

      public abstract io.reactivex.Flowable<Object> getStreamingData()
      Deprecated.
      Get the stream input data, only for websocket stream in and duplex mode. For binary data support: byte[] and ByteBuffer Otherwise should be String or Json serializable Object. For websocket stream in and duplex service must implement.
      Returns:
      The stream input data.
    • getInputs

      public Map<String,Object> getInputs()
      Deprecated.
      Custom payload.inputs
      Returns:
      The key/value parameters
    • setModel

      public void setModel(String model)
      Deprecated.
    • isSecurityCheck

      public boolean isSecurityCheck()
      Deprecated.
      Open security check
    • setApiKey

      public void setApiKey(String apiKey)
      Deprecated.
      The apiKey.
    • setSecurityCheck

      public void setSecurityCheck(boolean securityCheck)
      Deprecated.
      Open security check
    • setWorkspace

      public void setWorkspace(String workspace)
      Deprecated.
      workspace
    • setParameters

      public void setParameters(Map<String,Object> parameters)
      Deprecated.
      The extra parameters.
    • setHeaders

      public void setHeaders(Map<String,Object> headers)
      Deprecated.
      The custom http header.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object