-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from dvonthenen/audit-manage-model
Audit of Manage Model Classes
- Loading branch information
Showing
29 changed files
with
244 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,6 @@ | ||
namespace Deepgram.Models.Manage.v1; | ||
|
||
public record KeyResponse | ||
public record KeyResponse : Key | ||
{ | ||
/// <summary> | ||
/// Unique identifier of the Deepgram API key | ||
/// </summary> | ||
[JsonPropertyName("api_key_id")] | ||
public string ApiKeyId { get; set; } | ||
|
||
[JsonPropertyName("key")] | ||
public string Key { get; set; } | ||
|
||
/// <summary> | ||
/// Comment for the Deepgram API key | ||
/// </summary> | ||
[JsonPropertyName("comment")] | ||
public string Comment { get; set; } | ||
|
||
[JsonPropertyName("scopes")] | ||
public IReadOnlyList<string> Scopes { get; set; } | ||
|
||
[JsonPropertyName("tags")] | ||
public IReadOnlyList<string> Tags { get; set; } | ||
|
||
[JsonPropertyName("created")] | ||
public DateTime Created { get; set; } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
Deepgram/Models/Manage/v1/UsageModel.cs → Deepgram/Models/Manage/v1/Model.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
namespace Deepgram.Models.Manage.v1; | ||
public record ProjectResponse | ||
{ | ||
/// <summary> | ||
/// Unique identifier of the Deepgram project | ||
/// </summary> | ||
[JsonPropertyName("project_id")] | ||
public string? ProjectId { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the Deepgram project | ||
/// </summary> | ||
[JsonPropertyName("name")] | ||
public string? Name { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the company associated with the Deepgram project | ||
/// </summary> | ||
[JsonPropertyName("company")] | ||
public string? Company { get; set; } | ||
public record ProjectResponse : Project | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,3 @@ public class ProjectSchema | |
[JsonPropertyName("company")] | ||
public string? Company { get; set; } | ||
} | ||
|
Oops, something went wrong.