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

    • assigneeType

      protected CreateProjectDetails.AssigneeTypeEnum assigneeType
      The default assignee when creating issues for this project.
    • avatarId

      protected Long avatarId
      An integer value for the project's avatar.
    • categoryId

      protected Long 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

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

      protected Long 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

      protected Long 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

      protected Long 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

      protected Long 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

      protected String 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

      protected String lead
      This parameter is deprecated because of privacy changes. Use leadAccountId 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. Either lead or leadAccountId must be set when creating a project. Cannot be provided with leadAccountId.
    • leadAccountId

      protected String leadAccountId
      The account ID of the project lead. Either lead or leadAccountId must be set when creating a project. Cannot be provided with lead.
    • name

      protected String name
      The name of the project.
    • notificationScheme

      protected Long 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

      protected Long 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

      protected CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey
      A predefined configuration for a project. The type of the projectTemplateKey must match with the type of the projectTypeKey.
    • projectTypeKey

      protected CreateProjectDetails.ProjectTypeKeyEnum 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

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

      protected Long 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

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

      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. Use leadAccountId 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. Either lead or leadAccountId must be set when creating a project. Cannot be provided with leadAccountId.
      leadAccountId - The account ID of the project lead. Either lead or leadAccountId must be set when creating a project. Cannot be provided with lead.
      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 the projectTemplateKey must match with the type of the projectTypeKey.
      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.
    • CreateProjectDetails

      protected CreateProjectDetails()
  • Method Details

    • builder

    • assigneeType

      The default assignee when creating issues for this project.
    • avatarId

      public Long avatarId()
      An integer value for the project's avatar.
    • categoryId

      public Long 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

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

      public Long 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

      public Long 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

      public Long 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

      public Long 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

      public String 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

      public String lead()
      This parameter is deprecated because of privacy changes. Use leadAccountId 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. Either lead or leadAccountId must be set when creating a project. Cannot be provided with leadAccountId.
    • leadAccountId

      public String leadAccountId()
      The account ID of the project lead. Either lead or leadAccountId must be set when creating a project. Cannot be provided with lead.
    • name

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

      public Long 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

      public Long 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

      public CreateProjectDetails.ProjectTemplateKeyEnum projectTemplateKey()
      A predefined configuration for a project. The type of the projectTemplateKey must match with the type of the projectTypeKey.
    • projectTypeKey

      public CreateProjectDetails.ProjectTypeKeyEnum 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

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

      public Long 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

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

      public CreateProjectDetails avatarId(Long avatarId)
      An integer value for the project's avatar.
      Returns:
      this.
    • categoryId

      public CreateProjectDetails categoryId(Long 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

      public CreateProjectDetails description(String description)
      A brief description of the project.
      Returns:
      this.
    • fieldConfigurationScheme

      public CreateProjectDetails fieldConfigurationScheme(Long 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

      public CreateProjectDetails issueSecurityScheme(Long 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

      public CreateProjectDetails issueTypeScheme(Long 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

      public CreateProjectDetails issueTypeScreenScheme(Long 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

      public CreateProjectDetails key(String 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

      public CreateProjectDetails lead(String lead)
      This parameter is deprecated because of privacy changes. Use leadAccountId 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. Either lead or leadAccountId must be set when creating a project. Cannot be provided with leadAccountId.
      Returns:
      this.
    • leadAccountId

      public CreateProjectDetails leadAccountId(String leadAccountId)
      The account ID of the project lead. Either lead or leadAccountId must be set when creating a project. Cannot be provided with lead.
      Returns:
      this.
    • name

      public CreateProjectDetails name(String name)
      The name of the project.
      Returns:
      this.
    • notificationScheme

      public CreateProjectDetails notificationScheme(Long 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

      public CreateProjectDetails permissionScheme(Long 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 the projectTemplateKey must match with the type of the projectTypeKey.
      Returns:
      this.
    • projectTypeKey

      public CreateProjectDetails projectTypeKey(CreateProjectDetails.ProjectTypeKeyEnum 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

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

      public CreateProjectDetails workflowScheme(Long 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

      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