From 447a3b7272682320d601970ebcc5cfae25025a18 Mon Sep 17 00:00:00 2001 From: Matthew Wade Date: Wed, 9 Oct 2024 10:17:04 +0100 Subject: [PATCH] Ensure filename and class names match --- src/Cronofy/CronofyAccountClient.cs | 4 ++-- src/Cronofy/Responses/GetAvailabilityRuleResponse.cs | 2 +- src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Cronofy/CronofyAccountClient.cs b/src/Cronofy/CronofyAccountClient.cs index 6aa927a..e2f9092 100644 --- a/src/Cronofy/CronofyAccountClient.cs +++ b/src/Cronofy/CronofyAccountClient.cs @@ -571,7 +571,7 @@ public AvailabilityRule GetAvailabilityRule(string availabilityRuleId) request.Url = string.Format(this.UrlProvider.AvailabilityRuleUrl, availabilityRuleId); request.AddOAuthAuthorization(this.AccessToken); - var response = this.HttpClient.GetJsonResponse(request); + var response = this.HttpClient.GetJsonResponse(request); return response.AvailabilityRule.ToAvailabilityRule(); } @@ -602,7 +602,7 @@ public AvailabilityRule UpsertAvailabilityRule(UpsertAvailabilityRuleRequest ups request.AddOAuthAuthorization(this.AccessToken); request.SetJsonBody(upsertAvailabilityRuleRequest); - var response = this.HttpClient.GetJsonResponse(request); + var response = this.HttpClient.GetJsonResponse(request); return response.AvailabilityRule.ToAvailabilityRule(); } diff --git a/src/Cronofy/Responses/GetAvailabilityRuleResponse.cs b/src/Cronofy/Responses/GetAvailabilityRuleResponse.cs index a3aa9b9..1a5306d 100644 --- a/src/Cronofy/Responses/GetAvailabilityRuleResponse.cs +++ b/src/Cronofy/Responses/GetAvailabilityRuleResponse.cs @@ -7,7 +7,7 @@ namespace Cronofy.Responses /// /// Class for the deserialization of a get availability rule response. /// - internal sealed class GetAvailabilityRulesResponse + internal sealed class GetAvailabilityRuleResponse { /// /// Gets or sets the availability rule. diff --git a/src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs b/src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs index c9e4d83..4147126 100644 --- a/src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs +++ b/src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs @@ -7,7 +7,7 @@ namespace Cronofy.Responses /// /// Class for the deserialization of an upsert availability rules response. /// - internal sealed class UpsertAvailabilityRulesResponse + internal sealed class UpsertAvailabilityRuleResponse { /// /// Gets or sets the created or updated availability rule.