OneDrive Backup
OneDrive Backup
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user