public Comment(Uri self, string body, BasicUser author, BasicUser updateAuthor, DateTimeOffset?creationDate, DateTimeOffset?updateDate, Visibility visibility, long?id) { Author = author; UpdateAuthor = updateAuthor; CreationDate = creationDate; UpdateDate = updateDate; Body = body; Self = self; Visibility = visibility; Id = id; }
public Filter(Uri self, long id, string name, string description, string jql, Uri viewUrl, Uri searchUrl, BasicUser owner, bool favourite) : base(self, name) { Id = id; Description = description; Jql = jql; ViewUrl = viewUrl; SearchUrl = searchUrl; Owner = owner; Favourite = favourite; }
internal Attachment(Uri self, string filename, BasicUser author, DateTimeOffset creationDate, int size, string mimeType, Uri contentUri, Uri thumbnailUri) { this.Self = self; this.Filename = filename; this.Author = author; this.CreationDate = creationDate; this.Size = size; this.MimeType = mimeType; this.ContentUri = contentUri; this.ThumbnailUri = thumbnailUri; }
// TODO: Expandos! internal Project( Uri self, string key, string name, string description, BasicUser lead, Uri uri, IEnumerable <JiraVersion> versions, IEnumerable <BasicComponent> components, IEnumerable <IssueType> issueTypes, IEnumerable <BasicProjectRole> projectRoles) : base(self, key, name) { Description = description; Lead = lead; Url = uri; Versions = versions; Components = components; IssueTypes = issueTypes; Roles = projectRoles; }
// TODO: Expandos! internal Project( Uri self, string key, string name, string description, BasicUser lead, Uri uri, IEnumerable<JiraVersion> versions, IEnumerable<BasicComponent> components, IEnumerable<IssueType> issueTypes, IEnumerable<BasicProjectRole> projectRoles) : base(self, key, name) { Description = description; Lead = lead; Url = uri; Versions = versions; Components = components; IssueTypes = issueTypes; Roles = projectRoles; }
public Component(Uri self, long?id, string name, string description, BasicUser lead, AssigneeInfo assigneeInfo) : base(self, id, name, description) { Lead = lead; AssigneeInfo = assigneeInfo; }
public Component(Uri self, long?id, string name, string description, BasicUser lead) : this(self, id, name, description, lead, null) { }
internal User(BasicUser basic, string emaiAddress, IEnumerable <string> groups, IDictionary <string, Uri> avatarUris, bool active, string timezone) : this(basic.Self, basic.Name, basic.DisplayName, emaiAddress, groups, avatarUris, active, timezone) { }
internal User(BasicUser basic, string emaiAddress, IEnumerable<string> groups, IDictionary<string, Uri> avatarUris, bool active, string timezone) : this(basic.Self, basic.Name, basic.DisplayName, emaiAddress, groups, avatarUris, active, timezone) { }
internal static JsonObject Generate(BasicUser user) { return new JsonObject { { "self", user.Self.ToString() }, { "name", user.Name }, { "displayName", user.DisplayName } }; }
public Component(Uri self, long? id, string name, string description, BasicUser lead, AssigneeInfo assigneeInfo) : base(self, id, name, description) { Lead = lead; AssigneeInfo = assigneeInfo; }
public Component(Uri self, long? id, string name, string description, BasicUser lead) : this(self, id, name, description, lead, null) { }