Klasse UpdateBlogPostRequestVersion

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

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

    • number

      protected Integer number
      The new version number of the updated blog post. 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 blog post by id.
    • message

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

    • UpdateBlogPostRequestVersion

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

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

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

      Parameter:
      number - The new version number of the updated blog post. 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 blog post by id.
      message - An optional message to be stored with the version.
    • UpdateBlogPostRequestVersion

      protected UpdateBlogPostRequestVersion()
  • Methodendetails

    • builder

    • number

      public Integer number()
      The new version number of the updated blog post. 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 blog post by id.
    • message

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

      public UpdateBlogPostRequestVersion number(Integer number)
      The new version number of the updated blog post. 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 blog post by id.
      Gibt zurück:
      this.
    • message

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