mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-30 11:32:50 +01:00
(cherry picked from commit 570be882154e73f8ad1de5b16b957bcb964697fd) Don't replace private values that haven't been set (cherry picked from commit 52760e0908fa9852ed8a770f1916bb582eb8c8b4)
31 lines
1,023 B
C#
31 lines
1,023 B
C#
using System.Collections.Generic;
|
|
using NzbDrone.Core.Annotations;
|
|
|
|
namespace Prowlarr.Http.ClientSchema
|
|
{
|
|
public class Field
|
|
{
|
|
public int Order { get; set; }
|
|
public string Name { get; set; }
|
|
public string Label { get; set; }
|
|
public string Unit { get; set; }
|
|
public string HelpText { get; set; }
|
|
public string HelpTextWarning { get; set; }
|
|
public string HelpLink { get; set; }
|
|
public object Value { get; set; }
|
|
public string Type { get; set; }
|
|
public bool Advanced { get; set; }
|
|
public List<SelectOption> SelectOptions { get; set; }
|
|
public string SelectOptionsProviderAction { get; set; }
|
|
public string Section { get; set; }
|
|
public string Hidden { get; set; }
|
|
public PrivacyLevel Privacy { get; set; }
|
|
public string Placeholder { get; set; }
|
|
public bool IsFloat { get; set; }
|
|
|
|
public Field Clone()
|
|
{
|
|
return (Field)MemberwiseClone();
|
|
}
|
|
}
|
|
}
|