seraphx2 / ESI.NET

A C# wrapper for the Eve Online ESI API.
https://www.nuget.org/packages/ESI.NET/
MIT License
42 stars 25 forks source link

Back again! Sorry... #13

Closed DanFraserUK closed 5 years ago

DanFraserUK commented 5 years ago

Trying to pull character roles which returns List inside CharacterLogic.cs.

The same method but for CorporationLogic.cs returns List.

According to EvE Swagger Interface this is the class model:

public class Roles { [JsonProperty("roles")] public string[] roles { get; set; } [JsonProperty("roles_at_base")] public string[] roles_at_base { get; set; } [JsonProperty("roles_at_hq")] public string[] roles_at_hq { get; set; } [JsonProperty("roles_at_other")] public string[] roles_at_other { get; set; } }