Skip to content

Commit

Permalink
20200819 update 2 : Release Aspose.Cells Cloud SDK 20.8
Browse files Browse the repository at this point in the history
  • Loading branch information
roywangaspose committed Aug 19, 2020
1 parent d7daec9 commit fed1b42
Show file tree
Hide file tree
Showing 7 changed files with 1,049 additions and 969 deletions.
82 changes: 82 additions & 0 deletions Aspose.Cells.Cloud.SDK/Model/CellsCloudFileInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose" file="CellsCloudFileInfo.cs">
// Copyright (c) 2016 Aspose.Cells for Cloud
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Aspose.Cells.Cloud.SDK.Model
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

/// <summary>
///
/// </summary>
[DataContract]
public class CellsCloudFileInfo
{
/// <summary>
/// Gets or sets Name
/// </summary>
[DataMember(Name="Name", EmitDefaultValue=false)]
public string Name { get; set; }

/// <summary>
/// Gets or sets Size
/// </summary>
[DataMember(Name="Size", EmitDefaultValue=false)]
public long? Size { get; set; }

/// <summary>
/// Gets or sets Folder
/// </summary>
[DataMember(Name="Folder", EmitDefaultValue=false)]
public string Folder { get; set; }

/// <summary>
/// Gets or sets Storage
/// </summary>
[DataMember(Name="Storage", EmitDefaultValue=false)]
public string Storage { get; set; }

/// <summary>
/// Get the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class CellsCloudFileInfo {\n");
sb.Append(" Name: ").Append(this.Name).Append("\n");
sb.Append(" Size: ").Append(this.Size).Append("\n");
sb.Append(" Folder: ").Append(this.Folder).Append("\n");
sb.Append(" Storage: ").Append(this.Storage).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
}
}
22 changes: 4 additions & 18 deletions Aspose.Cells.Cloud.SDK/Model/SaveResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,10 @@ namespace Aspose.Cells.Cloud.SDK.Model
public class SaveResult
{
/// <summary>
/// Gets or sets SourceDocument
/// Gets or sets Documents
/// </summary>
[DataMember(Name="SourceDocument", EmitDefaultValue=false)]
public Link SourceDocument { get; set; }

/// <summary>
/// Gets or sets DestDocument
/// </summary>
[DataMember(Name="DestDocument", EmitDefaultValue=false)]
public Link DestDocument { get; set; }

/// <summary>
/// Gets or sets AdditionalItems
/// </summary>
[DataMember(Name="AdditionalItems", EmitDefaultValue=false)]
public List<Link> AdditionalItems { get; set; }
[DataMember(Name="Documents", EmitDefaultValue=false)]
public List<CellsCloudFileInfo> Documents { get; set; }

/// <summary>
/// Get the string presentation of the object
Expand All @@ -65,9 +53,7 @@ public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class SaveResult {\n");
sb.Append(" SourceDocument: ").Append(this.SourceDocument).Append("\n");
sb.Append(" DestDocument: ").Append(this.DestDocument).Append("\n");
sb.Append(" AdditionalItems: ").Append(this.AdditionalItems).Append("\n");
sb.Append(" Documents: ").Append(this.Documents).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down
2 changes: 1 addition & 1 deletion Aspose.Cells.Cloud.SDK/Model/SplitResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class SplitResult
/// Gets or sets Documents
/// </summary>
[DataMember(Name="Documents", EmitDefaultValue=false)]
public List<SplitResultDocument> Documents { get; set; }
public List<CellsCloudFileInfo> Documents { get; set; }

/// <summary>
/// Get the string presentation of the object
Expand Down
Loading

0 comments on commit fed1b42

Please sign in to comment.