Class AdditionalNetwork
java.lang.Object
cloud.liblibai.openapi.client.model.AdditionalNetwork
@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 AdditionalNetwork
extends Object
AdditionalNetwork
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AdditionalNetworkCreate an instance of AdditionalNetwork given an JSON stringLoRA的模型版本uuidLoRA权重inthashCode()voidsetModelId(String modelId) voidtoJson()Convert an instance of AdditionalNetwork to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MODEL_ID
- See Also:
-
SERIALIZED_NAME_WEIGHT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdditionalNetwork
public AdditionalNetwork()
-
-
Method Details
-
modelId
-
getModelId
-
setModelId
-
weight
-
getWeight
-
setWeight
-
equals
-
hashCode
-
toString
-
validateJsonElement
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 AdditionalNetwork
-
fromJson
Create an instance of AdditionalNetwork given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalNetwork
- Throws:
IOException- if the JSON string is invalid with respect to AdditionalNetwork
-
toJson
Convert an instance of AdditionalNetwork to an JSON string- Returns:
- JSON string
-