Klasse UpdateServiceOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateServiceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateServiceOperationSpec
extends Object
UpdateServiceSpec
Specification for the UpdateService operation.
Update a service
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected boolean@Nullable CreateServiceRequestThe service to be updated.createServiceRequest(@Nullable CreateServiceRequest createServiceRequest) The service to be updated.booleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.toString()voidvalidate()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
-
UpdateServiceOperationSpec
Constructs a validated implementation ofUpdateServiceOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
id
The ID of the resource. -
createServiceRequest
The service to be updated. -
id
The ID of the resource.- Gibt zurück:
this.
-
createServiceRequest
public UpdateServiceOperationSpec createServiceRequest(@Nullable @Nullable CreateServiceRequest createServiceRequest) The service to be updated.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-