Class VoiceEnrollmentParam


@Deprecated public class VoiceEnrollmentParam extends HalfDuplexServiceParam
Deprecated.
  • Constructor Details

  • Method Details

    • getHttpBody

      public com.google.gson.JsonObject getHttpBody()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}
      Specified by:
      getHttpBody in class HalfDuplexParamBase
      Returns:
      The http request body
    • getInput

      public com.google.gson.JsonObject getInput()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the request input data.
      Specified by:
      getInput in class HalfDuplexParamBase
      Returns:
      The input data object.
    • getBinaryData

      public ByteBuffer getBinaryData()
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Get the binary data, only websocket, if no binary data, return null.
      Specified by:
      getBinaryData in class HalfDuplexParamBase
      Returns:
      The binary data
    • validate

      public void validate() throws InputRequiredException
      Deprecated.
      Description copied from class: HalfDuplexParamBase
      Validate the input and parameters.
      Specified by:
      validate in class HalfDuplexParamBase
      Throws:
      InputRequiredException - Missing input fields.
    • builder

      Deprecated.
    • equals

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

      protected boolean canEqual(Object other)
      Deprecated.
      Overrides:
      canEqual in class HalfDuplexServiceParam
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class HalfDuplexServiceParam
    • getPrefix

      public String getPrefix()
      Deprecated.
    • getTargetModel

      public String getTargetModel()
      Deprecated.
    • getOperationType

      public VoiceEnrollmentOperationType getOperationType()
      Deprecated.
    • getUrl

      public String getUrl()
      Deprecated.
    • getAudio

      public String getAudio()
      Deprecated.
    • getVoiceId

      public String getVoiceId()
      Deprecated.
    • getLanguageHints

      public List<String> getLanguageHints()
      Deprecated.
    • getPageIndex

      public int getPageIndex()
      Deprecated.
    • getPageSize

      public int getPageSize()
      Deprecated.
    • getMaxPromptAudioLength

      public float getMaxPromptAudioLength()
      Deprecated.
      Maximum length of prompt audio in seconds.
    • setPrefix

      public void setPrefix(String prefix)
      Deprecated.
    • setTargetModel

      public void setTargetModel(String targetModel)
      Deprecated.
    • setOperationType

      public void setOperationType(VoiceEnrollmentOperationType operationType)
      Deprecated.
    • setUrl

      public void setUrl(String url)
      Deprecated.
    • setAudio

      public void setAudio(String audio)
      Deprecated.
    • setVoiceId

      public void setVoiceId(String voiceId)
      Deprecated.
    • setLanguageHints

      public void setLanguageHints(List<String> languageHints)
      Deprecated.
    • setPageIndex

      public void setPageIndex(int pageIndex)
      Deprecated.
    • setPageSize

      public void setPageSize(int pageSize)
      Deprecated.
    • setMaxPromptAudioLength

      public void setMaxPromptAudioLength(float maxPromptAudioLength)
      Deprecated.
      Maximum length of prompt audio in seconds.
    • toString

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