Class GetUsersFromGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetUsersFromGroupOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetUsersFromGroupOperationSpec
extends Object
GetUsersFromGroupSpec
Specification for the GetUsersFromGroup operation.
Get users from group
-
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
GetUsersFromGroupOperationSpec
(String groupname, String groupId, Boolean includeInactiveUsers, Long startAt, Integer maxResults) Constructs a validated instance ofGetUsersFromGroupOperationSpec
.Constructs a validated instance ofGetUsersFromGroupOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
groupId()
The ID of the group.The ID of the group.@Nullable String
As a group's name can change, use ofgroupId
is recommended to identify a group.As a group's name can change, use ofgroupId
is recommended to identify a group.int
hashCode()
@Nullable Boolean
Include inactive users.includeInactiveUsers
(@Nullable Boolean includeInactiveUsers) Include inactive users.@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable Long
startAt()
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()
void
validate()
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
-
GetUsersFromGroupOperationSpec
Constructs a validated instance ofGetUsersFromGroupOperationSpec
.- Parameters:
spec
- the specification to process
-
GetUsersFromGroupOperationSpec
@Internal public GetUsersFromGroupOperationSpec(String groupname, String groupId, Boolean includeInactiveUsers, Long startAt, Integer maxResults) Constructs a validated instance ofGetUsersFromGroupOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
groupname
- As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.groupId
- The ID of the group. This parameter cannot be used with thegroupName
parameter.includeInactiveUsers
- Include inactive users.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.
-
GetUsersFromGroupOperationSpec
protected GetUsersFromGroupOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
groupname
As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter. -
includeInactiveUsers
Include inactive users. -
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. -
groupname
As a group's name can change, use ofgroupId
is recommended to identify a group. The name of the group. This parameter cannot be used with thegroupId
parameter.- Returns:
this
.
-
groupId
The ID of the group. This parameter cannot be used with thegroupName
parameter.- Returns:
this
.
-
includeInactiveUsers
public GetUsersFromGroupOperationSpec includeInactiveUsers(@Nullable @Nullable Boolean includeInactiveUsers) Include inactive users.- Returns:
this
.
-
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
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-