Package ai.shipeasy.admin.model
Class UpdateClaudeTriggerRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateClaudeTriggerRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateClaudeTriggerRequest
extends Object
Per-provider PATCH body for editing an existing `claude_trigger` connector (the dashboard \"Triggers\" tab). The non-secret `config` is always supplied and replaces the stored config wholesale; `name` and `token` are optional.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDiscriminator. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig(ClaudeTriggerConfig config) booleanstatic UpdateClaudeTriggerRequestCreate an instance of UpdateClaudeTriggerRequest given an JSON stringGet configgetName()New connector label.Discriminator.getToken()New fire bearer token (secret).inthashCode()voidsetConfig(ClaudeTriggerConfig config) voidvoidvoidtoJson()Convert an instance of UpdateClaudeTriggerRequest 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_PROVIDER
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateClaudeTriggerRequest
public UpdateClaudeTriggerRequest()
-
-
Method Details
-
provider
public UpdateClaudeTriggerRequest provider(@Nonnull UpdateClaudeTriggerRequest.ProviderEnum provider) -
getProvider
Discriminator. Claude Code scheduled-routine trigger.- Returns:
- provider
-
setProvider
-
name
-
getName
New connector label. Optional — omit to leave it unchanged.- Returns:
- name
-
setName
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
token
-
getToken
New fire bearer token (secret). Optional — a blank/omitted token leaves the stored cipher untouched; a supplied one replaces it. Encrypted; never returned.- Returns:
- token
-
setToken
-
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 UpdateClaudeTriggerRequest
-
fromJson
Create an instance of UpdateClaudeTriggerRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateClaudeTriggerRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateClaudeTriggerRequest
-
toJson
Convert an instance of UpdateClaudeTriggerRequest to an JSON string- Returns:
- JSON string
-