Class BulkGetUsersMigrationOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.BulkGetUsersMigrationOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class BulkGetUsersMigrationOperationSpec
extends Object
BulkGetUsersMigrationSpec
Specification for the BulkGetUsersMigration operation.
Get account IDs for users
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBulkGetUsersMigrationOperationSpec(Long startAt, Integer maxResults, List<String> username, List<String> key) Constructs a validated instance ofBulkGetUsersMigrationOperationSpec.Constructs a validated instance ofBulkGetUsersMigrationOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()key()Key of a user.Key of a user.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).toString()username()Username of a user.Username of a user.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
BulkGetUsersMigrationOperationSpec
@Internal public BulkGetUsersMigrationOperationSpec(Consumer<BulkGetUsersMigrationOperationSpec> spec) Constructs a validated instance ofBulkGetUsersMigrationOperationSpec.- Parameters:
spec- the specification to process
-
BulkGetUsersMigrationOperationSpec
@Internal public BulkGetUsersMigrationOperationSpec(Long startAt, Integer maxResults, List<String> username, List<String> key) Constructs a validated instance ofBulkGetUsersMigrationOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.username- Username of a user. To specify multiple users, pass multiple copies of this parameter. For example,username=fred&username=barney. Required ifkeyisn't provided. Cannot be provided ifkeyis present.key- Key of a user. To specify multiple users, pass multiple copies of this parameter. For example,key=fred&key=barney. Required ifusernameisn't provided. Cannot be provided ifusernameis present.
-
BulkGetUsersMigrationOperationSpec
protected BulkGetUsersMigrationOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static BulkGetUsersMigrationOperationSpec.BulkGetUsersMigrationOperationSpecBuilder builder() -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
username
Username of a user. To specify multiple users, pass multiple copies of this parameter. For example,username=fred&username=barney. Required ifkeyisn't provided. Cannot be provided ifkeyis present. -
key
Key of a user. To specify multiple users, pass multiple copies of this parameter. For example,key=fred&key=barney. Required ifusernameisn't provided. Cannot be provided ifusernameis present. -
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
username
Username of a user. To specify multiple users, pass multiple copies of this parameter. For example,username=fred&username=barney. Required ifkeyisn't provided. Cannot be provided ifkeyis present.- Returns:
this.
-
key
Key of a user. To specify multiple users, pass multiple copies of this parameter. For example,key=fred&key=barney. Required ifusernameisn't provided. Cannot be provided ifusernameis present.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-