33 lines
876 B
C#
33 lines
876 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace QuestShare.Common.API.Share
|
|
{
|
|
public class Cancel : IAPIEndpoint<Cancel.Request, Cancel.Response>
|
|
{
|
|
public class Request : IRequest
|
|
{
|
|
public Request() { }
|
|
public string Version { get; set; } = null!;
|
|
public string Token { get; set; } = null!;
|
|
public string ShareCode { get; set; } = null!;
|
|
}
|
|
|
|
public class Response : IResponse
|
|
{
|
|
public Response() { }
|
|
public Error Error { get; set; } = Error.None;
|
|
public required bool Success { get; set; }
|
|
}
|
|
|
|
public class CancelBroadcast
|
|
{
|
|
public CancelBroadcast() { }
|
|
public required string ShareCode { get; set; }
|
|
}
|
|
}
|
|
}
|