Skip to content

Commit fed1b42

Browse files
committed
20200819 update 2 : Release Aspose.Cells Cloud SDK 20.8
1 parent d7daec9 commit fed1b42

File tree

7 files changed

+1049
-969
lines changed

7 files changed

+1049
-969
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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+
}

Aspose.Cells.Cloud.SDK/Model/SaveResult.cs

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,10 @@ namespace Aspose.Cells.Cloud.SDK.Model
4040
public class SaveResult
4141
{
4242
/// <summary>
43-
/// Gets or sets SourceDocument
43+
/// Gets or sets Documents
4444
/// </summary>
45-
[DataMember(Name="SourceDocument", EmitDefaultValue=false)]
46-
public Link SourceDocument { get; set; }
47-
48-
/// <summary>
49-
/// Gets or sets DestDocument
50-
/// </summary>
51-
[DataMember(Name="DestDocument", EmitDefaultValue=false)]
52-
public Link DestDocument { get; set; }
53-
54-
/// <summary>
55-
/// Gets or sets AdditionalItems
56-
/// </summary>
57-
[DataMember(Name="AdditionalItems", EmitDefaultValue=false)]
58-
public List<Link> AdditionalItems { get; set; }
45+
[DataMember(Name="Documents", EmitDefaultValue=false)]
46+
public List<CellsCloudFileInfo> Documents { get; set; }
5947

6048
/// <summary>
6149
/// Get the string presentation of the object
@@ -65,9 +53,7 @@ public override string ToString()
6553
{
6654
var sb = new StringBuilder();
6755
sb.Append("class SaveResult {\n");
68-
sb.Append(" SourceDocument: ").Append(this.SourceDocument).Append("\n");
69-
sb.Append(" DestDocument: ").Append(this.DestDocument).Append("\n");
70-
sb.Append(" AdditionalItems: ").Append(this.AdditionalItems).Append("\n");
56+
sb.Append(" Documents: ").Append(this.Documents).Append("\n");
7157
sb.Append("}\n");
7258
return sb.ToString();
7359
}

Aspose.Cells.Cloud.SDK/Model/SplitResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class SplitResult
4343
/// Gets or sets Documents
4444
/// </summary>
4545
[DataMember(Name="Documents", EmitDefaultValue=false)]
46-
public List<SplitResultDocument> Documents { get; set; }
46+
public List<CellsCloudFileInfo> Documents { get; set; }
4747

4848
/// <summary>
4949
/// Get the string presentation of the object

0 commit comments

Comments
 (0)