Skip to content

Commit 338088b

Browse files
author
devexperience
committed
Generated version 1.7.0
This commit was automatically created by a GitHub Action to generate version 1.7.0 of this library.
1 parent 429c25f commit 338088b

11 files changed

Lines changed: 78 additions & 12 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", "{A311E426-94A7-4837-940D-F197A665A029}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{DA7D2A8C-FA45-4BBF-9B11-F260FF968AC4}"
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-
{A311E426-94A7-4837-940D-F197A665A029}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{A311E426-94A7-4837-940D-F197A665A029}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{A311E426-94A7-4837-940D-F197A665A029}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{A311E426-94A7-4837-940D-F197A665A029}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{DA7D2A8C-FA45-4BBF-9B11-F260FF968AC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{DA7D2A8C-FA45-4BBF-9B11-F260FF968AC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{DA7D2A8C-FA45-4BBF-9B11-F260FF968AC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{DA7D2A8C-FA45-4BBF-9B11-F260FF968AC4}.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
@@ -8067,6 +8067,10 @@ components:
80678067
\ ..."
80688068
nullable: true
80698069
type: string
8070+
guid:
8071+
example: CRO-e7ecc864-61fd-47a6-a122-3cbc9016660d
8072+
nullable: true
8073+
type: string
80708074
label:
80718075
example: IMAGE_1
80728076
nullable: true
@@ -9584,6 +9588,10 @@ components:
95849588
type: object
95859589
OptionResponse:
95869590
properties:
9591+
guid:
9592+
example: CRO-6d64cc9a-0998-461d-a072-78801143337e
9593+
nullable: true
9594+
type: string
95879595
label:
95889596
example: IMAGE_1
95899597
nullable: true

docs/ImageOptionResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**DataUri** | **string** | | [optional]
8+
**Guid** | **string** | | [optional]
89
**Label** | **string** | | [optional]
910
**Value** | **string** | | [optional]
1011

docs/OptionResponse.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+
**Guid** | **string** | | [optional]
78
**Label** | **string** | | [optional]
89
**Value** | **string** | | [optional]
910

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.6.0
3+
packageVersion: 1.7.0

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ public void DataUriTest()
6363
// TODO unit test for the property 'DataUri'
6464
}
6565

66+
/// <summary>
67+
/// Test the property 'Guid'
68+
/// </summary>
69+
[Fact]
70+
public void GuidTest()
71+
{
72+
// TODO unit test for the property 'Guid'
73+
}
74+
6675
/// <summary>
6776
/// Test the property 'Label'
6877
/// </summary>

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

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

57+
/// <summary>
58+
/// Test the property 'Guid'
59+
/// </summary>
60+
[Fact]
61+
public void GuidTest()
62+
{
63+
// TODO unit test for the property 'Guid'
64+
}
65+
5766
/// <summary>
5867
/// Test the property 'Label'
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.6.0";
36+
public const string Version = "1.7.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.6.0/csharp");
120+
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.7.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.6.0\n";
549+
report += " SDK Package Version: 1.7.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.6.0</Version>
15+
<Version>1.7.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/ImageOptionResponse.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ public partial class ImageOptionResponse : IEquatable<ImageOptionResponse>, IVal
3535
/// Initializes a new instance of the <see cref="ImageOptionResponse" /> class.
3636
/// </summary>
3737
/// <param name="dataUri">dataUri.</param>
38+
/// <param name="guid">guid.</param>
3839
/// <param name="label">label.</param>
3940
/// <param name="value">value.</param>
40-
public ImageOptionResponse(string dataUri = default(string), string label = default(string), string value = default(string))
41+
public ImageOptionResponse(string dataUri = default(string), string guid = default(string), string label = default(string), string value = default(string))
4142
{
4243
this.DataUri = dataUri;
44+
this.Guid = guid;
4345
this.Label = label;
4446
this.Value = value;
4547
}
@@ -51,6 +53,13 @@ public partial class ImageOptionResponse : IEquatable<ImageOptionResponse>, IVal
5153
[DataMember(Name = "data_uri", EmitDefaultValue = true)]
5254
public string DataUri { get; set; }
5355

56+
/// <summary>
57+
/// Gets or Sets Guid
58+
/// </summary>
59+
/// <example>CRO-e7ecc864-61fd-47a6-a122-3cbc9016660d</example>
60+
[DataMember(Name = "guid", EmitDefaultValue = true)]
61+
public string Guid { get; set; }
62+
5463
/// <summary>
5564
/// Gets or Sets Label
5665
/// </summary>
@@ -74,6 +83,7 @@ public override string ToString()
7483
StringBuilder sb = new StringBuilder();
7584
sb.Append("class ImageOptionResponse {\n");
7685
sb.Append(" DataUri: ").Append(DataUri).Append("\n");
86+
sb.Append(" Guid: ").Append(Guid).Append("\n");
7787
sb.Append(" Label: ").Append(Label).Append("\n");
7888
sb.Append(" Value: ").Append(Value).Append("\n");
7989
sb.Append("}\n");
@@ -116,6 +126,11 @@ public bool Equals(ImageOptionResponse input)
116126
(this.DataUri != null &&
117127
this.DataUri.Equals(input.DataUri))
118128
) &&
129+
(
130+
this.Guid == input.Guid ||
131+
(this.Guid != null &&
132+
this.Guid.Equals(input.Guid))
133+
) &&
119134
(
120135
this.Label == input.Label ||
121136
(this.Label != null &&
@@ -141,6 +156,10 @@ public override int GetHashCode()
141156
{
142157
hashCode = (hashCode * 59) + this.DataUri.GetHashCode();
143158
}
159+
if (this.Guid != null)
160+
{
161+
hashCode = (hashCode * 59) + this.Guid.GetHashCode();
162+
}
144163
if (this.Label != null)
145164
{
146165
hashCode = (hashCode * 59) + this.Label.GetHashCode();

0 commit comments

Comments
 (0)