astral-api/Astral.ApiServer/Models/UserProfileResultModel.cs

39 lines
1,004 B
C#
Raw Normal View History

2024-12-14 18:48:03 +01:00
// <copyright file="UserProfileResultModel.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
using System.Text.Json.Serialization;
using Astral.ApiServer.Models.Common;
namespace Astral.ApiServer.Models;
/// <summary>
/// User profile request result.
/// </summary>
public class UserProfileResultModel : ResultModel
{
/// <summary>
/// Account id (Even used?).
/// </summary>
[JsonPropertyName("accountId")]
public Guid AccountId { get; set; }
/// <summary>
/// Username.
/// </summary>
[JsonPropertyName("username")]
public string Username { get; set; }
/// <summary>
/// Discourse api key (Even used?).
/// </summary>
[JsonPropertyName("discourse_api_key")]
public string DiscourseApiKey { get; set; }
/// <summary>
/// XMPP Password (Even used?).
/// </summary>
[JsonPropertyName("xmpp_password")]
public string XmppPassword { get; set; }
}