Package ai.shipeasy.admin.model
Class JulesTriggerConfig
java.lang.Object
ai.shipeasy.admin.model.JulesTriggerConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class JulesTriggerConfig
extends Object
Non-secret config for a Jules trigger.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic JulesTriggerConfigCreate an instance of JulesTriggerConfig given an JSON stringShipeasy project id the run targets.Jules source for the connected repo, e.g.Optional branch the session starts from.inthashCode()voidsetProjectId(String projectId) voidvoidsetStartingBranch(String startingBranch) startingBranch(String startingBranch) toJson()Convert an instance of JulesTriggerConfig 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_SOURCE
- See Also:
-
SERIALIZED_NAME_STARTING_BRANCH
- See Also:
-
SERIALIZED_NAME_PROJECT_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
JulesTriggerConfig
public JulesTriggerConfig()
-
-
Method Details
-
source
-
getSource
Jules source for the connected repo, e.g. `sources/github/owner/repo`. Idempotency key for the connector.- Returns:
- source
-
setSource
-
startingBranch
-
getStartingBranch
Optional branch the session starts from.- Returns:
- startingBranch
-
setStartingBranch
-
projectId
-
getProjectId
Shipeasy project id the run targets.- Returns:
- projectId
-
setProjectId
-
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 JulesTriggerConfig
-
fromJson
Create an instance of JulesTriggerConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of JulesTriggerConfig
- Throws:
IOException- if the JSON string is invalid with respect to JulesTriggerConfig
-
toJson
Convert an instance of JulesTriggerConfig to an JSON string- Returns:
- JSON string
-