Class AddFileRequest

  • All Implemented Interfaces:
    Serializable

    public class AddFileRequest
    extends Object
    implements Serializable
    The properties of the file to be uploaded.
    See Also:
    Serialized Form
    • Constructor Detail

      • AddFileRequest

        public AddFileRequest()
    • Method Detail

      • getName

        @NotNull
        public @NotNull String getName()
        Required. The name of the file.
      • getFileStream

        @NotNull
        public @NotNull InputStream getFileStream()
        Required. The content of the file.
      • setName

        public void setName​(@NotNull
                            @NotNull String name)
        Required. The name of the file.
      • setFileStream

        public void setFileStream​(@NotNull
                                  @NotNull InputStream fileStream)
        Required. The content of the file.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object