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
  • Field Details

    • feature

      protected String feature
      The key of the feature.
    • imageUri

      protected String imageUri
      URI for the image representing the feature.
    • localisedDescription

      protected String localisedDescription
      Localized display description for the feature.
    • localisedName

      protected String localisedName
      Localized display name for the feature.
    • prerequisites

      protected List<String> prerequisites
      List of keys of the features required to enable the feature.
    • projectId

      protected Long projectId
      The ID of the project.
    • state

      protected ProjectFeature.StateEnum 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

      protected Boolean toggleLocked
      Whether the state of the feature can be updated.
  • Constructor Details

    • ProjectFeature

      public ProjectFeature(Consumer<ProjectFeature> spec)
      Constructs a validated instance of ProjectFeature.
      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 of ProjectFeature.

      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 values
      toggleLocked - Whether the state of the feature can be updated.
    • ProjectFeature

      protected ProjectFeature()
  • Method Details

    • builder

      public static ProjectFeature.ProjectFeatureBuilder builder()
    • feature

      public String feature()
      The key of the feature.
    • imageUri

      public String imageUri()
      URI for the image representing the feature.
    • localisedDescription

      public String localisedDescription()
      Localized display description for the feature.
    • localisedName

      public String localisedName()
      Localized display name for the feature.
    • prerequisites

      public List<String> prerequisites()
      List of keys of the features required to enable the feature.
    • projectId

      public Long projectId()
      The ID of the project.
    • state

      public ProjectFeature.StateEnum 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

      public Boolean toggleLocked()
      Whether the state of the feature can be updated.
    • feature

      public ProjectFeature feature(String feature)
      The key of the feature.
      Returns:
      this.
    • imageUri

      public ProjectFeature imageUri(String imageUri)
      URI for the image representing the feature.
      Returns:
      this.
    • localisedDescription

      public ProjectFeature localisedDescription(String localisedDescription)
      Localized display description for the feature.
      Returns:
      this.
    • localisedName

      public ProjectFeature localisedName(String localisedName)
      Localized display name for the feature.
      Returns:
      this.
    • prerequisites

      public ProjectFeature prerequisites(List<String> prerequisites)
      List of keys of the features required to enable the feature.
      Returns:
      this.
    • projectId

      public ProjectFeature projectId(Long 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

      public ProjectFeature toggleLocked(Boolean toggleLocked)
      Whether the state of the feature can be updated.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object