From 3e2cd0449dcf62693784efda82c0573228d6017b Mon Sep 17 00:00:00 2001 From: devexperience Date: Fri, 31 Jan 2025 21:32:35 +0000 Subject: [PATCH] Generated version 1.2.0 This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library. --- MX.Platform.CSharp.sln | 10 ++++----- api/openapi.yaml | 8 +++++++ docs/MemberResponse.md | 1 + openapi/config.yml | 2 +- .../Model/MemberResponseTests.cs | 9 ++++++++ .../Client/Configuration.cs | 6 +++--- .../MX.Platform.CSharp.csproj | 2 +- .../Model/MemberResponse.cs | 21 ++++++++++++++++++- 8 files changed, 48 insertions(+), 11 deletions(-) diff --git a/MX.Platform.CSharp.sln b/MX.Platform.CSharp.sln index c071c8a..ac1aa6d 100644 --- a/MX.Platform.CSharp.sln +++ b/MX.Platform.CSharp.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 VisualStudioVersion = 12.0.0.0 MinimumVisualStudioVersion = 10.0.0.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{1853EA0C-5455-464F-8A34-5FF45B340F54}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{9D50604D-486C-4222-B325-0E8F2C89DAA4}" EndProject 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}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1853EA0C-5455-464F-8A34-5FF45B340F54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1853EA0C-5455-464F-8A34-5FF45B340F54}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1853EA0C-5455-464F-8A34-5FF45B340F54}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1853EA0C-5455-464F-8A34-5FF45B340F54}.Release|Any CPU.Build.0 = Release|Any CPU + {9D50604D-486C-4222-B325-0E8F2C89DAA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9D50604D-486C-4222-B325-0E8F2C89DAA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9D50604D-486C-4222-B325-0E8F2C89DAA4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9D50604D-486C-4222-B325-0E8F2C89DAA4}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/api/openapi.yaml b/api/openapi.yaml index c7c2f5d..93d2c98 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -8686,6 +8686,14 @@ components: type: object MemberResponse: properties: + actionable_error: + example: "{\\\"error_type\\\": \\\"MEMBER\\\", \\\"error_code\\\": 1000,\ + \ \\\"error_message\\\": \\\"This Member has no eligible checking, savings,\ + \ or money market accounts.\\\", \\\"user_message\\\": \\\"We could not\ + \ find any accounts eligible for transfers. Please link a checking or\ + \ savings account.\\\", \\\"locale\\\": \\\"en\\\"}" + nullable: true + type: string aggregated_at: example: 2016-10-13T18:07:57.000Z nullable: true diff --git a/docs/MemberResponse.md b/docs/MemberResponse.md index b57bf10..92625d4 100644 --- a/docs/MemberResponse.md +++ b/docs/MemberResponse.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ActionableError** | **string** | | [optional] **AggregatedAt** | **string** | | [optional] **BackgroundAggregationIsDisabled** | **bool** | | [optional] **ConnectionStatus** | **string** | | [optional] diff --git a/openapi/config.yml b/openapi/config.yml index d5129b4..e5e6f5e 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -1,3 +1,3 @@ --- packageName: MX.Platform.CSharp -packageVersion: 1.1.0 +packageVersion: 1.2.0 diff --git a/src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs b/src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs index 741accc..49ee246 100644 --- a/src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs +++ b/src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs @@ -54,6 +54,15 @@ public void MemberResponseInstanceTest() //Assert.IsType(instance); } + /// + /// Test the property 'ActionableError' + /// + [Fact] + public void ActionableErrorTest() + { + // TODO unit test for the property 'ActionableError' + } + /// /// Test the property 'AggregatedAt' /// diff --git a/src/MX.Platform.CSharp/Client/Configuration.cs b/src/MX.Platform.CSharp/Client/Configuration.cs index a6ec614..c55a52f 100644 --- a/src/MX.Platform.CSharp/Client/Configuration.cs +++ b/src/MX.Platform.CSharp/Client/Configuration.cs @@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "1.1.0"; + public const string Version = "1.2.0"; /// /// Identifier for ISO 8601 DateTime Format @@ -117,7 +117,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.1.0/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.2.0/csharp"); BasePath = "https://api.mx.com"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -546,7 +546,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 0.1.0\n"; - report += " SDK Package Version: 1.1.0\n"; + report += " SDK Package Version: 1.2.0\n"; return report; } diff --git a/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj b/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj index 58cce6f..6467918 100644 --- a/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj +++ b/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj @@ -12,7 +12,7 @@ A library generated from a OpenAPI doc No Copyright MX.Platform.CSharp - 1.1.0 + 1.2.0 bin\$(Configuration)\$(TargetFramework)\MX.Platform.CSharp.xml https://github.com/GIT_USER_ID/GIT_REPO_ID.git git diff --git a/src/MX.Platform.CSharp/Model/MemberResponse.cs b/src/MX.Platform.CSharp/Model/MemberResponse.cs index 0ef18e0..70725ef 100644 --- a/src/MX.Platform.CSharp/Model/MemberResponse.cs +++ b/src/MX.Platform.CSharp/Model/MemberResponse.cs @@ -34,6 +34,7 @@ public partial class MemberResponse : IEquatable, IValidatableOb /// /// Initializes a new instance of the class. /// + /// actionableError. /// aggregatedAt. /// backgroundAggregationIsDisabled. /// connectionStatus. @@ -53,8 +54,9 @@ public partial class MemberResponse : IEquatable, IValidatableOb /// useCases. /// userGuid. /// userId. - 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 useCases = default(List), string userGuid = default(string), string userId = default(string)) + 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 useCases = default(List), string userGuid = default(string), string userId = default(string)) { + this.ActionableError = actionableError; this.AggregatedAt = aggregatedAt; this.BackgroundAggregationIsDisabled = backgroundAggregationIsDisabled; this.ConnectionStatus = connectionStatus; @@ -76,6 +78,13 @@ public partial class MemberResponse : IEquatable, IValidatableOb this.UserId = userId; } + /// + /// Gets or Sets ActionableError + /// + /// {\"error_type\": \"MEMBER\", \"error_code\": 1000, \"error_message\": \"This Member has no eligible checking, savings, or money market accounts.\", \"user_message\": \"We could not find any accounts eligible for transfers. Please link a checking or savings account.\", \"locale\": \"en\"} + [DataMember(Name = "actionable_error", EmitDefaultValue = true)] + public string ActionableError { get; set; } + /// /// Gets or Sets AggregatedAt /// @@ -217,6 +226,7 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class MemberResponse {\n"); + sb.Append(" ActionableError: ").Append(ActionableError).Append("\n"); sb.Append(" AggregatedAt: ").Append(AggregatedAt).Append("\n"); sb.Append(" BackgroundAggregationIsDisabled: ").Append(BackgroundAggregationIsDisabled).Append("\n"); sb.Append(" ConnectionStatus: ").Append(ConnectionStatus).Append("\n"); @@ -271,6 +281,11 @@ public bool Equals(MemberResponse input) return false; } return + ( + this.ActionableError == input.ActionableError || + (this.ActionableError != null && + this.ActionableError.Equals(input.ActionableError)) + ) && ( this.AggregatedAt == input.AggregatedAt || (this.AggregatedAt != null && @@ -377,6 +392,10 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; + if (this.ActionableError != null) + { + hashCode = (hashCode * 59) + this.ActionableError.GetHashCode(); + } if (this.AggregatedAt != null) { hashCode = (hashCode * 59) + this.AggregatedAt.GetHashCode();