25 lines
620 B
C#
25 lines
620 B
C#
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; } = [];
|
|
}
|