Skip to content

Commit

Permalink
v5.0.2: Fix set EmitDefaultValue=true for UsageLimit
Browse files Browse the repository at this point in the history
fix: set EmitDefaultValue=true for UsageLimit
  • Loading branch information
Ahmet Ildırım authored Nov 13, 2023
2 parents caff13e + 09f8d0a commit 2fba8b1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`

This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- SDK version: 5.0.1
- SDK version: 5.0.2
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen

<a name="frameworks-supported"></a>
Expand Down
6 changes: 3 additions & 3 deletions src/TalonOne/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "5.0.1";
public const string Version = "5.0.2";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -96,7 +96,7 @@ public class Configuration : IReadableConfiguration
[System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")]
public Configuration()
{
UserAgent = "OpenAPI-Generator/5.0.1/csharp";
UserAgent = "OpenAPI-Generator/5.0.2/csharp";
BasePath = "https://yourbaseurl.talon.one";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -351,7 +351,7 @@ public static String ToDebugReport()
String report = "C# SDK (TalonOne) Debug Report:\n";
report += " OS: " + System.Runtime.InteropServices.RuntimeInformation.OSDescription + "\n";
report += " Version of the API: \n";
report += " SDK Package Version: 5.0.1\n";
report += " SDK Package Version: 5.0.2\n";

return report;
}
Expand Down
2 changes: 1 addition & 1 deletion src/TalonOne/Model/NewCoupons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected NewCoupons() { }
/// The number of times the coupon code can be redeemed. &#x60;0&#x60; means unlimited redemptions but any campaign usage limits will still apply.
/// </summary>
/// <value>The number of times the coupon code can be redeemed. &#x60;0&#x60; means unlimited redemptions but any campaign usage limits will still apply. </value>
[DataMember(Name="usageLimit", EmitDefaultValue=false)]
[DataMember(Name="usageLimit", EmitDefaultValue=true)]
public int UsageLimit { get; set; }

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/TalonOne/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.1")]
[assembly: AssemblyFileVersion("5.0.1")]
[assembly: AssemblyVersion("5.0.2")]
[assembly: AssemblyFileVersion("5.0.2")]

0 comments on commit 2fba8b1

Please sign in to comment.