Initial project snapshot
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RemoteAccessPlatform.Windows.Models;
|
||||
|
||||
public sealed class OrganizationDto
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public string Id { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("slug")]
|
||||
public string Slug { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("status")]
|
||||
public string Status { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class OrganizationsResponse
|
||||
{
|
||||
[JsonPropertyName("organizations")]
|
||||
public List<OrganizationDto> Organizations { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user