diff --git a/csharp/SVGLDLibs/SVGLDLibs/Models/APIConfiguration.cs b/csharp/SVGLDLibs/SVGLDLibs/Models/APIConfiguration.cs new file mode 100644 index 0000000..12515bd --- /dev/null +++ b/csharp/SVGLDLibs/SVGLDLibs/Models/APIConfiguration.cs @@ -0,0 +1,19 @@ +using System.Collections.Generic; +using System.Runtime.Serialization; + +namespace SVGLDLibs.Models +{ + + [DataContract] + public class APIConfiguration + { + [DataMember(EmitDefaultValue = false)] + public string apiFetchUrl { get; set; } + + [DataMember(EmitDefaultValue = false)] + public string apiSetContainerListUrl { get; set; } + + [DataMember(EmitDefaultValue = false)] + public string apiGetFeedbackUrl { get; set; } + } +} \ No newline at end of file diff --git a/csharp/SVGLDLibs/SVGLDLibs/Models/Configuration.cs b/csharp/SVGLDLibs/SVGLDLibs/Models/Configuration.cs index 61213a1..6ac44eb 100644 --- a/csharp/SVGLDLibs/SVGLDLibs/Models/Configuration.cs +++ b/csharp/SVGLDLibs/SVGLDLibs/Models/Configuration.cs @@ -7,7 +7,7 @@ namespace SVGLDLibs.Models [DataContract] public class Configuration { - + public Configuration(AvailableContainerModel mainContainer) { MainContainer = mainContainer; @@ -31,5 +31,8 @@ namespace SVGLDLibs.Models [DataMember(EmitDefaultValue = false, IsRequired = true)] public AvailableContainerModel MainContainer { get; set; } + + [DataMember(EmitDefaultValue = false, IsRequired = true)] + public APIConfiguration APIConfiguration { get; set; } } } \ No newline at end of file