Skip to content

Commit a894208

Browse files
bhavya-119root
andauthored
Version 2.1.0-v2.1-1.4.3 release (#27)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent 3b6912c commit a894208

25 files changed

+4855
-30
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# DocuSign Admin C# Client Changelog
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

4+
## [v2.1.0] - Admin API v2.1-1.4.3 - 2026-03-03
5+
### Changed
6+
- Added support for version v2.1-1.4.3 of the DocuSign Admin API.
7+
- Updated the SDK release version.
8+
49
## [v2.0.2] - Admin API v2.1-1.4.1 - 2024-11-15
510
### Changed
611
- Resolved an issue that prevented the use of `RequestJWTApplicationToken` with a production account URL.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This client SDK is provided as open source, which enables you to customize its f
3333
<a id="versionInformation"></a>
3434
### Version Information
3535
- **API version**: v2.1
36-
- **Latest SDK version (Including prerelease)**: 2.0.2
36+
- **Latest SDK version (Including prerelease)**: 2.1.0
3737

3838
<a id="requirements"></a>
3939
### Requirements

sdk/DocuSign.Admin.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.Admin", "src\DocuSign.Admin\DocuSign.Admin.csproj", "{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.Admin", "src\DocuSign.Admin\DocuSign.Admin.csproj", "{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
1010
Release|Any CPU = Release|Any CPU
1111
EndGlobalSection
1212
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13-
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

sdk/src/DocuSign.Admin/Api/OrgConnectApi.cs

Lines changed: 2671 additions & 0 deletions
Large diffs are not rendered by default.

sdk/src/DocuSign.Admin/Api/UsersApi.cs

Lines changed: 50 additions & 10 deletions
Large diffs are not rendered by default.

sdk/src/DocuSign.Admin/Client/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Configuration
2626
/// Version of the package.
2727
/// </summary>
2828
/// <value>Version of the package.</value>
29-
public const string Version = "2.0.2";
29+
public const string Version = "2.1.0";
3030

3131
/// <summary>
3232
/// Identifier for ISO 8601 DateTime Format

sdk/src/DocuSign.Admin/DocuSign.Admin.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Description>The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.</Description>
88
<Company>DocuSign Inc.</Company>
99
<Owners>DocuSign</Owners>
10-
<Copyright>Copyright © Docusign 2024</Copyright>
10+
<Copyright>Copyright © Docusign 2026</Copyright>
1111
<AssemblyTitle>DocuSign.Admin</AssemblyTitle>
1212
<Authors>DocuSign</Authors>
1313
<OutputType>Library</OutputType>
@@ -16,7 +16,7 @@
1616
<RootNamespace>DocuSign.Admin</RootNamespace>
1717
<AssemblyName>DocuSign.Admin</AssemblyName>
1818
<NeutralLanguage>en-US</NeutralLanguage>
19-
<VersionPrefix>2.0.2</VersionPrefix>
19+
<VersionPrefix>2.1.0</VersionPrefix>
2020
<VersionSuffix/>
2121
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
2222
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -26,7 +26,7 @@
2626
<PackageLicenseUrl>https://github.com/docusign/docusign-admin-csharp-client/blob/master/LICENSE</PackageLicenseUrl>
2727
<RepositoryUrl>https://github.com/docusign/docusign-admin-csharp-client</RepositoryUrl>
2828
<RepositoryType>git</RepositoryType>
29-
<PackageReleaseNotes>[v2.0.2] - Admin API v2.1-1.4.1 - 11/15/2024</PackageReleaseNotes>
29+
<PackageReleaseNotes>[v2.1.0] - Admin API v2.1-1.4.3 - 3/3/2026</PackageReleaseNotes>
3030
</PropertyGroup>
3131
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
3232
<DefineConstants>NET462</DefineConstants>

sdk/src/DocuSign.Admin/Model/AddUserResponseAccountProperties.cs

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,20 @@ public AddUserResponseAccountProperties()
3939
/// <param name="SiteId">SiteId.</param>
4040
/// <param name="CompanyName">CompanyName.</param>
4141
/// <param name="JobTitle">JobTitle.</param>
42-
public AddUserResponseAccountProperties(Guid? Id = default(Guid?), int? SiteId = default(int?), string CompanyName = default(string), string JobTitle = default(string))
42+
/// <param name="LicenseType">LicenseType.</param>
43+
/// <param name="SubscriptionId">SubscriptionId.</param>
44+
/// <param name="PlanName">PlanName.</param>
45+
/// <param name="LicenseStatus">LicenseStatus.</param>
46+
public AddUserResponseAccountProperties(Guid? Id = default(Guid?), int? SiteId = default(int?), string CompanyName = default(string), string JobTitle = default(string), string LicenseType = default(string), string SubscriptionId = default(string), string PlanName = default(string), string LicenseStatus = default(string))
4347
{
4448
this.Id = Id;
4549
this.SiteId = SiteId;
4650
this.CompanyName = CompanyName;
4751
this.JobTitle = JobTitle;
52+
this.LicenseType = LicenseType;
53+
this.SubscriptionId = SubscriptionId;
54+
this.PlanName = PlanName;
55+
this.LicenseStatus = LicenseStatus;
4856
}
4957

5058
/// <summary>
@@ -78,6 +86,26 @@ public AddUserResponseAccountProperties()
7886
[DataMember(Name="job_title", EmitDefaultValue=false)]
7987
public string JobTitle { get; set; }
8088
/// <summary>
89+
/// Gets or Sets LicenseType
90+
/// </summary>
91+
[DataMember(Name="license_type", EmitDefaultValue=false)]
92+
public string LicenseType { get; set; }
93+
/// <summary>
94+
/// Gets or Sets SubscriptionId
95+
/// </summary>
96+
[DataMember(Name="subscription_id", EmitDefaultValue=false)]
97+
public string SubscriptionId { get; set; }
98+
/// <summary>
99+
/// Gets or Sets PlanName
100+
/// </summary>
101+
[DataMember(Name="plan_name", EmitDefaultValue=false)]
102+
public string PlanName { get; set; }
103+
/// <summary>
104+
/// Gets or Sets LicenseStatus
105+
/// </summary>
106+
[DataMember(Name="license_status", EmitDefaultValue=false)]
107+
public string LicenseStatus { get; set; }
108+
/// <summary>
81109
/// Returns the string presentation of the object
82110
/// </summary>
83111
/// <returns>String presentation of the object</returns>
@@ -91,6 +119,10 @@ public override string ToString()
91119
sb.Append(" DsGroups: ").Append(DsGroups).Append("\n");
92120
sb.Append(" CompanyName: ").Append(CompanyName).Append("\n");
93121
sb.Append(" JobTitle: ").Append(JobTitle).Append("\n");
122+
sb.Append(" LicenseType: ").Append(LicenseType).Append("\n");
123+
sb.Append(" SubscriptionId: ").Append(SubscriptionId).Append("\n");
124+
sb.Append(" PlanName: ").Append(PlanName).Append("\n");
125+
sb.Append(" LicenseStatus: ").Append(LicenseStatus).Append("\n");
94126
sb.Append("}\n");
95127
return sb.ToString();
96128
}
@@ -156,6 +188,26 @@ public bool Equals(AddUserResponseAccountProperties other)
156188
this.JobTitle == other.JobTitle ||
157189
this.JobTitle != null &&
158190
this.JobTitle.Equals(other.JobTitle)
191+
) &&
192+
(
193+
this.LicenseType == other.LicenseType ||
194+
this.LicenseType != null &&
195+
this.LicenseType.Equals(other.LicenseType)
196+
) &&
197+
(
198+
this.SubscriptionId == other.SubscriptionId ||
199+
this.SubscriptionId != null &&
200+
this.SubscriptionId.Equals(other.SubscriptionId)
201+
) &&
202+
(
203+
this.PlanName == other.PlanName ||
204+
this.PlanName != null &&
205+
this.PlanName.Equals(other.PlanName)
206+
) &&
207+
(
208+
this.LicenseStatus == other.LicenseStatus ||
209+
this.LicenseStatus != null &&
210+
this.LicenseStatus.Equals(other.LicenseStatus)
159211
);
160212
}
161213

@@ -182,6 +234,14 @@ public override int GetHashCode()
182234
hash = hash * 59 + this.CompanyName.GetHashCode();
183235
if (this.JobTitle != null)
184236
hash = hash * 59 + this.JobTitle.GetHashCode();
237+
if (this.LicenseType != null)
238+
hash = hash * 59 + this.LicenseType.GetHashCode();
239+
if (this.SubscriptionId != null)
240+
hash = hash * 59 + this.SubscriptionId.GetHashCode();
241+
if (this.PlanName != null)
242+
hash = hash * 59 + this.PlanName.GetHashCode();
243+
if (this.LicenseStatus != null)
244+
hash = hash * 59 + this.LicenseStatus.GetHashCode();
185245
return hash;
186246
}
187247
}
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
/*
2+
* Docusign Admin API
3+
*
4+
* An API for an organization administrator to manage organizations, accounts and users
5+
*
6+
* OpenAPI spec version: v2.1
7+
* Contact: devcenter@docusign.com
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.Collections.Generic;
13+
using System.IO;
14+
using System.Linq;
15+
using System.Runtime.Serialization;
16+
using System.Text;
17+
using System.Text.RegularExpressions;
18+
using Newtonsoft.Json;
19+
using Newtonsoft.Json.Converters;
20+
using System.ComponentModel.DataAnnotations;
21+
22+
namespace DocuSign.Admin.Model
23+
{
24+
/// <summary>
25+
/// ConnectEventData
26+
/// </summary>
27+
[DataContract]
28+
public partial class ConnectEventData : IEquatable<ConnectEventData>, IValidatableObject
29+
{
30+
public ConnectEventData()
31+
{
32+
// Empty Constructor
33+
}
34+
35+
/// <summary>
36+
/// Initializes a new instance of the <see cref="ConnectEventData" /> class.
37+
/// </summary>
38+
/// <param name="Version">Version.</param>
39+
/// <param name="IncludeData">IncludeData.</param>
40+
public ConnectEventData(string Version = default(string), List<string> IncludeData = default(List<string>))
41+
{
42+
this.Version = Version;
43+
this.IncludeData = IncludeData;
44+
}
45+
46+
/// <summary>
47+
/// Gets or Sets Version
48+
/// </summary>
49+
[DataMember(Name="version", EmitDefaultValue=false)]
50+
public string Version { get; set; }
51+
/// <summary>
52+
/// Gets or Sets IncludeData
53+
/// </summary>
54+
[DataMember(Name="includeData", EmitDefaultValue=false)]
55+
public List<string> IncludeData { get; set; }
56+
/// <summary>
57+
/// Returns the string presentation of the object
58+
/// </summary>
59+
/// <returns>String presentation of the object</returns>
60+
public override string ToString()
61+
{
62+
var sb = new StringBuilder();
63+
sb.Append("class ConnectEventData {\n");
64+
sb.Append(" Version: ").Append(Version).Append("\n");
65+
sb.Append(" IncludeData: ").Append(IncludeData).Append("\n");
66+
sb.Append("}\n");
67+
return sb.ToString();
68+
}
69+
70+
/// <summary>
71+
/// Returns the JSON string presentation of the object
72+
/// </summary>
73+
/// <returns>JSON string presentation of the object</returns>
74+
public string ToJson()
75+
{
76+
return JsonConvert.SerializeObject(this, Formatting.Indented);
77+
}
78+
79+
/// <summary>
80+
/// Returns true if objects are equal
81+
/// </summary>
82+
/// <param name="obj">Object to be compared</param>
83+
/// <returns>Boolean</returns>
84+
public override bool Equals(object obj)
85+
{
86+
// credit: http://stackoverflow.com/a/10454552/677735
87+
return this.Equals(obj as ConnectEventData);
88+
}
89+
90+
/// <summary>
91+
/// Returns true if ConnectEventData instances are equal
92+
/// </summary>
93+
/// <param name="other">Instance of ConnectEventData to be compared</param>
94+
/// <returns>Boolean</returns>
95+
public bool Equals(ConnectEventData other)
96+
{
97+
// credit: http://stackoverflow.com/a/10454552/677735
98+
if (other == null)
99+
return false;
100+
101+
return
102+
(
103+
this.Version == other.Version ||
104+
this.Version != null &&
105+
this.Version.Equals(other.Version)
106+
) &&
107+
(
108+
this.IncludeData == other.IncludeData ||
109+
this.IncludeData != null &&
110+
this.IncludeData.SequenceEqual(other.IncludeData)
111+
);
112+
}
113+
114+
/// <summary>
115+
/// Gets the hash code
116+
/// </summary>
117+
/// <returns>Hash code</returns>
118+
public override int GetHashCode()
119+
{
120+
// credit: http://stackoverflow.com/a/263416/677735
121+
unchecked // Overflow is fine, just wrap
122+
{
123+
int hash = 41;
124+
// Suitable nullity checks etc, of course :)
125+
if (this.Version != null)
126+
hash = hash * 59 + this.Version.GetHashCode();
127+
if (this.IncludeData != null)
128+
hash = hash * 59 + this.IncludeData.GetHashCode();
129+
return hash;
130+
}
131+
}
132+
133+
public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
134+
{
135+
yield break;
136+
}
137+
}
138+
}

sdk/src/DocuSign.Admin/Model/DSGroupResponse.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public DSGroupResponse()
4646
/// <param name="UserCount">UserCount.</param>
4747
/// <param name="ExternalAccountId">ExternalAccountId.</param>
4848
/// <param name="AccountName">AccountName.</param>
49-
public DSGroupResponse(Guid? DsGroupId = default(Guid?), Guid? AccountId = default(Guid?), string SourceProductName = default(string), string GroupId = default(string), string GroupName = default(string), string Description = default(string), bool? IsAdmin = default(bool?), DateTime? LastModifiedOn = default(DateTime?), int? UserCount = default(int?), long? ExternalAccountId = default(long?), string AccountName = default(string))
49+
/// <param name="IsManagedByScim">IsManagedByScim.</param>
50+
public DSGroupResponse(Guid? DsGroupId = default(Guid?), Guid? AccountId = default(Guid?), string SourceProductName = default(string), string GroupId = default(string), string GroupName = default(string), string Description = default(string), bool? IsAdmin = default(bool?), DateTime? LastModifiedOn = default(DateTime?), int? UserCount = default(int?), long? ExternalAccountId = default(long?), string AccountName = default(string), bool? IsManagedByScim = default(bool?))
5051
{
5152
this.DsGroupId = DsGroupId;
5253
this.AccountId = AccountId;
@@ -59,6 +60,7 @@ public DSGroupResponse()
5960
this.UserCount = UserCount;
6061
this.ExternalAccountId = ExternalAccountId;
6162
this.AccountName = AccountName;
63+
this.IsManagedByScim = IsManagedByScim;
6264
}
6365

6466
/// <summary>
@@ -117,6 +119,11 @@ public DSGroupResponse()
117119
[DataMember(Name="account_name", EmitDefaultValue=false)]
118120
public string AccountName { get; set; }
119121
/// <summary>
122+
/// Gets or Sets IsManagedByScim
123+
/// </summary>
124+
[DataMember(Name="is_managed_by_scim", EmitDefaultValue=false)]
125+
public bool? IsManagedByScim { get; set; }
126+
/// <summary>
120127
/// Returns the string presentation of the object
121128
/// </summary>
122129
/// <returns>String presentation of the object</returns>
@@ -135,6 +142,7 @@ public override string ToString()
135142
sb.Append(" UserCount: ").Append(UserCount).Append("\n");
136143
sb.Append(" ExternalAccountId: ").Append(ExternalAccountId).Append("\n");
137144
sb.Append(" AccountName: ").Append(AccountName).Append("\n");
145+
sb.Append(" IsManagedByScim: ").Append(IsManagedByScim).Append("\n");
138146
sb.Append("}\n");
139147
return sb.ToString();
140148
}
@@ -225,6 +233,11 @@ public bool Equals(DSGroupResponse other)
225233
this.AccountName == other.AccountName ||
226234
this.AccountName != null &&
227235
this.AccountName.Equals(other.AccountName)
236+
) &&
237+
(
238+
this.IsManagedByScim == other.IsManagedByScim ||
239+
this.IsManagedByScim != null &&
240+
this.IsManagedByScim.Equals(other.IsManagedByScim)
228241
);
229242
}
230243

@@ -261,6 +274,8 @@ public override int GetHashCode()
261274
hash = hash * 59 + this.ExternalAccountId.GetHashCode();
262275
if (this.AccountName != null)
263276
hash = hash * 59 + this.AccountName.GetHashCode();
277+
if (this.IsManagedByScim != null)
278+
hash = hash * 59 + this.IsManagedByScim.GetHashCode();
264279
return hash;
265280
}
266281
}

0 commit comments

Comments
 (0)