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