Klasse UpdatePageRequest

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

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

    • id

      protected String id
      Id of the page.
    • status

      protected UpdatePageRequest.StatusEnum status
      The updated status of the page. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
    • title

      protected String title
      Title of the page.
    • spaceId

      protected Object spaceId
      ID of the containing space. This currently **does not support moving the page to a different space**.
    • parentId

      protected Object parentId
      ID of the parent page. This allows the page to be moved under a different parent within the same space.
    • ownerId

      protected Object ownerId
      Account ID of the page owner. This allows page ownership to be transferred to another user.
    • body

      protected CreatePageRequestBody body
    • version

      protected UpdatePageRequestVersion version
  • Konstruktordetails

    • UpdatePageRequest

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

      @Internal public UpdatePageRequest(String id, UpdatePageRequest.StatusEnum status, String title, Object spaceId, Object parentId, Object ownerId, CreatePageRequestBody body, UpdatePageRequestVersion version)
      Constructs a validated instance of UpdatePageRequest.

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

      Parameter:
      id - Id of the page.
      status - The updated status of the page. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
      title - Title of the page.
      spaceId - ID of the containing space. This currently **does not support moving the page to a different space**.
      parentId - ID of the parent page. This allows the page to be moved under a different parent within the same space.
      ownerId - Account ID of the page owner. This allows page ownership to be transferred to another user.
      body - body
      version - version
    • UpdatePageRequest

      protected UpdatePageRequest()
  • Methodendetails

    • builder

    • id

      public String id()
      Id of the page.
    • status

      The updated status of the page. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
    • title

      public String title()
      Title of the page.
    • spaceId

      public Object spaceId()
      ID of the containing space. This currently **does not support moving the page to a different space**.
    • parentId

      public Object parentId()
      ID of the parent page. This allows the page to be moved under a different parent within the same space.
    • ownerId

      public Object ownerId()
      Account ID of the page owner. This allows page ownership to be transferred to another user.
    • body

      public CreatePageRequestBody body()
    • version

      public UpdatePageRequestVersion version()
    • id

      public UpdatePageRequest id(String id)
      Id of the page.
      Gibt zurück:
      this.
    • status

      The updated status of the page. Note, if you change the status of a page from 'current' to 'draft' and it has an existing draft, the existing draft will be deleted in favor of the updated draft.
      Gibt zurück:
      this.
    • title

      public UpdatePageRequest title(String title)
      Title of the page.
      Gibt zurück:
      this.
    • spaceId

      public UpdatePageRequest spaceId(Object spaceId)
      ID of the containing space. This currently **does not support moving the page to a different space**.
      Gibt zurück:
      this.
    • parentId

      public UpdatePageRequest parentId(Object parentId)
      ID of the parent page. This allows the page to be moved under a different parent within the same space.
      Gibt zurück:
      this.
    • ownerId

      public UpdatePageRequest ownerId(Object ownerId)
      Account ID of the page owner. This allows page ownership to be transferred to another user.
      Gibt zurück:
      this.
    • body

      Gibt zurück:
      this.
    • version

      public UpdatePageRequest version(UpdatePageRequestVersion 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