java.lang.Object
io.github.primelib.jira4j.restv2.model.Project

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

    • archived

      protected Boolean archived
      Whether the project is archived.
    • archivedBy

      protected ProjectArchivedBy archivedBy
    • archivedDate

      protected OffsetDateTime archivedDate
      The date when the project was archived.
    • assigneeType

      protected Project.AssigneeTypeEnum assigneeType
      The default assignee when creating issues for this project.
    • avatarUrls

      protected ProjectAvatarUrls avatarUrls
    • components

      protected List<ProjectComponent> components
      List of the components contained in the project.
    • deleted

      protected Boolean deleted
      Whether the project is marked as deleted.
    • deletedBy

      protected ProjectDeletedBy deletedBy
    • deletedDate

      protected OffsetDateTime deletedDate
      The date when the project was marked as deleted.
    • description

      protected String description
      A brief description of the project.
    • email

      protected String email
      An email address associated with the project.
    • expand

      protected String expand
      Expand options that include additional project details in the response.
    • favourite

      protected Boolean favourite
      Whether the project is selected as a favorite.
    • id

      protected String id
      The ID of the project.
    • insight

      protected ProjectInsight insight
    • isPrivate

      protected Boolean isPrivate
      Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues.
    • issueTypeHierarchy

      protected ProjectIssueTypeHierarchy issueTypeHierarchy
    • issueTypes

      protected List<IssueTypeDetails> issueTypes
      List of the issue types available in the project.
    • key

      protected String key
      The key of the project.
    • landingPageInfo

      protected ProjectLandingPageInfo landingPageInfo
    • lead

      protected ProjectLead lead
    • name

      protected String name
      The name of the project.
    • permissions

      protected ProjectPermissions permissions
    • projectCategory

      protected ProjectProjectCategory projectCategory
    • projectTypeKey

      protected Project.ProjectTypeKeyEnum projectTypeKey
      The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.
    • properties

      protected Map<String,Object> properties
      Map of project properties
    • retentionTillDate

      protected OffsetDateTime retentionTillDate
      The date when the project is deleted permanently.
    • roles

      protected Map<String,URI> roles
      The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-2-role-post).
    • self

      protected URI self
      The URL of the project details.
    • simplified

      protected Boolean simplified
      Whether the project is simplified.
    • style

      protected Project.StyleEnum style
      The type of the project.
    • url

      protected String url
      A link to information about this project, such as project documentation.
    • uuid

      protected UUID uuid
      Unique ID for next-gen projects.
    • versions

      protected List<Version> versions
      The versions defined in the project. For more information, see [Create version](#api-rest-api-2-version-post).
  • Constructor Details

    • Project

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

      @Internal public Project(Boolean archived, ProjectArchivedBy archivedBy, OffsetDateTime archivedDate, Project.AssigneeTypeEnum assigneeType, ProjectAvatarUrls avatarUrls, List<ProjectComponent> components, Boolean deleted, ProjectDeletedBy deletedBy, OffsetDateTime deletedDate, String description, String email, String expand, Boolean favourite, String id, ProjectInsight insight, Boolean isPrivate, ProjectIssueTypeHierarchy issueTypeHierarchy, List<IssueTypeDetails> issueTypes, String key, ProjectLandingPageInfo landingPageInfo, ProjectLead lead, String name, ProjectPermissions permissions, ProjectProjectCategory projectCategory, Project.ProjectTypeKeyEnum projectTypeKey, Map<String,Object> properties, OffsetDateTime retentionTillDate, Map<String,URI> roles, URI self, Boolean simplified, Project.StyleEnum style, String url, UUID uuid, List<Version> versions)
      Constructs a validated instance of Project.

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

      Parameters:
      archived - Whether the project is archived.
      archivedBy - archivedBy
      archivedDate - The date when the project was archived.
      assigneeType - The default assignee when creating issues for this project.
      avatarUrls - avatarUrls
      components - List of the components contained in the project.
      deleted - Whether the project is marked as deleted.
      deletedBy - deletedBy
      deletedDate - The date when the project was marked as deleted.
      description - A brief description of the project.
      email - An email address associated with the project.
      expand - Expand options that include additional project details in the response.
      favourite - Whether the project is selected as a favorite.
      id - The ID of the project.
      insight - insight
      isPrivate - Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues.
      issueTypeHierarchy - issueTypeHierarchy
      issueTypes - List of the issue types available in the project.
      key - The key of the project.
      landingPageInfo - landingPageInfo
      lead - lead
      name - The name of the project.
      permissions - permissions
      projectCategory - projectCategory
      projectTypeKey - The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.
      properties - Map of project properties
      retentionTillDate - The date when the project is deleted permanently.
      roles - The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-2-role-post).
      self - The URL of the project details.
      simplified - Whether the project is simplified.
      style - The type of the project.
      url - A link to information about this project, such as project documentation.
      uuid - Unique ID for next-gen projects.
      versions - The versions defined in the project. For more information, see [Create version](#api-rest-api-2-version-post).
    • Project

      protected Project()
  • Method Details

    • builder

      public static Project.ProjectBuilder builder()
    • archived

      public Boolean archived()
      Whether the project is archived.
    • archivedBy

      public ProjectArchivedBy archivedBy()
    • archivedDate

      public OffsetDateTime archivedDate()
      The date when the project was archived.
    • assigneeType

      public Project.AssigneeTypeEnum assigneeType()
      The default assignee when creating issues for this project.
    • avatarUrls

      public ProjectAvatarUrls avatarUrls()
    • components

      public List<ProjectComponent> components()
      List of the components contained in the project.
    • deleted

      public Boolean deleted()
      Whether the project is marked as deleted.
    • deletedBy

      public ProjectDeletedBy deletedBy()
    • deletedDate

      public OffsetDateTime deletedDate()
      The date when the project was marked as deleted.
    • description

      public String description()
      A brief description of the project.
    • email

      public String email()
      An email address associated with the project.
    • expand

      public String expand()
      Expand options that include additional project details in the response.
    • favourite

      public Boolean favourite()
      Whether the project is selected as a favorite.
    • id

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

      public ProjectInsight insight()
    • isPrivate

      public Boolean isPrivate()
      Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues.
    • issueTypeHierarchy

      public ProjectIssueTypeHierarchy issueTypeHierarchy()
    • issueTypes

      public List<IssueTypeDetails> issueTypes()
      List of the issue types available in the project.
    • key

      public String key()
      The key of the project.
    • landingPageInfo

      public ProjectLandingPageInfo landingPageInfo()
    • lead

      public ProjectLead lead()
    • name

      public String name()
      The name of the project.
    • permissions

      public ProjectPermissions permissions()
    • projectCategory

      public ProjectProjectCategory projectCategory()
    • projectTypeKey

      public Project.ProjectTypeKeyEnum projectTypeKey()
      The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.
    • properties

      public Map<String,Object> properties()
      Map of project properties
    • retentionTillDate

      public OffsetDateTime retentionTillDate()
      The date when the project is deleted permanently.
    • roles

      public Map<String,URI> roles()
      The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-2-role-post).
    • self

      public URI self()
      The URL of the project details.
    • simplified

      public Boolean simplified()
      Whether the project is simplified.
    • style

      public Project.StyleEnum style()
      The type of the project.
    • url

      public String url()
      A link to information about this project, such as project documentation.
    • uuid

      public UUID uuid()
      Unique ID for next-gen projects.
    • versions

      public List<Version> versions()
      The versions defined in the project. For more information, see [Create version](#api-rest-api-2-version-post).
    • archived

      public Project archived(Boolean archived)
      Whether the project is archived.
      Returns:
      this.
    • archivedBy

      public Project archivedBy(ProjectArchivedBy archivedBy)
      Returns:
      this.
    • archivedDate

      public Project archivedDate(OffsetDateTime archivedDate)
      The date when the project was archived.
      Returns:
      this.
    • assigneeType

      public Project assigneeType(Project.AssigneeTypeEnum assigneeType)
      The default assignee when creating issues for this project.
      Returns:
      this.
    • avatarUrls

      public Project avatarUrls(ProjectAvatarUrls avatarUrls)
      Returns:
      this.
    • components

      public Project components(List<ProjectComponent> components)
      List of the components contained in the project.
      Returns:
      this.
    • deleted

      public Project deleted(Boolean deleted)
      Whether the project is marked as deleted.
      Returns:
      this.
    • deletedBy

      public Project deletedBy(ProjectDeletedBy deletedBy)
      Returns:
      this.
    • deletedDate

      public Project deletedDate(OffsetDateTime deletedDate)
      The date when the project was marked as deleted.
      Returns:
      this.
    • description

      public Project description(String description)
      A brief description of the project.
      Returns:
      this.
    • email

      public Project email(String email)
      An email address associated with the project.
      Returns:
      this.
    • expand

      public Project expand(String expand)
      Expand options that include additional project details in the response.
      Returns:
      this.
    • favourite

      public Project favourite(Boolean favourite)
      Whether the project is selected as a favorite.
      Returns:
      this.
    • id

      public Project id(String id)
      The ID of the project.
      Returns:
      this.
    • insight

      public Project insight(ProjectInsight insight)
      Returns:
      this.
    • isPrivate

      public Project isPrivate(Boolean isPrivate)
      Whether the project is private from the user's perspective. This means the user can't see the project or any associated issues.
      Returns:
      this.
    • issueTypeHierarchy

      public Project issueTypeHierarchy(ProjectIssueTypeHierarchy issueTypeHierarchy)
      Returns:
      this.
    • issueTypes

      public Project issueTypes(List<IssueTypeDetails> issueTypes)
      List of the issue types available in the project.
      Returns:
      this.
    • key

      public Project key(String key)
      The key of the project.
      Returns:
      this.
    • landingPageInfo

      public Project landingPageInfo(ProjectLandingPageInfo landingPageInfo)
      Returns:
      this.
    • lead

      public Project lead(ProjectLead lead)
      Returns:
      this.
    • name

      public Project name(String name)
      The name of the project.
      Returns:
      this.
    • permissions

      public Project permissions(ProjectPermissions permissions)
      Returns:
      this.
    • projectCategory

      public Project projectCategory(ProjectProjectCategory projectCategory)
      Returns:
      this.
    • projectTypeKey

      public Project projectTypeKey(Project.ProjectTypeKeyEnum projectTypeKey)
      The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the project.
      Returns:
      this.
    • properties

      public Project properties(Map<String,Object> properties)
      Map of project properties
      Returns:
      this.
    • retentionTillDate

      public Project retentionTillDate(OffsetDateTime retentionTillDate)
      The date when the project is deleted permanently.
      Returns:
      this.
    • roles

      public Project roles(Map<String,URI> roles)
      The name and self URL for each role defined in the project. For more information, see [Create project role](#api-rest-api-2-role-post).
      Returns:
      this.
    • self

      public Project self(URI self)
      The URL of the project details.
      Returns:
      this.
    • simplified

      public Project simplified(Boolean simplified)
      Whether the project is simplified.
      Returns:
      this.
    • style

      public Project style(Project.StyleEnum style)
      The type of the project.
      Returns:
      this.
    • url

      public Project url(String url)
      A link to information about this project, such as project documentation.
      Returns:
      this.
    • uuid

      public Project uuid(UUID uuid)
      Unique ID for next-gen projects.
      Returns:
      this.
    • versions

      public Project versions(List<Version> versions)
      The versions defined in the project. For more information, see [Create version](#api-rest-api-2-version-post).
      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