Class DocumentDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.DocumentDTO
-
public class DocumentDTO extends Object
DocumentDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentDTO.SourceTypeEnumGets or Sets sourceTypestatic classDocumentDTO.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DOCUMENT_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_OTHER_TYPE_NAMEstatic StringSERIALIZED_NAME_SOURCE_TYPEstatic StringSERIALIZED_NAME_SOURCE_URLstatic StringSERIALIZED_NAME_SUMMARYstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description DocumentDTO()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DOCUMENT_ID
public static final String SERIALIZED_NAME_DOCUMENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUMMARY
public static final String SERIALIZED_NAME_SUMMARY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE_TYPE
public static final String SERIALIZED_NAME_SOURCE_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE_URL
public static final String SERIALIZED_NAME_SOURCE_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OTHER_TYPE_NAME
public static final String SERIALIZED_NAME_OTHER_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
documentId
public DocumentDTO documentId(String documentId)
-
setDocumentId
public void setDocumentId(String documentId)
-
name
public DocumentDTO name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
type
public DocumentDTO type(DocumentDTO.TypeEnum type)
-
getType
public DocumentDTO.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(DocumentDTO.TypeEnum type)
-
summary
public DocumentDTO summary(String summary)
-
setSummary
public void setSummary(String summary)
-
sourceType
public DocumentDTO sourceType(DocumentDTO.SourceTypeEnum sourceType)
-
getSourceType
public DocumentDTO.SourceTypeEnum getSourceType()
Get sourceType- Returns:
- sourceType
-
setSourceType
public void setSourceType(DocumentDTO.SourceTypeEnum sourceType)
-
sourceUrl
public DocumentDTO sourceUrl(String sourceUrl)
-
setSourceUrl
public void setSourceUrl(String sourceUrl)
-
otherTypeName
public DocumentDTO otherTypeName(String otherTypeName)
-
getOtherTypeName
@Nullable public String getOtherTypeName()
Get otherTypeName- Returns:
- otherTypeName
-
setOtherTypeName
public void setOtherTypeName(String otherTypeName)
-
-