d70d81ebdf
OneDrive Backup
31 lines
650 B
C#
31 lines
650 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace hassio_onedrive_backup.Contracts
|
|
{
|
|
public class HassAddonsResponse
|
|
{
|
|
[JsonProperty("result")]
|
|
public string Result { get; set; }
|
|
|
|
[JsonProperty("data")]
|
|
public Data DataProperty { get; set; }
|
|
|
|
public class Data
|
|
{
|
|
[JsonProperty("addons")]
|
|
public Addon[] Addons { get; set; }
|
|
|
|
}
|
|
|
|
public class Addon
|
|
{
|
|
[JsonProperty("slug")]
|
|
public string Slug { get; set; }
|
|
|
|
[JsonProperty("name")]
|
|
public string Name { get; set; }
|
|
}
|
|
|
|
}
|
|
}
|