Class DocumentResponse
java.lang.Object
com.irurueta.authserver.serviceclient.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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringBody of the document.@NotNull StringgetId()Unique identifier of the document.@NotNull StringgetOwner()Subject of the user who owns the document.@NotNull StringgetTitle()Short title of the document.inthashCode()voidsetContent(String content) voidvoidvoidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
id
-
JSON_PROPERTY_OWNER
- See Also:
-
owner
-
JSON_PROPERTY_TITLE
- See Also:
-
title
-
JSON_PROPERTY_CONTENT
- See Also:
-
-
-
Constructor Details
-
DocumentResponse
public DocumentResponse()
-
-
Method Details
-
id
-
getId
Unique identifier of the document.- Returns:
- id
-
setId
-
owner
-
getOwner
Subject of the user who owns the document.- Returns:
- owner
-
setOwner
-
title
-
getTitle
Short title of the document.- Returns:
- title
-
setTitle
-
content
-
getContent
Body of the document.- Returns:
- content
-
setContent
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-