Class GetSecurityLevelsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetSecurityLevelsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetSecurityLevelsOperationSpec
extends Object
GetSecurityLevelsSpec
Specification for the GetSecurityLevels operation.
Get issue security levels
-
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
ConstructorsModifierConstructorDescriptionprotectedGetSecurityLevelsOperationSpec(String startAt, String maxResults, Set<String> id, Set<String> schemeId, Boolean onlyDefault) Constructs a validated instance ofGetSecurityLevelsOperationSpec.Constructs a validated instance ofGetSecurityLevelsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()id()The list of issue security scheme level IDs.The list of issue security scheme level IDs.@Nullable StringThe maximum number of items to return per page.maxResults(@Nullable String maxResults) The maximum number of items to return per page.@Nullable BooleanWhen set to true, returns multiple default levels for each security scheme containing a default.onlyDefault(@Nullable Boolean onlyDefault) When set to true, returns multiple default levels for each security scheme containing a default.schemeId()The list of issue security scheme IDs.The list of issue security scheme IDs.@Nullable StringstartAt()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()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
-
GetSecurityLevelsOperationSpec
Constructs a validated instance ofGetSecurityLevelsOperationSpec.- Parameters:
spec- the specification to process
-
GetSecurityLevelsOperationSpec
@Internal public GetSecurityLevelsOperationSpec(String startAt, String maxResults, Set<String> id, Set<String> schemeId, Boolean onlyDefault) Constructs a validated instance ofGetSecurityLevelsOperationSpec.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.id- The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand:id=10000&id=10001.schemeId- The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand:schemeId=10000&schemeId=10001.onlyDefault- When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.
-
GetSecurityLevelsOperationSpec
protected GetSecurityLevelsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
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. -
id
The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand:id=10000&id=10001. -
schemeId
The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand:schemeId=10000&schemeId=10001. -
onlyDefault
When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false. -
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.
-
id
The list of issue security scheme level IDs. To include multiple issue security levels, separate IDs with an ampersand:id=10000&id=10001.- Returns:
this.
-
schemeId
The list of issue security scheme IDs. To include multiple issue security schemes, separate IDs with an ampersand:schemeId=10000&schemeId=10001.- Returns:
this.
-
onlyDefault
When set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-