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
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
UpdateScheduleOperationSpec
(String id, Boolean overflow, CreateScheduleRequest createScheduleRequest) Constructs a validated instance ofUpdateScheduleOperationSpec
.Constructs a validated instance ofUpdateScheduleOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
@Nullable CreateScheduleRequest
The schedule to be updated.createScheduleRequest
(@Nullable CreateScheduleRequest createScheduleRequest) The schedule to be updated.boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.@Nullable Boolean
overflow()
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameteroverflow=true
is passed.Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameteroverflow=true
is passed.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
UpdateScheduleOperationSpec
Constructs a validated instance ofUpdateScheduleOperationSpec
.- Parameter:
spec
- the specification to process
-
UpdateScheduleOperationSpec
@Internal public UpdateScheduleOperationSpec(String id, Boolean overflow, CreateScheduleRequest createScheduleRequest) Constructs a validated instance ofUpdateScheduleOperationSpec
.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 parameteroverflow=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 from2011-06-01T10:00:00Z
to2011-06-01T14:00:00Z
: - If you don't pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T10:00:00Z
and end of2011-06-01T14:00:00Z
. - If you do pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T00:00:00Z
and end of2011-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
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 parameteroverflow=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 from2011-06-01T10:00:00Z
to2011-06-01T14:00:00Z
: - If you don't pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T10:00:00Z
and end of2011-06-01T14:00:00Z
. - If you do pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T00:00:00Z
and end of2011-06-02T00:00:00Z
. -
createScheduleRequest
The schedule to be updated. -
id
The ID of the resource.- Gibt zurück:
this
.
-
overflow
Any on-call schedule entries that pass the date range bounds will be truncated at the bounds, unless the parameteroverflow=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 from2011-06-01T10:00:00Z
to2011-06-01T14:00:00Z
: - If you don't pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T10:00:00Z
and end of2011-06-01T14:00:00Z
. - If you do pass theoverflow=true
parameter, you will get one schedule entry returned with a start of2011-06-01T00:00:00Z
and end of2011-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
-
canEqual
-
hashCode
public int hashCode() -
toString
-