/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * http://aws.amazon.com/apache2.0 * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ using System; using System.IO; namespace Amazon.WorkDocs.Utils { /// /// Request parameters for UploadDocumentStream operation. /// public class UploadDocumentStreamRequest { /// /// The ID of the parent folder. /// public String ParentFolderId { get; set; } /// /// The name of the document. /// public String DocumentName { get; set; } /// /// The content type of the document. /// public String ContentType { get; set; } /// /// The timestamp when the content of the document was originally created. /// public DateTime ContentCreatedTimestamp { get; set; } /// /// The timestamp when the content of the document was modified. /// public DateTime ContentModifiedTimestamp { get; set; } /// /// The size of the document, in bytes. /// public long DocumentSizeInBytes { get; set; } /// /// Steam of the document content. /// public Stream Stream { get; set; } /// /// The ID of the document. /// public String DocumentId { get; internal set; } /// /// Initializes a new instance of UploadDocumentStreamRequest object. /// public UploadDocumentStreamRequest() { } } }