-
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 #216 from dvonthenen/audit-onprem-model
Audit of OnPrem Model Classes
- Loading branch information
Showing
6 changed files
with
41 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
namespace Deepgram.Models.OnPrem.v1; | ||
|
||
public record CredentialResponse | ||
|
||
{ | ||
/// <summary> | ||
/// TODO | ||
/// </summary> | ||
[JsonPropertyName("member")] | ||
public Member? Member { get; set; } | ||
|
||
/// <summary> | ||
/// TODO | ||
/// </summary> | ||
[JsonPropertyName("distribution_credentials")] | ||
public DistributionCredentials? DistributionCredentials { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
namespace Deepgram.Models.OnPrem.v1; | ||
|
||
public record CredentialsResponse | ||
{ | ||
/// <summary> | ||
/// TODO | ||
/// </summary> | ||
[JsonPropertyName("distribution_credentials")] | ||
public IReadOnlyList<CredentialResponse> DistributionCredentials { get; set; } | ||
public IReadOnlyList<CredentialResponse>? DistributionCredentials { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
namespace Deepgram.Models.OnPrem.v1; | ||
|
||
public record Member | ||
{ | ||
/// <summary> | ||
/// TODO | ||
/// </summary> | ||
[JsonPropertyName("member_id")] | ||
public string? MemberId { get; set; } | ||
|
||
/// <summary> | ||
/// TODO | ||
/// </summary> | ||
[JsonPropertyName("email")] | ||
public string? Email { get; set; } | ||
} |