Class UpdateContextDTO

  • Direct Known Subclasses:
    UpdateQnaDTOContext

    public class UpdateContextDTO
    extends Object
    Update Body schema to represent context to be updated.
    • Constructor Detail

      • UpdateContextDTO

        public UpdateContextDTO()
    • Method Detail

      • promptsToDelete

        public List<Integer> promptsToDelete()
        Get the promptsToDelete value.
        Returns:
        the promptsToDelete value
      • withPromptsToDelete

        public UpdateContextDTO withPromptsToDelete​(List<Integer> promptsToDelete)
        Set the promptsToDelete value.
        Parameters:
        promptsToDelete - the promptsToDelete value to set
        Returns:
        the UpdateContextDTO object itself.
      • promptsToAdd

        public List<PromptDTO> promptsToAdd()
        Get the promptsToAdd value.
        Returns:
        the promptsToAdd value
      • withPromptsToAdd

        public UpdateContextDTO withPromptsToAdd​(List<PromptDTO> promptsToAdd)
        Set the promptsToAdd value.
        Parameters:
        promptsToAdd - the promptsToAdd value to set
        Returns:
        the UpdateContextDTO object itself.
      • isContextOnly

        public Boolean isContextOnly()
        Get the isContextOnly value.
        Returns:
        the isContextOnly value
      • withIsContextOnly

        public UpdateContextDTO withIsContextOnly​(Boolean isContextOnly)
        Set the isContextOnly value.
        Parameters:
        isContextOnly - the isContextOnly value to set
        Returns:
        the UpdateContextDTO object itself.