mirror of
https://github.com/Grace-Solutions/PSProxmox.git
synced 2026-08-22 12:26:39 +00:00
Initial commit of PSProxmox module
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PSProxmox.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an authentication ticket from the Proxmox VE API.
|
||||
/// </summary>
|
||||
public class ProxmoxTicket
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the authentication ticket.
|
||||
/// </summary>
|
||||
[JsonProperty("ticket")]
|
||||
public string Ticket { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the CSRF prevention token.
|
||||
/// </summary>
|
||||
[JsonProperty("CSRFPreventionToken")]
|
||||
public string CSRFPreventionToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the username.
|
||||
/// </summary>
|
||||
[JsonProperty("username")]
|
||||
public string Username { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user