Klasse UpdateScheduleOperationSpec

java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateScheduleOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UpdateScheduleOperationSpec extends Object
UpdateScheduleSpec

Specification for the UpdateSchedule operation.

Update a schedule

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • UpdateScheduleOperationSpec

      @Internal public UpdateScheduleOperationSpec(Consumer<UpdateScheduleOperationSpec> spec)
      Constructs a validated instance of UpdateScheduleOperationSpec.
      Parameter:
      spec - the specification to process
    • UpdateScheduleOperationSpec

      @Internal public UpdateScheduleOperationSpec(String id, Boolean overflow, CreateScheduleRequest createScheduleRequest)
      Constructs a validated instance of UpdateScheduleOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      id - The ID of the resource.
      overflow - Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true is passed. This parameter defaults to false. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z to 2011-06-01T14:00:00Z: - If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z and end of 2011-06-01T14:00:00Z. - If you do pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z and end of 2011-06-02T00:00:00Z.
      createScheduleRequest - The schedule to be updated.
    • UpdateScheduleOperationSpec

      protected UpdateScheduleOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • id

      @NotNull public @NotNull String id()
      The ID of the resource.
    • overflow

      @Nullable public @Nullable Boolean overflow()
      Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true is passed. This parameter defaults to false. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z to 2011-06-01T14:00:00Z: - If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z and end of 2011-06-01T14:00:00Z. - If you do pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z and end of 2011-06-02T00:00:00Z.
    • createScheduleRequest

      @Nullable public @Nullable CreateScheduleRequest createScheduleRequest()
      The schedule to be updated.
    • id

      public UpdateScheduleOperationSpec id(@NotNull @NotNull String id)
      The ID of the resource.
      Gibt zurück:
      this.
    • overflow

      public UpdateScheduleOperationSpec overflow(@Nullable @Nullable Boolean overflow)
      Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameter overflow=true is passed. This parameter defaults to false. For instance, if your schedule is a rotation that changes daily at midnight UTC, and your date range is from 2011-06-01T10:00:00Z to 2011-06-01T14:00:00Z: - If you don't pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T10:00:00Z and end of 2011-06-01T14:00:00Z. - If you do pass the overflow=true parameter, you will get one schedule entry returned with a start of 2011-06-01T00:00:00Z and end of 2011-06-02T00:00:00Z.
      Gibt zurück:
      this.
    • createScheduleRequest

      public UpdateScheduleOperationSpec createScheduleRequest(@Nullable @Nullable CreateScheduleRequest createScheduleRequest)
      The schedule to be updated.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object