Class Hierarchy

java.lang.Object
io.github.primelib.jira4j.restv3.model.Hierarchy

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Hierarchy extends Object
Hierarchy
  • Field Details

    • baseLevelId

      protected Long baseLevelId
      The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/).
    • levels

      protected List<SimplifiedHierarchyLevel> levels
      Details about the hierarchy level.
  • Constructor Details

    • Hierarchy

      public Hierarchy(Consumer<Hierarchy> spec)
      Constructs a validated instance of Hierarchy.
      Parameters:
      spec - the specification to process
    • Hierarchy

      @Internal public Hierarchy(Long baseLevelId, List<SimplifiedHierarchyLevel> levels)
      Constructs a validated instance of Hierarchy.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Hierarchy(Consumer) instead.

      Parameters:
      baseLevelId - The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/).
      levels - Details about the hierarchy level.
    • Hierarchy

      protected Hierarchy()
  • Method Details

    • builder

      public static Hierarchy.HierarchyBuilder builder()
    • baseLevelId

      public Long baseLevelId()
      The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/).
    • levels

      public List<SimplifiedHierarchyLevel> levels()
      Details about the hierarchy level.
    • baseLevelId

      public Hierarchy baseLevelId(Long baseLevelId)
      The ID of the base level. This property is deprecated, see [Change notice: Removing hierarchy level IDs from next-gen APIs](https://developer.atlassian.com/cloud/jira/platform/change-notice-removing-hierarchy-level-ids-from-next-gen-apis/).
      Returns:
      this.
    • levels

      public Hierarchy levels(List<SimplifiedHierarchyLevel> levels)
      Details about the hierarchy level.
      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