Skip to content

Commit 3e2cd04

Browse files
author
devexperience
committed
Generated version 1.2.0
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
1 parent de4d6b6 commit 3e2cd04

8 files changed

Lines changed: 48 additions & 11 deletions

File tree

MX.Platform.CSharp.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ 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}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{1853EA0C-5455-464F-8A34-5FF45B340F54}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{9D50604D-486C-4222-B325-0E8F2C89DAA4}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp.Test", "src\MX.Platform.CSharp.Test\MX.Platform.CSharp.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{1853EA0C-5455-464F-8A34-5FF45B340F54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{1853EA0C-5455-464F-8A34-5FF45B340F54}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{1853EA0C-5455-464F-8A34-5FF45B340F54}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{1853EA0C-5455-464F-8A34-5FF45B340F54}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{9D50604D-486C-4222-B325-0E8F2C89DAA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{9D50604D-486C-4222-B325-0E8F2C89DAA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{9D50604D-486C-4222-B325-0E8F2C89DAA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{9D50604D-486C-4222-B325-0E8F2C89DAA4}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

api/openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8686,6 +8686,14 @@ components:
86868686
type: object
86878687
MemberResponse:
86888688
properties:
8689+
actionable_error:
8690+
example: "{\\\"error_type\\\": \\\"MEMBER\\\", \\\"error_code\\\": 1000,\
8691+
\ \\\"error_message\\\": \\\"This Member has no eligible checking, savings,\
8692+
\ or money market accounts.\\\", \\\"user_message\\\": \\\"We could not\
8693+
\ find any accounts eligible for transfers. Please link a checking or\
8694+
\ savings account.\\\", \\\"locale\\\": \\\"en\\\"}"
8695+
nullable: true
8696+
type: string
86898697
aggregated_at:
86908698
example: 2016-10-13T18:07:57.000Z
86918699
nullable: true

docs/MemberResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**ActionableError** | **string** | | [optional]
78
**AggregatedAt** | **string** | | [optional]
89
**BackgroundAggregationIsDisabled** | **bool** | | [optional]
910
**ConnectionStatus** | **string** | | [optional]

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
packageName: MX.Platform.CSharp
3-
packageVersion: 1.1.0
3+
packageVersion: 1.2.0

src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ public void MemberResponseInstanceTest()
5454
//Assert.IsType<MemberResponse>(instance);
5555
}
5656

57+
/// <summary>
58+
/// Test the property 'ActionableError'
59+
/// </summary>
60+
[Fact]
61+
public void ActionableErrorTest()
62+
{
63+
// TODO unit test for the property 'ActionableError'
64+
}
65+
5766
/// <summary>
5867
/// Test the property 'AggregatedAt'
5968
/// </summary>

src/MX.Platform.CSharp/Client/Configuration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration
3333
/// Version of the package.
3434
/// </summary>
3535
/// <value>Version of the package.</value>
36-
public const string Version = "1.1.0";
36+
public const string Version = "1.2.0";
3737

3838
/// <summary>
3939
/// Identifier for ISO 8601 DateTime Format
@@ -117,7 +117,7 @@ public class Configuration : IReadableConfiguration
117117
public Configuration()
118118
{
119119
Proxy = null;
120-
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.1.0/csharp");
120+
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.2.0/csharp");
121121
BasePath = "https://api.mx.com";
122122
DefaultHeaders = new ConcurrentDictionary<string, string>();
123123
ApiKey = new ConcurrentDictionary<string, string>();
@@ -546,7 +546,7 @@ public static string ToDebugReport()
546546
report += " OS: " + System.Environment.OSVersion + "\n";
547547
report += " .NET Framework Version: " + System.Environment.Version + "\n";
548548
report += " Version of the API: 0.1.0\n";
549-
report += " SDK Package Version: 1.1.0\n";
549+
report += " SDK Package Version: 1.2.0\n";
550550

551551
return report;
552552
}

src/MX.Platform.CSharp/MX.Platform.CSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>A library generated from a OpenAPI doc</Description>
1313
<Copyright>No Copyright</Copyright>
1414
<RootNamespace>MX.Platform.CSharp</RootNamespace>
15-
<Version>1.1.0</Version>
15+
<Version>1.2.0</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\MX.Platform.CSharp.xml</DocumentationFile>
1717
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
1818
<RepositoryType>git</RepositoryType>

src/MX.Platform.CSharp/Model/MemberResponse.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
3434
/// <summary>
3535
/// Initializes a new instance of the <see cref="MemberResponse" /> class.
3636
/// </summary>
37+
/// <param name="actionableError">actionableError.</param>
3738
/// <param name="aggregatedAt">aggregatedAt.</param>
3839
/// <param name="backgroundAggregationIsDisabled">backgroundAggregationIsDisabled.</param>
3940
/// <param name="connectionStatus">connectionStatus.</param>
@@ -53,8 +54,9 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
5354
/// <param name="useCases">useCases.</param>
5455
/// <param name="userGuid">userGuid.</param>
5556
/// <param name="userId">userId.</param>
56-
public MemberResponse(string aggregatedAt = default(string), bool backgroundAggregationIsDisabled = default(bool), string connectionStatus = default(string), string guid = default(string), string id = default(string), string institutionCode = default(string), bool? isBeingAggregated = default(bool?), bool? isManagedByUser = default(bool?), bool? isManual = default(bool?), bool? isOauth = default(bool?), string metadata = default(string), string mostRecentJobDetailCode = default(string), string mostRecentJobDetailText = default(string), string name = default(string), string oauthWindowUri = default(string), string successfullyAggregatedAt = default(string), List<string> useCases = default(List<string>), string userGuid = default(string), string userId = default(string))
57+
public MemberResponse(string actionableError = default(string), string aggregatedAt = default(string), bool backgroundAggregationIsDisabled = default(bool), string connectionStatus = default(string), string guid = default(string), string id = default(string), string institutionCode = default(string), bool? isBeingAggregated = default(bool?), bool? isManagedByUser = default(bool?), bool? isManual = default(bool?), bool? isOauth = default(bool?), string metadata = default(string), string mostRecentJobDetailCode = default(string), string mostRecentJobDetailText = default(string), string name = default(string), string oauthWindowUri = default(string), string successfullyAggregatedAt = default(string), List<string> useCases = default(List<string>), string userGuid = default(string), string userId = default(string))
5758
{
59+
this.ActionableError = actionableError;
5860
this.AggregatedAt = aggregatedAt;
5961
this.BackgroundAggregationIsDisabled = backgroundAggregationIsDisabled;
6062
this.ConnectionStatus = connectionStatus;
@@ -76,6 +78,13 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
7678
this.UserId = userId;
7779
}
7880

81+
/// <summary>
82+
/// Gets or Sets ActionableError
83+
/// </summary>
84+
/// <example>{\&quot;error_type\&quot;: \&quot;MEMBER\&quot;, \&quot;error_code\&quot;: 1000, \&quot;error_message\&quot;: \&quot;This Member has no eligible checking, savings, or money market accounts.\&quot;, \&quot;user_message\&quot;: \&quot;We could not find any accounts eligible for transfers. Please link a checking or savings account.\&quot;, \&quot;locale\&quot;: \&quot;en\&quot;}</example>
85+
[DataMember(Name = "actionable_error", EmitDefaultValue = true)]
86+
public string ActionableError { get; set; }
87+
7988
/// <summary>
8089
/// Gets or Sets AggregatedAt
8190
/// </summary>
@@ -217,6 +226,7 @@ public override string ToString()
217226
{
218227
StringBuilder sb = new StringBuilder();
219228
sb.Append("class MemberResponse {\n");
229+
sb.Append(" ActionableError: ").Append(ActionableError).Append("\n");
220230
sb.Append(" AggregatedAt: ").Append(AggregatedAt).Append("\n");
221231
sb.Append(" BackgroundAggregationIsDisabled: ").Append(BackgroundAggregationIsDisabled).Append("\n");
222232
sb.Append(" ConnectionStatus: ").Append(ConnectionStatus).Append("\n");
@@ -271,6 +281,11 @@ public bool Equals(MemberResponse input)
271281
return false;
272282
}
273283
return
284+
(
285+
this.ActionableError == input.ActionableError ||
286+
(this.ActionableError != null &&
287+
this.ActionableError.Equals(input.ActionableError))
288+
) &&
274289
(
275290
this.AggregatedAt == input.AggregatedAt ||
276291
(this.AggregatedAt != null &&
@@ -377,6 +392,10 @@ public override int GetHashCode()
377392
unchecked // Overflow is fine, just wrap
378393
{
379394
int hashCode = 41;
395+
if (this.ActionableError != null)
396+
{
397+
hashCode = (hashCode * 59) + this.ActionableError.GetHashCode();
398+
}
380399
if (this.AggregatedAt != null)
381400
{
382401
hashCode = (hashCode * 59) + this.AggregatedAt.GetHashCode();

0 commit comments

Comments
 (0)