Class CreateCustomFieldContext

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

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

    • description

      protected String description
      The description of the context.
    • id

      protected String id
      The ID of the context.
    • issueTypeIds

      protected List<String> issueTypeIds
      The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.
    • name

      protected String name
      The name of the context.
    • projectIds

      protected List<String> projectIds
      The list of project IDs associated with the context. If the list is empty, the context is global.
  • Constructor Details

    • CreateCustomFieldContext

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

      @Internal public CreateCustomFieldContext(String description, String id, List<String> issueTypeIds, String name, List<String> projectIds)
      Constructs a validated instance of CreateCustomFieldContext.

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

      Parameters:
      description - The description of the context.
      id - The ID of the context.
      issueTypeIds - The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.
      name - The name of the context.
      projectIds - The list of project IDs associated with the context. If the list is empty, the context is global.
    • CreateCustomFieldContext

      protected CreateCustomFieldContext()
  • Method Details

    • builder

    • description

      public String description()
      The description of the context.
    • id

      public String id()
      The ID of the context.
    • issueTypeIds

      public List<String> issueTypeIds()
      The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.
    • name

      public String name()
      The name of the context.
    • projectIds

      public List<String> projectIds()
      The list of project IDs associated with the context. If the list is empty, the context is global.
    • description

      public CreateCustomFieldContext description(String description)
      The description of the context.
      Returns:
      this.
    • id

      The ID of the context.
      Returns:
      this.
    • issueTypeIds

      public CreateCustomFieldContext issueTypeIds(List<String> issueTypeIds)
      The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.
      Returns:
      this.
    • name

      public CreateCustomFieldContext name(String name)
      The name of the context.
      Returns:
      this.
    • projectIds

      public CreateCustomFieldContext projectIds(List<String> projectIds)
      The list of project IDs associated with the context. If the list is empty, the context is global.
      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