Package ai.shipeasy.admin.model
Class UpdateJulesTriggerRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateJulesTriggerRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateJulesTriggerRequest
extends Object
Per-provider PATCH body for editing an existing `jules_trigger` connector. `config` replaces the stored config wholesale; `name` and either credential are optional.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDiscriminator. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig(JulesTriggerConfig config) booleanstatic UpdateJulesTriggerRequestCreate an instance of UpdateJulesTriggerRequest given an JSON stringNew Jules launch key (secret).Get configgetName()New connector label.New restricted Shipeasy ops key (secret).Discriminator.inthashCode()voidvoidsetConfig(JulesTriggerConfig config) voidvoidvoidtoJson()Convert an instance of UpdateJulesTriggerRequest 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_API_KEY
- See Also:
-
SERIALIZED_NAME_OPS_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateJulesTriggerRequest
public UpdateJulesTriggerRequest()
-
-
Method Details
-
provider
-
getProvider
Discriminator. Google Jules 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
-
apiKey
-
getApiKey
New Jules launch key (secret). Optional — omit to leave the stored key untouched. Rotatable independently of `opsKey`. Encrypted; never returned.- Returns:
- apiKey
-
setApiKey
-
opsKey
-
getOpsKey
New restricted Shipeasy ops key (secret). Optional — omit to leave the stored key untouched. Rotatable independently of `apiKey`. Encrypted; never returned.- Returns:
- opsKey
-
setOpsKey
-
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 UpdateJulesTriggerRequest
-
fromJson
Create an instance of UpdateJulesTriggerRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateJulesTriggerRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateJulesTriggerRequest
-
toJson
Convert an instance of UpdateJulesTriggerRequest to an JSON string- Returns:
- JSON string
-