Class ProjectCategory

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

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

    • description

      protected String description
      The description of the project category.
    • id

      protected String id
      The ID of the project category.
    • name

      protected String name
      The name of the project category. Required on create, optional on update.
    • self

      protected URI self
      The URL of the project category.
  • Constructor Details

    • ProjectCategory

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

      @Internal public ProjectCategory(String description, String id, String name, URI self)
      Constructs a validated instance of ProjectCategory.

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

      Parameters:
      description - The description of the project category.
      id - The ID of the project category.
      name - The name of the project category. Required on create, optional on update.
      self - The URL of the project category.
    • ProjectCategory

      protected ProjectCategory()
  • Method Details

    • builder

      public static ProjectCategory.ProjectCategoryBuilder builder()
    • description

      public String description()
      The description of the project category.
    • id

      public String id()
      The ID of the project category.
    • name

      public String name()
      The name of the project category. Required on create, optional on update.
    • self

      public URI self()
      The URL of the project category.
    • description

      public ProjectCategory description(String description)
      The description of the project category.
      Returns:
      this.
    • id

      public ProjectCategory id(String id)
      The ID of the project category.
      Returns:
      this.
    • name

      public ProjectCategory name(String name)
      The name of the project category. Required on create, optional on update.
      Returns:
      this.
    • self

      public ProjectCategory self(URI self)
      The URL of the project category.
      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