Closed dvonthenen closed 8 months ago
The recent updates focus on refining the structure and naming conventions within the Deepgram.Models.Manage.v1
namespace. Key changes include renaming the UsageSummary
record to Result
, introducing a new UsageRequest
record, and adjusting inheritance and property types in related classes to streamline the management of usage requests and their responses. This overhaul enhances clarity and consistency across the API's data models.
File Path | Summary of Changes |
---|---|
.../Manage/v1/Result.cs |
Renamed UsageSummary record to Result . |
.../Manage/v1/UsageRequest.cs |
Introduced a new UsageRequest record with properties for usage request details. |
.../Manage/v1/UsageRequestResponse.cs |
Changed inheritance to extend UsageRequest ; removed properties now redundant due to this change. |
.../Manage/v1/UsageRequestsResponse.cs |
Updated the Requests property type from IReadOnlyList<UsageRequestResponse> to IReadOnlyList<UsageRequest> . |
.../Manage/v1/UsageSummaryResponse.cs |
Changed the Results property type from IReadOnlyList<UsageSummary>? to IReadOnlyList<Result>? , aligning with the renaming in the Result.cs file. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Addresses Issue: https://github.com/deepgram/deepgram-dotnet-sdk/issues/151
Simplify the Support Token Implementation to leverage shared classes.
Unit tests all pass!
Summary by CodeRabbit
UsageRequest
model for handling usage requests more efficiently.