patbef-ServiceInside/Publisher/Models/Confluence/Response.cs

46 lines
1.1 KiB
C#
Raw Normal View History

2024-01-29 16:26:54 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Publisher.Models.Confluence
{
public class Response
{
public int statusCode { get; set; }
public string message { get; set; }
public string reason { get; set; }
}
public class ResponsePage
{
public string id { get; set; }
public string type { get; set; }
public string status { get; set; }
public string title { get; set; }
}
public class ResponseAttachments
{
public ResponseAttachment[] results { get; set; }
}
public class ResponseAttachment
{
public string id { get; set; }
public string type { get; set; }
public string status { get; set; }
public string title { get; set; }
public Link _links { get; set; }
}
public class Data
{
public bool authorized { get; set; }
public bool valid { get; set; }
public bool allowedInReadOnlyMode { get; set; }
public bool successful { get; set; }
}
}