Class ContentStateResponse

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentStateResponse

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

    • contentState

      protected ContentState contentState
    • lastUpdated

      protected String lastUpdated
      Timestamp of last publish event where content state changed
  • Constructor Details

    • ContentStateResponse

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

      @Internal public ContentStateResponse(ContentState contentState, String lastUpdated)
      Constructs a validated instance of ContentStateResponse.

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

      Parameters:
      contentState - contentState
      lastUpdated - Timestamp of last publish event where content state changed
    • ContentStateResponse

      protected ContentStateResponse()
  • Method Details

    • contentState

      public ContentState contentState()
    • lastUpdated

      public String lastUpdated()
      Timestamp of last publish event where content state changed
    • contentState

      public ContentStateResponse contentState(ContentState contentState)
      Returns:
      this.
    • lastUpdated

      public ContentStateResponse lastUpdated(String lastUpdated)
      Timestamp of last publish event where content state changed
      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