chore: init commit from GitHub
This commit is contained in:
10
SWAD.API/Models/Config/ApiServices/Structure/ApiPaths.cs
Normal file
10
SWAD.API/Models/Config/ApiServices/Structure/ApiPaths.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace SWAD.API.Models.Config.ApiServices.Structure;
|
||||
|
||||
// ReSharper disable once ClassNeverInstantiated.Global because: Is structure for config
|
||||
public class ApiPaths
|
||||
{
|
||||
// ReSharper disable NullableWarningSuppressionIsUsed
|
||||
public string Search { get; set; } = null!;
|
||||
public string GetTrack { get; set; } = null!;
|
||||
public string GetArtist { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace SWAD.API.Models.Config.ApiServices.Structure;
|
||||
|
||||
// ReSharper disable once ClassNeverInstantiated.Global because: Is structure for config
|
||||
public class ApiServiceData
|
||||
{
|
||||
// ReSharper disable NullableWarningSuppressionIsUsed
|
||||
public string Name { get; set; } = null!;
|
||||
public string ClientId { get; set; } = null!;
|
||||
public string Secret { get; set; } = null!;
|
||||
public ApiServiceEndpoints Endpoints { get; set; } = null!;
|
||||
public ApiPaths ApiPaths { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace SWAD.API.Models.Config.ApiServices.Structure;
|
||||
|
||||
// ReSharper disable once ClassNeverInstantiated.Global because: Is structure for config
|
||||
public class ApiServiceEndpoints
|
||||
{
|
||||
// ReSharper disable NullableWarningSuppressionIsUsed
|
||||
public string Base { get; set; } = null!;
|
||||
public string Api { get; set; } = null!;
|
||||
public string Token { get; set; } = null!;
|
||||
public string[] MusicLink { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user