Class SetLocaleOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetLocaleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetLocaleOperationSpec
extends Object
SetLocaleSpec
Specification for the SetLocale operation.
Set locale
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SetLocaleOperationSpec
(Locale locale) Constructs a validated instance ofSetLocaleOperationSpec
.Constructs a validated instance ofSetLocaleOperationSpec
. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
SetLocaleOperationSpec
Constructs a validated instance ofSetLocaleOperationSpec
.- Parameters:
spec
- the specification to process
-
SetLocaleOperationSpec
Constructs a validated instance ofSetLocaleOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
locale
- The locale defined in a LocaleBean.
-
SetLocaleOperationSpec
protected SetLocaleOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
locale
The locale defined in a LocaleBean. -
locale
The locale defined in a LocaleBean.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-