Closed davidvonthenen closed 2 months ago
The changes involve the addition of a new nullable property, Numerals
, to both the PreRecordedSchema
and LiveSchema
classes within the Deepgram Models. This property is intended to facilitate the conversion of numbers from written to numerical format. The previous similarly named property, numerals
, has been removed to standardize the naming convention to PascalCase. Both new properties are marked with JsonIgnore
to ensure they are not serialized when null.
File Path | Change Summary |
---|---|
Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs | Added public bool? Numerals { get; set; } and removed public bool? numerals { get; set; } . |
Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs | Added public bool? Numerals { get; set; } and removed public bool? numerals { get; set; } . |
PreRecordedSchema
and LiveSchema
classes, specifically adding a numerals
property, which is directly related to the new Numerals
property introduced in the main PR.Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs (1)
`152-158`: **LGTM!** The new `Numerals` property is a valuable addition to the `LiveSchema` class. The property is well-named, follows the naming convention, and has a clear purpose. The `JsonIgnore` attribute is used appropriately to handle null values, and the summary comment provides helpful documentation.Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs (1)
`183-189`: **LGTM!** The new `Numerals` property is a great addition to the `PreRecordedSchema` class. It follows C# naming conventions, is appropriately nullable, and is well-documented with a clear summary and reference link. The `JsonIgnore` attribute ensures clean serialization output. The property enhances the schema's functionality and is properly placed in alphabetical order within the class.
Proposed changes
This just renames
numerals
->Numerals
and places it alphabetically in the class for consistency.Types of changes
What types of changes does your code introduce to the community .NET SDK? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
NA
Summary by CodeRabbit
Numerals
property in bothPreRecordedSchema
andLiveSchema
to enhance number conversion from written to numerical format.numerals
property to standardize naming conventions and improve output clarity.