Class UpdateMetadataDTO
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models.UpdateMetadataDTO
-
- Direct Known Subclasses:
UpdateQnaDTOMetadata
public class UpdateMetadataDTO extends Object
PATCH Body schema to represent list of Metadata to be updated.
-
-
Constructor Summary
Constructors Constructor Description UpdateMetadataDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MetadataDTO>
add()
Get the add value.List<MetadataDTO>
delete()
Get the delete value.UpdateMetadataDTO
withAdd(List<MetadataDTO> add)
Set the add value.UpdateMetadataDTO
withDelete(List<MetadataDTO> delete)
Set the delete value.
-
-
-
Method Detail
-
delete
public List<MetadataDTO> delete()
Get the delete value.- Returns:
- the delete value
-
withDelete
public UpdateMetadataDTO withDelete(List<MetadataDTO> delete)
Set the delete value.- Parameters:
delete
- the delete value to set- Returns:
- the UpdateMetadataDTO object itself.
-
add
public List<MetadataDTO> add()
Get the add value.- Returns:
- the add value
-
withAdd
public UpdateMetadataDTO withAdd(List<MetadataDTO> add)
Set the add value.- Parameters:
add
- the add value to set- Returns:
- the UpdateMetadataDTO object itself.
-
-