Class GetModelVersionRequest

java.lang.Object
cloud.liblibai.openapi.client.model.GetModelVersionRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-05T15:10:08.947334966+08:00[Asia/Shanghai]", comments="Generator version: 7.10.0") public class GetModelVersionRequest extends Object
GetModelVersionRequest
  • Field Details

  • Constructor Details

    • GetModelVersionRequest

      public GetModelVersionRequest()
  • Method Details

    • versionUuid

      public GetModelVersionRequest versionUuid(@Nonnull String versionUuid)
    • getVersionUuid

      @Nonnull public String getVersionUuid()
      要查询的模型版本uuid
      Returns:
      versionUuid
    • setVersionUuid

      public void setVersionUuid(@Nonnull String versionUuid)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to GetModelVersionRequest
    • fromJson

      public static GetModelVersionRequest fromJson(String jsonString) throws IOException
      Create an instance of GetModelVersionRequest given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of GetModelVersionRequest
      Throws:
      IOException - if the JSON string is invalid with respect to GetModelVersionRequest
    • toJson

      public String toJson()
      Convert an instance of GetModelVersionRequest to an JSON string
      Returns:
      JSON string