28 lines
616 B
C#
28 lines
616 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Shelly.DTO
|
|
{
|
|
/// <summary>
|
|
/// Info about sw update
|
|
/// </summary>
|
|
public class UpdateDto
|
|
{
|
|
/// <summary>
|
|
/// Shown only if beta update is available
|
|
/// </summary>
|
|
[JsonProperty("beta")]
|
|
public VersDto Beta { get; set; }
|
|
|
|
/// <summary>
|
|
/// Shown only if beta update is available
|
|
/// </summary>
|
|
[JsonProperty("stable")]
|
|
public VersDto Stable { get; set; }
|
|
}
|
|
}
|