|
| 1 | +// -------------------------------------------------------------------------------------------------------------------- |
| 2 | +// <copyright company="Aspose" file="CellsCloudFileInfo.cs"> |
| 3 | +// Copyright (c) 2016 Aspose.Cells for Cloud |
| 4 | +// </copyright> |
| 5 | +// <summary> |
| 6 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +// of this software and associated documentation files (the "Software"), to deal |
| 8 | +// in the Software without restriction, including without limitation the rights |
| 9 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +// copies of the Software, and to permit persons to whom the Software is |
| 11 | +// furnished to do so, subject to the following conditions: |
| 12 | +// |
| 13 | +// The above copyright notice and this permission notice shall be included in all |
| 14 | +// copies or substantial portions of the Software. |
| 15 | +// |
| 16 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +// SOFTWARE. |
| 23 | +// </summary> |
| 24 | +// -------------------------------------------------------------------------------------------------------------------- |
| 25 | + |
| 26 | +namespace Aspose.Cells.Cloud.SDK.Model |
| 27 | +{ |
| 28 | + using System; |
| 29 | + using System.Collections; |
| 30 | + using System.Collections.Generic; |
| 31 | + using System.Runtime.Serialization; |
| 32 | + using System.Text; |
| 33 | + using Newtonsoft.Json; |
| 34 | + using Newtonsoft.Json.Converters; |
| 35 | + |
| 36 | + /// <summary> |
| 37 | + /// |
| 38 | + /// </summary> |
| 39 | + [DataContract] |
| 40 | + public class CellsCloudFileInfo |
| 41 | + { |
| 42 | + /// <summary> |
| 43 | + /// Gets or sets Name |
| 44 | + /// </summary> |
| 45 | + [DataMember(Name="Name", EmitDefaultValue=false)] |
| 46 | + public string Name { get; set; } |
| 47 | + |
| 48 | + /// <summary> |
| 49 | + /// Gets or sets Size |
| 50 | + /// </summary> |
| 51 | + [DataMember(Name="Size", EmitDefaultValue=false)] |
| 52 | + public long? Size { get; set; } |
| 53 | + |
| 54 | + /// <summary> |
| 55 | + /// Gets or sets Folder |
| 56 | + /// </summary> |
| 57 | + [DataMember(Name="Folder", EmitDefaultValue=false)] |
| 58 | + public string Folder { get; set; } |
| 59 | + |
| 60 | + /// <summary> |
| 61 | + /// Gets or sets Storage |
| 62 | + /// </summary> |
| 63 | + [DataMember(Name="Storage", EmitDefaultValue=false)] |
| 64 | + public string Storage { get; set; } |
| 65 | + |
| 66 | + /// <summary> |
| 67 | + /// Get the string presentation of the object |
| 68 | + /// </summary> |
| 69 | + /// <returns>String presentation of the object</returns> |
| 70 | + public override string ToString() |
| 71 | + { |
| 72 | + var sb = new StringBuilder(); |
| 73 | + sb.Append("class CellsCloudFileInfo {\n"); |
| 74 | + sb.Append(" Name: ").Append(this.Name).Append("\n"); |
| 75 | + sb.Append(" Size: ").Append(this.Size).Append("\n"); |
| 76 | + sb.Append(" Folder: ").Append(this.Folder).Append("\n"); |
| 77 | + sb.Append(" Storage: ").Append(this.Storage).Append("\n"); |
| 78 | + sb.Append("}\n"); |
| 79 | + return sb.ToString(); |
| 80 | + } |
| 81 | + } |
| 82 | +} |
0 commit comments