Skip to content

Commit

Permalink
Ensure filename and class names match
Browse files Browse the repository at this point in the history
  • Loading branch information
CronofyMatt committed Oct 9, 2024
1 parent 41aef54 commit 447a3b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Cronofy/CronofyAccountClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<GetAvailabilityRulesResponse>(request);
var response = this.HttpClient.GetJsonResponse<GetAvailabilityRuleResponse>(request);

return response.AvailabilityRule.ToAvailabilityRule();
}
Expand Down Expand Up @@ -602,7 +602,7 @@ public AvailabilityRule UpsertAvailabilityRule(UpsertAvailabilityRuleRequest ups
request.AddOAuthAuthorization(this.AccessToken);
request.SetJsonBody(upsertAvailabilityRuleRequest);

var response = this.HttpClient.GetJsonResponse<UpsertAvailabilityRulesResponse>(request);
var response = this.HttpClient.GetJsonResponse<UpsertAvailabilityRuleResponse>(request);

return response.AvailabilityRule.ToAvailabilityRule();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Cronofy/Responses/GetAvailabilityRuleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Cronofy.Responses
/// <summary>
/// Class for the deserialization of a get availability rule response.
/// </summary>
internal sealed class GetAvailabilityRulesResponse
internal sealed class GetAvailabilityRuleResponse
{
/// <summary>
/// Gets or sets the availability rule.
Expand Down
2 changes: 1 addition & 1 deletion src/Cronofy/Responses/UpsertAvailabilityRuleResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Cronofy.Responses
/// <summary>
/// Class for the deserialization of an upsert availability rules response.
/// </summary>
internal sealed class UpsertAvailabilityRulesResponse
internal sealed class UpsertAvailabilityRuleResponse
{
/// <summary>
/// Gets or sets the created or updated availability rule.
Expand Down

0 comments on commit 447a3b7

Please sign in to comment.