Class VersionMoveBean

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

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

    • after

      protected URI after
      The URL (self link) of the version after which to place the moved version. Cannot be used with position.
    • position

      protected VersionMoveBean.PositionEnum position
      An absolute position in which to place the moved version. Cannot be used with after.
  • Constructor Details

    • VersionMoveBean

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

      @Internal public VersionMoveBean(URI after, VersionMoveBean.PositionEnum position)
      Constructs a validated instance of VersionMoveBean.

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

      Parameters:
      after - The URL (self link) of the version after which to place the moved version. Cannot be used with position.
      position - An absolute position in which to place the moved version. Cannot be used with after.
    • VersionMoveBean

      protected VersionMoveBean()
  • Method Details

    • builder

      public static VersionMoveBean.VersionMoveBeanBuilder builder()
    • after

      public URI after()
      The URL (self link) of the version after which to place the moved version. Cannot be used with position.
    • position

      public VersionMoveBean.PositionEnum position()
      An absolute position in which to place the moved version. Cannot be used with after.
    • after

      public VersionMoveBean after(URI after)
      The URL (self link) of the version after which to place the moved version. Cannot be used with position.
      Returns:
      this.
    • position

      public VersionMoveBean position(VersionMoveBean.PositionEnum position)
      An absolute position in which to place the moved version. Cannot be used with after.
      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