public class DocumentDTO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentDTO.SourceTypeEnum
Gets or Sets sourceType
|
static class |
DocumentDTO.TypeEnum
Gets or Sets type
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_DOCUMENT_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_OTHER_TYPE_NAME |
static String |
SERIALIZED_NAME_SOURCE_TYPE |
static String |
SERIALIZED_NAME_SOURCE_URL |
static String |
SERIALIZED_NAME_SUMMARY |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
DocumentDTO() |
| Modifier and Type | Method and Description |
|---|---|
DocumentDTO |
documentId(String documentId) |
boolean |
equals(Object o) |
String |
getDocumentId()
Get documentId
|
String |
getName()
Get name
|
String |
getOtherTypeName()
Get otherTypeName
|
DocumentDTO.SourceTypeEnum |
getSourceType()
Get sourceType
|
String |
getSourceUrl()
Get sourceUrl
|
String |
getSummary()
Get summary
|
DocumentDTO.TypeEnum |
getType()
Get type
|
int |
hashCode() |
DocumentDTO |
name(String name) |
DocumentDTO |
otherTypeName(String otherTypeName) |
void |
setDocumentId(String documentId) |
void |
setName(String name) |
void |
setOtherTypeName(String otherTypeName) |
void |
setSourceType(DocumentDTO.SourceTypeEnum sourceType) |
void |
setSourceUrl(String sourceUrl) |
void |
setSummary(String summary) |
void |
setType(DocumentDTO.TypeEnum type) |
DocumentDTO |
sourceType(DocumentDTO.SourceTypeEnum sourceType) |
DocumentDTO |
sourceUrl(String sourceUrl) |
DocumentDTO |
summary(String summary) |
String |
toString() |
DocumentDTO |
type(DocumentDTO.TypeEnum type) |
public static final String SERIALIZED_NAME_DOCUMENT_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_SUMMARY
public static final String SERIALIZED_NAME_SOURCE_TYPE
public static final String SERIALIZED_NAME_SOURCE_URL
public static final String SERIALIZED_NAME_OTHER_TYPE_NAME
public DocumentDTO documentId(String documentId)
public void setDocumentId(String documentId)
public DocumentDTO name(String name)
public String getName()
public void setName(String name)
public DocumentDTO type(DocumentDTO.TypeEnum type)
public DocumentDTO.TypeEnum getType()
public void setType(DocumentDTO.TypeEnum type)
public DocumentDTO summary(String summary)
public void setSummary(String summary)
public DocumentDTO sourceType(DocumentDTO.SourceTypeEnum sourceType)
public DocumentDTO.SourceTypeEnum getSourceType()
public void setSourceType(DocumentDTO.SourceTypeEnum sourceType)
public DocumentDTO sourceUrl(String sourceUrl)
public void setSourceUrl(String sourceUrl)
public DocumentDTO otherTypeName(String otherTypeName)
@Nullable public String getOtherTypeName()
public void setOtherTypeName(String otherTypeName)
Copyright © 2021 WSO2 Inc. All rights reserved.