Klasse UpdateAddonOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateAddonOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateAddonOperationSpec
extends Object
UpdateAddonSpec
Specification for the UpdateAddon operation.
Update an Add-on
-
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
UpdateAddonOperationSpec
(String id, CreateAddonRequest createAddonRequest) Constructs a validated instance ofUpdateAddonOperationSpec
.Constructs a validated instance ofUpdateAddonOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
@Nullable CreateAddonRequest
The Add-on to be updated.createAddonRequest
(@Nullable CreateAddonRequest createAddonRequest) The Add-on to be updated.boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.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
-
UpdateAddonOperationSpec
Constructs a validated instance ofUpdateAddonOperationSpec
.- Parameter:
spec
- the specification to process
-
UpdateAddonOperationSpec
Constructs a validated instance ofUpdateAddonOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id
- The ID of the resource.createAddonRequest
- The Add-on to be updated.
-
UpdateAddonOperationSpec
protected UpdateAddonOperationSpec()
-
-
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. -
createAddonRequest
The Add-on to be updated. -
id
The ID of the resource.- Gibt zurück:
this
.
-
createAddonRequest
public UpdateAddonOperationSpec createAddonRequest(@Nullable @Nullable CreateAddonRequest createAddonRequest) The Add-on to be updated.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-