Skip to content

Commit

Permalink
Generated version 1.2.0
Browse files Browse the repository at this point in the history
This commit was automatically created by a GitHub Action to generate version 1.2.0 of this library.
  • Loading branch information
devexperience committed Jan 31, 2025
1 parent de4d6b6 commit 3e2cd04
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 11 deletions.
10 changes: 5 additions & 5 deletions MX.Platform.CSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docs/MemberResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ActionableError** | **string** | | [optional]
**AggregatedAt** | **string** | | [optional]
**BackgroundAggregationIsDisabled** | **bool** | | [optional]
**ConnectionStatus** | **string** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
packageName: MX.Platform.CSharp
packageVersion: 1.1.0
packageVersion: 1.2.0
9 changes: 9 additions & 0 deletions src/MX.Platform.CSharp.Test/Model/MemberResponseTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ public void MemberResponseInstanceTest()
//Assert.IsType<MemberResponse>(instance);
}

/// <summary>
/// Test the property 'ActionableError'
/// </summary>
[Fact]
public void ActionableErrorTest()
{
// TODO unit test for the property 'ActionableError'
}

/// <summary>
/// Test the property 'AggregatedAt'
/// </summary>
Expand Down
6 changes: 3 additions & 3 deletions src/MX.Platform.CSharp/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "1.1.0";
public const string Version = "1.2.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -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<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/MX.Platform.CSharp/MX.Platform.CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Description>A library generated from a OpenAPI doc</Description>
<Copyright>No Copyright</Copyright>
<RootNamespace>MX.Platform.CSharp</RootNamespace>
<Version>1.1.0</Version>
<Version>1.2.0</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\MX.Platform.CSharp.xml</DocumentationFile>
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
21 changes: 20 additions & 1 deletion src/MX.Platform.CSharp/Model/MemberResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
/// <summary>
/// Initializes a new instance of the <see cref="MemberResponse" /> class.
/// </summary>
/// <param name="actionableError">actionableError.</param>
/// <param name="aggregatedAt">aggregatedAt.</param>
/// <param name="backgroundAggregationIsDisabled">backgroundAggregationIsDisabled.</param>
/// <param name="connectionStatus">connectionStatus.</param>
Expand All @@ -53,8 +54,9 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
/// <param name="useCases">useCases.</param>
/// <param name="userGuid">userGuid.</param>
/// <param name="userId">userId.</param>
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))
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))
{
this.ActionableError = actionableError;
this.AggregatedAt = aggregatedAt;
this.BackgroundAggregationIsDisabled = backgroundAggregationIsDisabled;
this.ConnectionStatus = connectionStatus;
Expand All @@ -76,6 +78,13 @@ public partial class MemberResponse : IEquatable<MemberResponse>, IValidatableOb
this.UserId = userId;
}

/// <summary>
/// Gets or Sets ActionableError
/// </summary>
/// <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>
[DataMember(Name = "actionable_error", EmitDefaultValue = true)]
public string ActionableError { get; set; }

/// <summary>
/// Gets or Sets AggregatedAt
/// </summary>
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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 &&
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3e2cd04

Please sign in to comment.