Class ProjectFeature
java.lang.Object
io.github.primelib.jira4j.restv3.model.ProjectFeature
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ProjectFeature
extends Object
ProjectFeature
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
The state of the feature. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The key of the feature.protected String
URI for the image representing the feature.protected String
Localized display description for the feature.protected String
Localized display name for the feature.List of keys of the features required to enable the feature.protected Long
The ID of the project.protected ProjectFeature.StateEnum
The state of the feature.protected Boolean
Whether the state of the feature can be updated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProjectFeature
(String feature, String imageUri, String localisedDescription, String localisedName, List<String> prerequisites, Long projectId, ProjectFeature.StateEnum state, Boolean toggleLocked) Constructs a validated instance ofProjectFeature
.ProjectFeature
(Consumer<ProjectFeature> spec) Constructs a validated instance ofProjectFeature
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
feature()
The key of the feature.The key of the feature.int
hashCode()
imageUri()
URI for the image representing the feature.URI for the image representing the feature.Localized display description for the feature.localisedDescription
(String localisedDescription) Localized display description for the feature.Localized display name for the feature.localisedName
(String localisedName) Localized display name for the feature.List of keys of the features required to enable the feature.prerequisites
(List<String> prerequisites) List of keys of the features required to enable the feature.The ID of the project.The ID of the project.state()
The state of the feature.state
(ProjectFeature.StateEnum state) The state of the feature.Whether the state of the feature can be updated.toggleLocked
(Boolean toggleLocked) Whether the state of the feature can be updated.toString()
-
Field Details
-
feature
The key of the feature. -
imageUri
URI for the image representing the feature. -
localisedDescription
Localized display description for the feature. -
localisedName
Localized display name for the feature. -
prerequisites
List of keys of the features required to enable the feature. -
projectId
The ID of the project. -
state
The state of the feature. When updating the state of a feature, only ENABLED and DISABLED are supported. Responses can contain all values -
toggleLocked
Whether the state of the feature can be updated.
-
-
Constructor Details
-
ProjectFeature
Constructs a validated instance ofProjectFeature
.- Parameters:
spec
- the specification to process
-
ProjectFeature
@Internal public ProjectFeature(String feature, String imageUri, String localisedDescription, String localisedName, List<String> prerequisites, Long projectId, ProjectFeature.StateEnum state, Boolean toggleLocked) Constructs a validated instance ofProjectFeature
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ProjectFeature(Consumer)
instead.- Parameters:
feature
- The key of the feature.imageUri
- URI for the image representing the feature.localisedDescription
- Localized display description for the feature.localisedName
- Localized display name for the feature.prerequisites
- List of keys of the features required to enable the feature.projectId
- The ID of the project.state
- The state of the feature. When updating the state of a feature, only ENABLED and DISABLED are supported. Responses can contain all valuestoggleLocked
- Whether the state of the feature can be updated.
-
ProjectFeature
protected ProjectFeature()
-
-
Method Details
-
builder
-
feature
The key of the feature. -
imageUri
URI for the image representing the feature. -
localisedDescription
Localized display description for the feature. -
localisedName
Localized display name for the feature. -
prerequisites
List of keys of the features required to enable the feature. -
projectId
The ID of the project. -
state
The state of the feature. When updating the state of a feature, only ENABLED and DISABLED are supported. Responses can contain all values -
toggleLocked
Whether the state of the feature can be updated. -
feature
The key of the feature.- Returns:
this
.
-
imageUri
URI for the image representing the feature.- Returns:
this
.
-
localisedDescription
Localized display description for the feature.- Returns:
this
.
-
localisedName
Localized display name for the feature.- Returns:
this
.
-
prerequisites
List of keys of the features required to enable the feature.- Returns:
this
.
-
projectId
The ID of the project.- Returns:
this
.
-
state
The state of the feature. When updating the state of a feature, only ENABLED and DISABLED are supported. Responses can contain all values- Returns:
this
.
-
toggleLocked
Whether the state of the feature can be updated.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-