-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
10,415 additions
and
1,763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ Contact: [email protected] | |
<RootNamespace>DocuSign.eSign</RootNamespace> | ||
<AssemblyName>DocuSign.eSign</AssemblyName> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<VersionPrefix>5.0.0</VersionPrefix> | ||
<VersionPrefix>5.1.0-rc</VersionPrefix> | ||
<VersionSuffix></VersionSuffix> | ||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
|
@@ -34,7 +34,7 @@ Contact: [email protected] | |
<PackageLicenseUrl>https://github.com/docusign/docusign-csharp-client/blob/master/LICENSE</PackageLicenseUrl> | ||
<RepositoryUrl>https://github.com/docusign/docusign-csharp-client</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageReleaseNotes>[5.0.0] - eSignature API v2.1-20.2.02.02 - 08/24/2020</PackageReleaseNotes> | ||
<PackageReleaseNotes>[5.1.0-rc] - eSignature API v2.1-20.3.00 - 09/24/2020</PackageReleaseNotes> | ||
</PropertyGroup> | ||
|
||
<!-- .NET Framework 4.5.2 compilation flags and build options --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
353 changes: 353 additions & 0 deletions
353
sdk/src/DocuSign.eSign/Model/AccountSignatureDefinition.cs
Large diffs are not rendered by default.
Oops, something went wrong.
126 changes: 126 additions & 0 deletions
126
sdk/src/DocuSign.eSign/Model/AccountSignaturesInformation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/* | ||
* DocuSign REST API | ||
* | ||
* The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. | ||
* | ||
* OpenAPI spec version: v2.1 | ||
* Contact: [email protected] | ||
* Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
*/ | ||
|
||
using System; | ||
using System.Linq; | ||
using System.IO; | ||
using System.Text; | ||
using System.Text.RegularExpressions; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
using System.ComponentModel.DataAnnotations; | ||
using SwaggerDateConverter = DocuSign.eSign.Client.SwaggerDateConverter; | ||
|
||
namespace DocuSign.eSign.Model | ||
{ | ||
/// <summary> | ||
/// AccountSignaturesInformation | ||
/// </summary> | ||
[DataContract] | ||
public partial class AccountSignaturesInformation : IEquatable<AccountSignaturesInformation>, IValidatableObject | ||
{ | ||
public AccountSignaturesInformation() | ||
{ | ||
// Empty Constructor | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="AccountSignaturesInformation" /> class. | ||
/// </summary> | ||
/// <param name="AccountSignatures">AccountSignatures.</param> | ||
public AccountSignaturesInformation(List<AccountSignature> AccountSignatures = default(List<AccountSignature>)) | ||
{ | ||
this.AccountSignatures = AccountSignatures; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or Sets AccountSignatures | ||
/// </summary> | ||
[DataMember(Name="accountSignatures", EmitDefaultValue=false)] | ||
public List<AccountSignature> AccountSignatures { get; set; } | ||
/// <summary> | ||
/// Returns 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 AccountSignaturesInformation {\n"); | ||
sb.Append(" AccountSignatures: ").Append(AccountSignatures).Append("\n"); | ||
sb.Append("}\n"); | ||
return sb.ToString(); | ||
} | ||
|
||
/// <summary> | ||
/// Returns the JSON string presentation of the object | ||
/// </summary> | ||
/// <returns>JSON string presentation of the object</returns> | ||
public string ToJson() | ||
{ | ||
return JsonConvert.SerializeObject(this, Formatting.Indented); | ||
} | ||
|
||
/// <summary> | ||
/// Returns true if objects are equal | ||
/// </summary> | ||
/// <param name="obj">Object to be compared</param> | ||
/// <returns>Boolean</returns> | ||
public override bool Equals(object obj) | ||
{ | ||
// credit: http://stackoverflow.com/a/10454552/677735 | ||
return this.Equals(obj as AccountSignaturesInformation); | ||
} | ||
|
||
/// <summary> | ||
/// Returns true if AccountSignaturesInformation instances are equal | ||
/// </summary> | ||
/// <param name="other">Instance of AccountSignaturesInformation to be compared</param> | ||
/// <returns>Boolean</returns> | ||
public bool Equals(AccountSignaturesInformation other) | ||
{ | ||
// credit: http://stackoverflow.com/a/10454552/677735 | ||
if (other == null) | ||
return false; | ||
|
||
return | ||
( | ||
this.AccountSignatures == other.AccountSignatures || | ||
this.AccountSignatures != null && | ||
this.AccountSignatures.SequenceEqual(other.AccountSignatures) | ||
); | ||
} | ||
|
||
/// <summary> | ||
/// Gets the hash code | ||
/// </summary> | ||
/// <returns>Hash code</returns> | ||
public override int GetHashCode() | ||
{ | ||
// credit: http://stackoverflow.com/a/263416/677735 | ||
unchecked // Overflow is fine, just wrap | ||
{ | ||
int hash = 41; | ||
// Suitable nullity checks etc, of course :) | ||
if (this.AccountSignatures != null) | ||
hash = hash * 59 + this.AccountSignatures.GetHashCode(); | ||
return hash; | ||
} | ||
} | ||
|
||
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) | ||
{ | ||
yield break; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.