Package ai.shipeasy.admin.model
Class UpdateConfigRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateConfigRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateConfigRequest
extends Object
Body for `PATCH /api/admin/configs/{id}`. Partial — only supplied fields change. `value` republishes on every env.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateConfigRequestCreate an instance of UpdateConfigRequest given an JSON stringOptional folder name grouping items in the dashboard.Replacement schema.getValue()Get valueinthashCode()putSchemaItem(String key, Object schemaItem) voidvoidvoidtoJson()Convert an instance of UpdateConfigRequest 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_SCHEMA
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_FOLDER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateConfigRequest
public UpdateConfigRequest()
-
-
Method Details
-
schema
-
putSchemaItem
-
getSchema
Replacement schema. When supplied, the new schema is validated against every published value before it lands.- Returns:
- schema
-
setSchema
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
folder
-
getFolder
Optional folder name grouping items in the dashboard. Alphanumeric, `_` or `-` (no `/`). Part of the SDK lookup key (`<folder>/<name>`).- Returns:
- folder
-
setFolder
-
equals
-
hashCode
public int 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 UpdateConfigRequest
-
fromJson
Create an instance of UpdateConfigRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateConfigRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateConfigRequest
-
toJson
Convert an instance of UpdateConfigRequest to an JSON string- Returns:
- JSON string
-