|
1 | 1 | namespace DnsTube.Core.Models.Zone
|
2 | 2 | {
|
3 |
| - public class ListZonesResponse |
4 |
| - { |
5 |
| - public bool success { get; set; } |
6 |
| - public object[] errors { get; set; } |
7 |
| - public object[] messages { get; set; } |
8 |
| - public Result[] result { get; set; } |
9 |
| - public Result_Info result_info { get; set; } |
10 |
| - } |
| 3 | + public class ListZonesResponse |
| 4 | + { |
| 5 | + public bool success { get; set; } |
| 6 | + public object[] errors { get; set; } |
| 7 | + public object[] messages { get; set; } |
| 8 | + public Zone[] result { get; set; } |
| 9 | + public Result_Info result_info { get; set; } |
| 10 | + } |
11 | 11 |
|
12 |
| - public class Result_Info |
13 |
| - { |
14 |
| - public int page { get; set; } |
15 |
| - public int per_page { get; set; } |
16 |
| - public int count { get; set; } |
17 |
| - public int total_count { get; set; } |
18 |
| - } |
| 12 | + public class Result_Info |
| 13 | + { |
| 14 | + public int page { get; set; } |
| 15 | + public int per_page { get; set; } |
| 16 | + public int count { get; set; } |
| 17 | + public int total_count { get; set; } |
| 18 | + } |
19 | 19 |
|
20 |
| - public class Result |
21 |
| - { |
22 |
| - public string id { get; set; } |
23 |
| - public string name { get; set; } |
24 |
| - public int development_mode { get; set; } |
25 |
| - public string[] original_name_servers { get; set; } |
26 |
| - public string original_registrar { get; set; } |
27 |
| - public string original_dnshost { get; set; } |
28 |
| - public DateTime created_on { get; set; } |
29 |
| - public DateTime modified_on { get; set; } |
30 |
| - public Owner owner { get; set; } |
31 |
| - public string[] permissions { get; set; } |
32 |
| - public Plan plan { get; set; } |
33 |
| - public Plan_Pending plan_pending { get; set; } |
34 |
| - public string status { get; set; } |
35 |
| - public bool paused { get; set; } |
36 |
| - public string type { get; set; } |
37 |
| - public string[] name_servers { get; set; } |
38 |
| - } |
| 20 | + public class Zone |
| 21 | + { |
| 22 | + public string id { get; set; } |
| 23 | + public string name { get; set; } |
| 24 | + public int development_mode { get; set; } |
| 25 | + public string[] original_name_servers { get; set; } |
| 26 | + public string original_registrar { get; set; } |
| 27 | + public string original_dnshost { get; set; } |
| 28 | + public DateTime created_on { get; set; } |
| 29 | + public DateTime modified_on { get; set; } |
| 30 | + public Owner owner { get; set; } |
| 31 | + public string[] permissions { get; set; } |
| 32 | + public Plan plan { get; set; } |
| 33 | + public Plan_Pending plan_pending { get; set; } |
| 34 | + public string status { get; set; } |
| 35 | + public bool paused { get; set; } |
| 36 | + public string type { get; set; } |
| 37 | + public string[] name_servers { get; set; } |
| 38 | + } |
39 | 39 |
|
40 |
| - public class Owner |
41 |
| - { |
42 |
| - public string id { get; set; } |
43 |
| - public string email { get; set; } |
44 |
| - public string owner_type { get; set; } |
45 |
| - } |
| 40 | + public class Owner |
| 41 | + { |
| 42 | + public string id { get; set; } |
| 43 | + public string email { get; set; } |
| 44 | + public string owner_type { get; set; } |
| 45 | + } |
46 | 46 |
|
47 |
| - public class Plan |
48 |
| - { |
49 |
| - public string id { get; set; } |
50 |
| - public string name { get; set; } |
51 |
| - public int price { get; set; } |
52 |
| - public string currency { get; set; } |
53 |
| - public string frequency { get; set; } |
54 |
| - public string legacy_id { get; set; } |
55 |
| - public bool is_subscribed { get; set; } |
56 |
| - public bool can_subscribe { get; set; } |
57 |
| - } |
| 47 | + public class Plan |
| 48 | + { |
| 49 | + public string id { get; set; } |
| 50 | + public string name { get; set; } |
| 51 | + public int price { get; set; } |
| 52 | + public string currency { get; set; } |
| 53 | + public string frequency { get; set; } |
| 54 | + public string legacy_id { get; set; } |
| 55 | + public bool is_subscribed { get; set; } |
| 56 | + public bool can_subscribe { get; set; } |
| 57 | + } |
58 | 58 |
|
59 |
| - public class Plan_Pending |
60 |
| - { |
61 |
| - public string id { get; set; } |
62 |
| - public string name { get; set; } |
63 |
| - public int price { get; set; } |
64 |
| - public string currency { get; set; } |
65 |
| - public string frequency { get; set; } |
66 |
| - public string legacy_id { get; set; } |
67 |
| - public bool is_subscribed { get; set; } |
68 |
| - public bool can_subscribe { get; set; } |
69 |
| - } |
| 59 | + public class Plan_Pending |
| 60 | + { |
| 61 | + public string id { get; set; } |
| 62 | + public string name { get; set; } |
| 63 | + public int price { get; set; } |
| 64 | + public string currency { get; set; } |
| 65 | + public string frequency { get; set; } |
| 66 | + public string legacy_id { get; set; } |
| 67 | + public bool is_subscribed { get; set; } |
| 68 | + public bool can_subscribe { get; set; } |
| 69 | + } |
70 | 70 | }
|
0 commit comments