Klasse UpdatePageRequestVersion

java.lang.Object
io.github.primelib.confluence4j.rest.v2.model.UpdatePageRequestVersion

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UpdatePageRequestVersion extends Object
UpdatePageRequestVersion
  • Felddetails

    • number

      protected Integer number
      The new version of the updated page. Set this to the current version number plus one, unless you are updating the status to 'draft' which requires a version number of 1. If you don't know the current version number, use Get page by id.
    • message

      protected String message
      An optional message to be stored with the version.
  • Konstruktordetails

    • UpdatePageRequestVersion

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

      @Internal public UpdatePageRequestVersion(Integer number, String message)
      Constructs a validated instance of UpdatePageRequestVersion.

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

      Parameter:
      number - The new version of the updated page. Set this to the current version number plus one, unless you are updating the status to 'draft' which requires a version number of 1. If you don't know the current version number, use Get page by id.
      message - An optional message to be stored with the version.
    • UpdatePageRequestVersion

      protected UpdatePageRequestVersion()
  • Methodendetails

    • builder

    • number

      public Integer number()
      The new version of the updated page. Set this to the current version number plus one, unless you are updating the status to 'draft' which requires a version number of 1. If you don't know the current version number, use Get page by id.
    • message

      public String message()
      An optional message to be stored with the version.
    • number

      public UpdatePageRequestVersion number(Integer number)
      The new version of the updated page. Set this to the current version number plus one, unless you are updating the status to 'draft' which requires a version number of 1. If you don't know the current version number, use Get page by id.
      Gibt zurück:
      this.
    • message

      public UpdatePageRequestVersion message(String message)
      An optional message to be stored with the version.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object