Skip to content

Instantly share code, notes, and snippets.

@sugimomoto

sugimomoto/Issue.cs

Created May 10, 2020
Embed
What would you like to do?
BacklogAPIRequestSample
using System;
using System.Collections.Generic;
using System.Text;
namespace BacklogAPI
{
public class Issue
{
public int id { get; set; }
public int projectId { get; set; }
public string issueKey { get; set; }
public int keyId { get; set; }
public Issuetype issueType { get; set; }
public string summary { get; set; }
public string description { get; set; }
public Resolution resolution { get; set; }
public Priority priority { get; set; }
public Status status { get; set; }
public Assignee assignee { get; set; }
public Category[] category { get; set; }
public Version[] versions { get; set; }
public Milestone[] milestone { get; set; }
public DateTime? startDate { get; set; }
public DateTime? dueDate { get; set; }
public int? estimatedHours { get; set; }
public int? actualHours { get; set; }
public object parentIssueId { get; set; }
public Createduser createdUser { get; set; }
public DateTime created { get; set; }
public Updateduser updatedUser { get; set; }
public DateTime updated { get; set; }
public Customfield[] customFields { get; set; }
public Attachment[] attachments { get; set; }
public object[] sharedFiles { get; set; }
public Star[] stars { get; set; }
}
public class Issuetype
{
public int id { get; set; }
public int projectId { get; set; }
public string name { get; set; }
public string color { get; set; }
public int displayOrder { get; set; }
}
public class Resolution
{
public int id { get; set; }
public string name { get; set; }
}
public class Priority
{
public int id { get; set; }
public string name { get; set; }
}
public class Status
{
public int id { get; set; }
public int projectId { get; set; }
public string name { get; set; }
public string color { get; set; }
public int displayOrder { get; set; }
}
public class Assignee
{
public int id { get; set; }
public string userId { get; set; }
public string name { get; set; }
public int roleType { get; set; }
public string lang { get; set; }
public string mailAddress { get; set; }
public Nulabaccount nulabAccount { get; set; }
public string keyword { get; set; }
}
public class Nulabaccount
{
public string nulabId { get; set; }
public string name { get; set; }
public string uniqueId { get; set; }
}
public class Createduser
{
public int id { get; set; }
public string userId { get; set; }
public string name { get; set; }
public int roleType { get; set; }
public string lang { get; set; }
public string mailAddress { get; set; }
public Nulabaccount1 nulabAccount { get; set; }
public string keyword { get; set; }
}
public class Nulabaccount1
{
public string nulabId { get; set; }
public string name { get; set; }
public string uniqueId { get; set; }
}
public class Updateduser
{
public int id { get; set; }
public string userId { get; set; }
public string name { get; set; }
public int roleType { get; set; }
public string lang { get; set; }
public string mailAddress { get; set; }
public Nulabaccount2 nulabAccount { get; set; }
public string keyword { get; set; }
}
public class Nulabaccount2
{
public string nulabId { get; set; }
public string name { get; set; }
public string uniqueId { get; set; }
}
public class Category
{
public int id { get; set; }
public string name { get; set; }
public int displayOrder { get; set; }
}
public class Version
{
public int id { get; set; }
public int projectId { get; set; }
public string name { get; set; }
public object description { get; set; }
public object startDate { get; set; }
public object releaseDueDate { get; set; }
public bool archived { get; set; }
public int displayOrder { get; set; }
}
public class Milestone
{
public int id { get; set; }
public int projectId { get; set; }
public string name { get; set; }
public object description { get; set; }
public object startDate { get; set; }
public object releaseDueDate { get; set; }
public bool archived { get; set; }
public int displayOrder { get; set; }
}
public class Customfield
{
public int id { get; set; }
public int fieldTypeId { get; set; }
public string name { get; set; }
public object value { get; set; }
}
public class Attachment
{
public int id { get; set; }
public string name { get; set; }
public int size { get; set; }
public Createduser1 createdUser { get; set; }
public DateTime created { get; set; }
}
public class Createduser1
{
public int id { get; set; }
public string userId { get; set; }
public string name { get; set; }
public int roleType { get; set; }
public string lang { get; set; }
public string mailAddress { get; set; }
public Nulabaccount3 nulabAccount { get; set; }
public string keyword { get; set; }
}
public class Nulabaccount3
{
public string nulabId { get; set; }
public string name { get; set; }
public string uniqueId { get; set; }
}
public class Star
{
public int id { get; set; }
public object comment { get; set; }
public string url { get; set; }
public string title { get; set; }
public Presenter presenter { get; set; }
public DateTime created { get; set; }
}
public class Presenter
{
public int id { get; set; }
public string userId { get; set; }
public string name { get; set; }
public int roleType { get; set; }
public string lang { get; set; }
public string mailAddress { get; set; }
public Nulabaccount4 nulabAccount { get; set; }
public string keyword { get; set; }
}
public class Nulabaccount4
{
public string nulabId { get; set; }
public string name { get; set; }
public string uniqueId { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.