Skip to content

VCSWP 23795 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

None

<a name="5.1.2"></a>

### Changed

- Remove null values when serializing models to JSON

<a name="5.1.1"></a>

## [5.1.1] - 2025-02-18
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FreeClimb is a cloud-based application programming interface (API) that puts the
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.0
- SDK version: 5.1.1
- SDK version: 5.1.2
- Generator version: 7.9.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
For more information, please visit [https://www.freeclimb.com/support/](https://www.freeclimb.com/support/)
Expand Down
10 changes: 5 additions & 5 deletions freeclimb.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}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{75EF5E96-F036-4274-BB32-E22B855616F5}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb", "src\freeclimb\freeclimb.csproj", "{4C2581A4-6140-4DF4-ABF9-37A819CD73D8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "freeclimb.Test", "src\freeclimb.Test\freeclimb.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
{75EF5E96-F036-4274-BB32-E22B855616F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{75EF5E96-F036-4274-BB32-E22B855616F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{75EF5E96-F036-4274-BB32-E22B855616F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{75EF5E96-F036-4274-BB32-E22B855616F5}.Release|Any CPU.Build.0 = Release|Any CPU
{4C2581A4-6140-4DF4-ABF9-37A819CD73D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C2581A4-6140-4DF4-ABF9-37A819CD73D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C2581A4-6140-4DF4-ABF9-37A819CD73D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C2581A4-6140-4DF4-ABF9-37A819CD73D8}.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
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"dependencies": {
"@stoplight/prism-cli": "5.6.0",
"fast-xml-parser": "^4.5.0",
"@stoplight/prism-cli": "5.14.2",
"fast-xml-parser": "^5.2.5",
"jsonpath-plus": "^10.3.0"
},
"resolutions": {
"@stoplight/json": "3.20.0"
}
}
6 changes: 3 additions & 3 deletions src/freeclimb/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "5.1.1";
public const string Version = "5.1.2";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -130,7 +130,7 @@ private IReadOnlyDictionary<
public Configuration()
{
Proxy = null;
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/5.1.1/csharp");
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/5.1.2/csharp");
BasePath = "https://www.freeclimb.com/apiserver";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -582,7 +582,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 1.0.0\n";
report += " SDK Package Version: 5.1.1\n";
report += " SDK Package Version: 5.1.2\n";

return report;
}
Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AccountRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AccountResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AddToConferenceNotificationWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down Expand Up @@ -281,7 +282,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 285 in src/freeclimb/Model/AddToConferenceNotificationWebhook.cs

View workflow job for this annotation

GitHub Actions / build

'AddToConferenceNotificationWebhook.BaseValidate(ValidationContext)' hides inherited member 'Webhook.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AddToQueueNotificationWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ApplicationList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ApplicationRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ApplicationResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AvailableNumber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/AvailableNumberList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/BuyIncomingNumberRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CallControlWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down Expand Up @@ -180,7 +181,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 184 in src/freeclimb/Model/CallControlWebhook.cs

View workflow job for this annotation

GitHub Actions / build

'CallControlWebhook.BaseValidate(ValidationContext)' hides inherited member 'Webhook.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CallList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CallResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CallStatusWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/Capabilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CompletionRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CompletionResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceParticipantList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceParticipantResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceRecordingStatusWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/ConferenceStatusWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CreateConferenceRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CreateConferenceWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down Expand Up @@ -281,7 +282,7 @@
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
protected IEnumerable<ValidationResult> BaseValidate(ValidationContext validationContext)

Check warning on line 285 in src/freeclimb/Model/CreateConferenceWebhook.cs

View workflow job for this annotation

GitHub Actions / build

'CreateConferenceWebhook.BaseValidate(ValidationContext)' hides inherited member 'Webhook.BaseValidate(ValidationContext)'. Use the new keyword if hiding was intended.
{
foreach (var x in base.BaseValidate(validationContext))
{
Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/CreateWebRTCToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/DequeueWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/FilterLogsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public virtual string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/GetDigitsWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/GetSpeechWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/freeclimb/Model/InboundCallWebhook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ public override string ToJson()
{
return Newtonsoft.Json.JsonConvert.SerializeObject(
this,
Newtonsoft.Json.Formatting.Indented
Newtonsoft.Json.Formatting.Indented,
new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore }
);
}

Expand Down
Loading
Loading