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.
  • Field Details

  • Constructor Details

    • UpdateJulesTriggerRequest

      public UpdateJulesTriggerRequest()
  • Method Details

    • provider

    • getProvider

      @Nonnull public UpdateJulesTriggerRequest.ProviderEnum getProvider()
      Discriminator. Google Jules trigger.
      Returns:
      provider
    • setProvider

      public void setProvider(@Nonnull UpdateJulesTriggerRequest.ProviderEnum provider)
    • name

      public UpdateJulesTriggerRequest name(@Nullable String name)
    • getName

      @Nullable public String getName()
      New connector label. Optional — omit to leave it unchanged.
      Returns:
      name
    • setName

      public void setName(@Nullable String name)
    • config

      public UpdateJulesTriggerRequest config(@Nonnull JulesTriggerConfig config)
    • getConfig

      @Nonnull public JulesTriggerConfig getConfig()
      Get config
      Returns:
      config
    • setConfig

      public void setConfig(@Nonnull JulesTriggerConfig config)
    • apiKey

      public UpdateJulesTriggerRequest apiKey(@Nullable String apiKey)
    • getApiKey

      @Nullable public String getApiKey()
      New Jules launch key (secret). Optional — omit to leave the stored key untouched. Rotatable independently of `opsKey`. Encrypted; never returned.
      Returns:
      apiKey
    • setApiKey

      public void setApiKey(@Nullable String apiKey)
    • opsKey

      public UpdateJulesTriggerRequest opsKey(@Nullable String opsKey)
    • getOpsKey

      @Nullable public String 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

      public void setOpsKey(@Nullable String opsKey)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static UpdateJulesTriggerRequest fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of UpdateJulesTriggerRequest to an JSON string
      Returns:
      JSON string