Add APIConfiguration to csharp class models
This commit is contained in:
parent
48a4ff9bc1
commit
bcca10d0e9
2 changed files with 23 additions and 1 deletions
19
csharp/SVGLDLibs/SVGLDLibs/Models/APIConfiguration.cs
Normal file
19
csharp/SVGLDLibs/SVGLDLibs/Models/APIConfiguration.cs
Normal file
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
|
@ -31,5 +31,8 @@ namespace SVGLDLibs.Models
|
||||||
|
|
||||||
[DataMember(EmitDefaultValue = false, IsRequired = true)]
|
[DataMember(EmitDefaultValue = false, IsRequired = true)]
|
||||||
public AvailableContainerModel MainContainer { get; set; }
|
public AvailableContainerModel MainContainer { get; set; }
|
||||||
|
|
||||||
|
[DataMember(EmitDefaultValue = false, IsRequired = true)]
|
||||||
|
public APIConfiguration APIConfiguration { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue