Klasse CreateServiceOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateServiceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateServiceOperationSpec
extends Object
CreateServiceSpec
Specification for the CreateService operation.
Create a service
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateServiceOperationSpec(CreateServiceRequest createServiceRequest) Constructs a validated instance ofCreateServiceOperationSpec.Constructs a validated instance ofCreateServiceOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateServiceRequestThe service to be createdcreateServiceRequest(@Nullable CreateServiceRequest createServiceRequest) The service to be createdbooleaninthashCode()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
-
CreateServiceOperationSpec
Constructs a validated instance ofCreateServiceOperationSpec.- Parameter:
spec- the specification to process
-
CreateServiceOperationSpec
Constructs a validated instance ofCreateServiceOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
createServiceRequest- The service to be created
-
CreateServiceOperationSpec
protected CreateServiceOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
createServiceRequest
The service to be created -
createServiceRequest
public CreateServiceOperationSpec createServiceRequest(@Nullable @Nullable CreateServiceRequest createServiceRequest) The service to be created- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-