java.lang.Object
com.irurueta.authserver.bff.infrastructure.resourceserver.v1.generated.model.DocumentResponse

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.27.0") public class DocumentResponse extends Object
A document owned by a user.
  • Field Details

  • Constructor Details

    • DocumentResponse

      public DocumentResponse()
  • Method Details

    • id

      public DocumentResponse id(@Nonnull String id)
    • getId

      @Nonnull @NotNull public @NotNull String getId()
      Unique identifier of the document.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • owner

      public DocumentResponse owner(@Nonnull String owner)
    • getOwner

      @Nonnull @NotNull public @NotNull String getOwner()
      Subject of the user who owns the document.
      Returns:
      owner
    • setOwner

      public void setOwner(@Nonnull String owner)
    • title

      public DocumentResponse title(@Nonnull String title)
    • getTitle

      @Nonnull @NotNull public @NotNull String getTitle()
      Short title of the document.
      Returns:
      title
    • setTitle

      public void setTitle(@Nonnull String title)
    • content

      public DocumentResponse content(@Nonnull String content)
    • getContent

      @Nonnull @NotNull public @NotNull String getContent()
      Body of the document.
      Returns:
      content
    • setContent

      public void setContent(@Nonnull String content)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).