Class OrderOfCustomFieldOptions

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

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

    • after

      protected String after
      The ID of the custom field option or cascading option to place the moved options after. Required if position isn't provided.
    • customFieldOptionIds

      protected List<String> customFieldOptionIds
      A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.
    • position

      The position the custom field options should be moved to. Required if after isn't provided.
  • Constructor Details

    • OrderOfCustomFieldOptions

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

      @Internal public OrderOfCustomFieldOptions(String after, List<String> customFieldOptionIds, OrderOfCustomFieldOptions.PositionEnum position)
      Constructs a validated instance of OrderOfCustomFieldOptions.

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

      Parameters:
      after - The ID of the custom field option or cascading option to place the moved options after. Required if position isn't provided.
      customFieldOptionIds - A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.
      position - The position the custom field options should be moved to. Required if after isn't provided.
    • OrderOfCustomFieldOptions

      protected OrderOfCustomFieldOptions()
  • Method Details

    • builder

    • after

      public String after()
      The ID of the custom field option or cascading option to place the moved options after. Required if position isn't provided.
    • customFieldOptionIds

      public List<String> customFieldOptionIds()
      A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.
    • position

      The position the custom field options should be moved to. Required if after isn't provided.
    • after

      public OrderOfCustomFieldOptions after(String after)
      The ID of the custom field option or cascading option to place the moved options after. Required if position isn't provided.
      Returns:
      this.
    • customFieldOptionIds

      public OrderOfCustomFieldOptions customFieldOptionIds(List<String> customFieldOptionIds)
      A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.
      Returns:
      this.
    • position

      The position the custom field options should be moved to. Required if after isn't provided.
      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