mirror of
https://github.com/Grace-Solutions/PSProxmox.git
synced 2026-08-22 04:16:40 +00:00
Initial commit of PSProxmox module
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PSProxmox.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a response from the Proxmox VE API.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of data in the response.</typeparam>
|
||||
public class ProxmoxResponse<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the data in the response.
|
||||
/// </summary>
|
||||
[JsonProperty("data")]
|
||||
public T Data { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the request was successful.
|
||||
/// </summary>
|
||||
[JsonProperty("success")]
|
||||
public bool Success { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user