-
Notifications
You must be signed in to change notification settings - Fork 18
/
Repository.cs
45 lines (32 loc) · 1.15 KB
/
Repository.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using Bitbucket.Cloud.Net.Common.Converters;
using Newtonsoft.Json;
namespace Bitbucket.Cloud.Net.Models.v2
{
public class Repository : RepositoryInfo
{
[JsonConverter(typeof(ScmConverter))]
public Scm Scm { get; set; }
public string Website { get; set; }
[JsonProperty("has_wiki")]
public bool HasWiki { get; set; }
[JsonProperty("fork_policy")]
[JsonConverter(typeof(ForkPolicyConverter))]
public ForkPolicies ForkPolicy { get; set; }
public string Language { get; set; }
[JsonProperty("created_on")]
public DateTime? CreatedOn { get; set; }
public Branch MainBranch { get; set; }
[JsonProperty("has_issues")]
public bool HasIssues { get; set; }
public Person Owner { get; set; }
[JsonProperty("updated_on")]
public DateTime? UpdatedOn { get; set; }
public int Size { get; set; }
public string Slug { get; set; }
[JsonProperty("is_private")]
public bool IsPrivate { get; set; }
public string Description { get; set; }
public string Key { get; set; }
}
}