Package ai.shipeasy.admin.model
Class CreateJulesTriggerRequest
java.lang.Object
ai.shipeasy.admin.model.CreateJulesTriggerRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateJulesTriggerRequest
extends Object
Create a Google Jules trigger. Both keys are required up front. Idempotent by `config.source`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDiscriminator. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem(ConnectorEvent eventsItem) config(JulesTriggerConfig config) booleanevents(List<ConnectorEvent> events) static CreateJulesTriggerRequestCreate an instance of CreateJulesTriggerRequest given an JSON stringJules API key that launches the session (secret).Get configWhether the trigger is active on create.Events that auto-fire a Jules session.getName()Human-readable connector label.Restricted Shipeasy ops key, embedded in the prompt (Jules exposes no env channel) (secret).Discriminator.inthashCode()voidvoidsetConfig(JulesTriggerConfig config) voidsetEnabled(Boolean enabled) voidsetEvents(List<ConnectorEvent> events) voidvoidvoidtoJson()Convert an instance of CreateJulesTriggerRequest 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_EVENTS
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_API_KEY
- See Also:
-
SERIALIZED_NAME_OPS_KEY
- See Also:
-
SERIALIZED_NAME_ENABLED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateJulesTriggerRequest
public CreateJulesTriggerRequest()
-
-
Method Details
-
provider
-
getProvider
Discriminator. Google Jules trigger.- Returns:
- provider
-
setProvider
-
name
-
getName
Human-readable connector label.- Returns:
- name
-
setName
-
events
-
addEventsItem
-
getEvents
Events that auto-fire a Jules session. Defaults to empty.- Returns:
- events
-
setEvents
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
apiKey
-
getApiKey
Jules API key that launches the session (secret). Encrypted into the credentials cipher; never returned.- Returns:
- apiKey
-
setApiKey
-
opsKey
-
getOpsKey
Restricted Shipeasy ops key, embedded in the prompt (Jules exposes no env channel) (secret). Encrypted; never returned.- Returns:
- opsKey
-
setOpsKey
-
enabled
-
getEnabled
Whether the trigger is active on create.- Returns:
- enabled
-
setEnabled
-
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 CreateJulesTriggerRequest
-
fromJson
Create an instance of CreateJulesTriggerRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateJulesTriggerRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateJulesTriggerRequest
-
toJson
Convert an instance of CreateJulesTriggerRequest to an JSON string- Returns:
- JSON string
-