mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-20 01:20:46 -06:00
22 lines
539 B
C#
22 lines
539 B
C#
namespace FileFlows.Plex
|
|
{
|
|
using FileFlows.Plugin;
|
|
using FileFlows.Plugin.Attributes;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
public class PluginSettings:IPluginSettings
|
|
{
|
|
[Text(1)]
|
|
[Required]
|
|
public string ServerUrl { get; set; } = string.Empty;
|
|
|
|
[Text(2)]
|
|
[Required]
|
|
public string AccessToken { get; set; } = string.Empty;
|
|
|
|
[KeyValue(3, null)]
|
|
public List<KeyValuePair<string, string>> Mapping { get; set; } = new();
|
|
}
|
|
}
|