Class CreateProjectDetails
java.lang.Object
io.github.primelib.jira4j.restv3.model.CreateProjectDetails
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateProjectDetails
extends Object
CreateProjectDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The default assignee when creating issues for this project.static class
static enum
A predefined configuration for a project.static enum
The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CreateProjectDetails.AssigneeTypeEnum
The default assignee when creating issues for this project.protected Long
An integer value for the project's avatar.protected Long
The ID of the project's category.protected String
A brief description of the project.protected Long
The ID of the field configuration scheme for the project.protected Long
The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues.protected Long
The ID of the issue type scheme for the project.protected Long
The ID of the issue type screen scheme for the project.protected String
Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters.protected String
This parameter is deprecated because of privacy changes.protected String
The account ID of the project lead.protected String
The name of the project.protected Long
The ID of the notification scheme for the project.protected Long
The ID of the permission scheme for the project.A predefined configuration for a project.protected CreateProjectDetails.ProjectTypeKeyEnum
The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set.protected String
A link to information about this project, such as project documentationprotected Long
The ID of the workflow scheme for the project. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CreateProjectDetails
(CreateProjectDetails.AssigneeTypeEnum assigneeType, Long avatarId, Long categoryId, String description, Long fieldConfigurationScheme, Long issueSecurityScheme, Long issueTypeScheme, Long issueTypeScreenScheme, String key, String lead, String leadAccountId, String name, Long notificationScheme, Long permissionScheme, CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey, CreateProjectDetails.ProjectTypeKeyEnum projectTypeKey, String url, Long workflowScheme) Constructs a validated instance ofCreateProjectDetails
.Constructs a validated instance ofCreateProjectDetails
. -
Method Summary
Modifier and TypeMethodDescriptionThe default assignee when creating issues for this project.assigneeType
(CreateProjectDetails.AssigneeTypeEnum assigneeType) The default assignee when creating issues for this project.avatarId()
An integer value for the project's avatar.An integer value for the project's avatar.builder()
protected boolean
The ID of the project's category.categoryId
(Long categoryId) The ID of the project's category.A brief description of the project.description
(String description) A brief description of the project.boolean
The ID of the field configuration scheme for the project.fieldConfigurationScheme
(Long fieldConfigurationScheme) The ID of the field configuration scheme for the project.int
hashCode()
The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues.issueSecurityScheme
(Long issueSecurityScheme) The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues.The ID of the issue type scheme for the project.issueTypeScheme
(Long issueTypeScheme) The ID of the issue type scheme for the project.The ID of the issue type screen scheme for the project.issueTypeScreenScheme
(Long issueTypeScreenScheme) The ID of the issue type screen scheme for the project.key()
Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters.Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters.lead()
This parameter is deprecated because of privacy changes.This parameter is deprecated because of privacy changes.The account ID of the project lead.leadAccountId
(String leadAccountId) The account ID of the project lead.name()
The name of the project.The name of the project.The ID of the notification scheme for the project.notificationScheme
(Long notificationScheme) The ID of the notification scheme for the project.The ID of the permission scheme for the project.permissionScheme
(Long permissionScheme) The ID of the permission scheme for the project.A predefined configuration for a project.projectTemplateKey
(CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey) A predefined configuration for a project.The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set.projectTypeKey
(CreateProjectDetails.ProjectTypeKeyEnum projectTypeKey) The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set.toString()
url()
A link to information about this project, such as project documentationA link to information about this project, such as project documentationThe ID of the workflow scheme for the project.workflowScheme
(Long workflowScheme) The ID of the workflow scheme for the project.
-
Field Details
-
assigneeType
The default assignee when creating issues for this project. -
avatarId
An integer value for the project's avatar. -
categoryId
The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation. -
description
A brief description of the project. -
fieldConfigurationScheme
The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key. -
issueSecurityScheme
The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs. -
issueTypeScheme
The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key. -
issueTypeScreenScheme
The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key. -
key
Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters. -
lead
This parameter is deprecated because of privacy changes. UseleadAccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withleadAccountId
. -
leadAccountId
The account ID of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withlead
. -
name
The name of the project. -
notificationScheme
The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs. -
permissionScheme
The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs. -
projectTemplateKey
A predefined configuration for a project. The type of theprojectTemplateKey
must match with the type of theprojectTypeKey
. -
projectTypeKey
The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. If you don't specify the project template you have to specify the project type. -
url
A link to information about this project, such as project documentation -
workflowScheme
The ID of the workflow scheme for the project. Use the [Get all workflow schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the workflow scheme you cannot specify the project template key.
-
-
Constructor Details
-
CreateProjectDetails
Constructs a validated instance ofCreateProjectDetails
.- Parameters:
spec
- the specification to process
-
CreateProjectDetails
@Internal public CreateProjectDetails(CreateProjectDetails.AssigneeTypeEnum assigneeType, Long avatarId, Long categoryId, String description, Long fieldConfigurationScheme, Long issueSecurityScheme, Long issueTypeScheme, Long issueTypeScreenScheme, String key, String lead, String leadAccountId, String name, Long notificationScheme, Long permissionScheme, CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey, CreateProjectDetails.ProjectTypeKeyEnum projectTypeKey, String url, Long workflowScheme) Constructs a validated instance ofCreateProjectDetails
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
CreateProjectDetails(Consumer)
instead.- Parameters:
assigneeType
- The default assignee when creating issues for this project.avatarId
- An integer value for the project's avatar.categoryId
- The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation.description
- A brief description of the project.fieldConfigurationScheme
- The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key.issueSecurityScheme
- The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs.issueTypeScheme
- The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key.issueTypeScreenScheme
- The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key.key
- Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters.lead
- This parameter is deprecated because of privacy changes. UseleadAccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withleadAccountId
.leadAccountId
- The account ID of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withlead
.name
- The name of the project.notificationScheme
- The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs.permissionScheme
- The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs.projectTemplateKey
- A predefined configuration for a project. The type of theprojectTemplateKey
must match with the type of theprojectTypeKey
.projectTypeKey
- The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. If you don't specify the project template you have to specify the project type.url
- A link to information about this project, such as project documentationworkflowScheme
- The ID of the workflow scheme for the project. Use the [Get all workflow schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the workflow scheme you cannot specify the project template key.
-
CreateProjectDetails
protected CreateProjectDetails()
-
-
Method Details
-
builder
-
assigneeType
The default assignee when creating issues for this project. -
avatarId
An integer value for the project's avatar. -
categoryId
The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation. -
description
A brief description of the project. -
fieldConfigurationScheme
The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key. -
issueSecurityScheme
The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs. -
issueTypeScheme
The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key. -
issueTypeScreenScheme
The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key. -
key
Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters. -
lead
This parameter is deprecated because of privacy changes. UseleadAccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withleadAccountId
. -
leadAccountId
The account ID of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withlead
. -
name
The name of the project. -
notificationScheme
The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs. -
permissionScheme
The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs. -
projectTemplateKey
A predefined configuration for a project. The type of theprojectTemplateKey
must match with the type of theprojectTypeKey
. -
projectTypeKey
The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. If you don't specify the project template you have to specify the project type. -
url
A link to information about this project, such as project documentation -
workflowScheme
The ID of the workflow scheme for the project. Use the [Get all workflow schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the workflow scheme you cannot specify the project template key. -
assigneeType
The default assignee when creating issues for this project.- Returns:
this
.
-
avatarId
An integer value for the project's avatar.- Returns:
this
.
-
categoryId
The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation.- Returns:
this
.
-
description
A brief description of the project.- Returns:
this
.
-
fieldConfigurationScheme
The ID of the field configuration scheme for the project. Use the [Get all field configuration schemes](#api-rest-api-3-fieldconfigurationscheme-get) operation to get a list of field configuration scheme IDs. If you specify the field configuration scheme you cannot specify the project template key.- Returns:
this
.
-
issueSecurityScheme
The ID of the issue security scheme for the project, which enables you to control who can and cannot view issues. Use the [Get issue security schemes](#api-rest-api-3-issuesecurityschemes-get) resource to get all issue security scheme IDs.- Returns:
this
.
-
issueTypeScheme
The ID of the issue type scheme for the project. Use the [Get all issue type schemes](#api-rest-api-3-issuetypescheme-get) operation to get a list of issue type scheme IDs. If you specify the issue type scheme you cannot specify the project template key.- Returns:
this
.
-
issueTypeScreenScheme
The ID of the issue type screen scheme for the project. Use the [Get all issue type screen schemes](#api-rest-api-3-issuetypescreenscheme-get) operation to get a list of issue type screen scheme IDs. If you specify the issue type screen scheme you cannot specify the project template key.- Returns:
this
.
-
key
Project keys must be unique and start with an uppercase letter followed by one or more uppercase alphanumeric characters. The maximum length is 10 characters.- Returns:
this
.
-
lead
This parameter is deprecated because of privacy changes. UseleadAccountId
instead. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The user name of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withleadAccountId
.- Returns:
this
.
-
leadAccountId
The account ID of the project lead. Eitherlead
orleadAccountId
must be set when creating a project. Cannot be provided withlead
.- Returns:
this
.
-
name
The name of the project.- Returns:
this
.
-
notificationScheme
The ID of the notification scheme for the project. Use the [Get notification schemes](#api-rest-api-3-notificationscheme-get) resource to get a list of notification scheme IDs.- Returns:
this
.
-
permissionScheme
The ID of the permission scheme for the project. Use the [Get all permission schemes](#api-rest-api-3-permissionscheme-get) resource to see a list of all permission scheme IDs.- Returns:
this
.
-
projectTemplateKey
public CreateProjectDetails projectTemplateKey(CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey) A predefined configuration for a project. The type of theprojectTemplateKey
must match with the type of theprojectTypeKey
.- Returns:
this
.
-
projectTypeKey
The [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes), which defines the application-specific feature set. If you don't specify the project template you have to specify the project type.- Returns:
this
.
-
url
A link to information about this project, such as project documentation- Returns:
this
.
-
workflowScheme
The ID of the workflow scheme for the project. Use the [Get all workflow schemes](#api-rest-api-3-workflowscheme-get) operation to get a list of workflow scheme IDs. If you specify the workflow scheme you cannot specify the project template key.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-