Klasse SetPreferenceOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetPreferenceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetPreferenceOperationSpec
extends Object
SetPreferenceSpec
Specification for the SetPreference operation.
Set preference
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedSetPreferenceOperationSpec(String key, String body) Constructs a validated instance ofSetPreferenceOperationSpec.Constructs a validated instance ofSetPreferenceOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@NotNull Stringbody()The value of the preference as a plain text string.The value of the preference as a plain text string.builder()protected booleanbooleaninthashCode()@NotNull Stringkey()The key of the preference.The key of the preference.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
-
SetPreferenceOperationSpec
Constructs a validated instance ofSetPreferenceOperationSpec.- Parameter:
spec- the specification to process
-
SetPreferenceOperationSpec
Constructs a validated instance ofSetPreferenceOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
key- The key of the preference. The maximum length is 255 characters.body- The value of the preference as a plain text string. The maximum length is 255 characters.
-
SetPreferenceOperationSpec
protected SetPreferenceOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
key
The key of the preference. The maximum length is 255 characters. -
body
The value of the preference as a plain text string. The maximum length is 255 characters. -
key
The key of the preference. The maximum length is 255 characters.- Gibt zurück:
this.
-
body
The value of the preference as a plain text string. The maximum length is 255 characters.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-