Class GetGroupOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetGroupOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetGroupOperationSpec
extends Object
GetGroupSpec
Specification for the GetGroup operation.
Get group
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetGroupOperationSpec(String groupname, String groupId, String expand) Constructs a validated instance ofGetGroupOperationSpec.Constructs a validated instance ofGetGroupOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()List of fields to expand.List of fields to expand.@Nullable StringgroupId()The ID of the group.The ID of the group.@Nullable StringAs a group's name can change, use ofgroupIdis recommended to identify a group.As a group's name can change, use ofgroupIdis recommended to identify a group.inthashCode()toString()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
-
GetGroupOperationSpec
Constructs a validated instance ofGetGroupOperationSpec.- Parameters:
spec- the specification to process
-
GetGroupOperationSpec
Constructs a validated instance ofGetGroupOperationSpec.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 ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.groupId- The ID of the group. This parameter cannot be used with thegroupNameparameter.expand- List of fields to expand.
-
GetGroupOperationSpec
protected GetGroupOperationSpec()
-
-
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 ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter. -
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter. -
expand
List of fields to expand. -
groupname
As a group's name can change, use ofgroupIdis recommended to identify a group. The name of the group. This parameter cannot be used with thegroupIdparameter.- Returns:
this.
-
groupId
The ID of the group. This parameter cannot be used with thegroupNameparameter.- Returns:
this.
-
expand
List of fields to expand.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-