Skip to content

Commit c90b9f7

Browse files
committed
More Endpoint sub model changes
1 parent 5d16338 commit c90b9f7

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

SSLLWrapper/Models/Response/Endpoint.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ public class Endpoint
2020

2121
public Details Details { get; set; }
2222

23+
public Endpoint()
24+
{
25+
Details = new Details();
26+
}
27+
2328
}
2429
}

SSLLWrapper/Models/Response/EndpointSubModels/Chain.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@ public class Chain
66
{
77
public List<Cert2> certs { get; set; }
88
public int issues { get; set; }
9+
10+
public Chain()
11+
{
12+
certs = new List<Cert2>();
13+
}
914
}
1015
}

SSLLWrapper/Models/Response/EndpointSubModels/Details.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
1+
using System.Collections.Generic;
62

73
namespace SSLLWrapper.Models.Response.EndpointSubModels
84
{
@@ -40,6 +36,7 @@ public Details()
4036
key = new Key();
4137
cert = new Cert();
4238
chain = new Chain();
39+
protocols = new List<Protocol>();
4340
suites = new Suites();
4441
sims = new Sims();
4542
}

SSLLWrapper/Models/Response/EndpointSubModels/Sims.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@ namespace SSLLWrapper.Models.Response.EndpointSubModels
55
public class Sims
66
{
77
public List<Result> results { get; set; }
8+
9+
public Sims()
10+
{
11+
results = new List<Result>();
12+
}
813
}
914
}

SSLLWrapper/Models/Response/EndpointSubModels/Suites.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@ public class Suites
66
{
77
public List<List> list { get; set; }
88
public bool preference { get; set; }
9+
10+
public Suites()
11+
{
12+
list = new List<List>();
13+
}
914
}
1015
}

0 commit comments

Comments
 (0)