Package com.collibra.dgc.core.api.dto.file

# Class NewFileResponse

Object
NewFileResponse

All Implemented Interfaces:
  `Serializable`

public class NewFileResponse extends Object implements Serializable
Result of creating a new file for writing, containing the file ID and an `OutputStream` to write its content. The caller is responsible for closing the `OutputStream`.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NewFileResponse()`
  `NewFileResponse(UUID fileId, OutputStream outputStream)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UUID`
  `getFileId()`
  `OutputStream`
  `getOutputStream()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NewFileResponse

    public NewFileResponse()

  - ### NewFileResponse

    public NewFileResponse(UUID fileId, OutputStream outputStream)

- ## Method Details

  - ### getFileId

    public UUID getFileId()

  - ### getOutputStream

    public OutputStream getOutputStream()