I'm noticing that whenever I retrieve an EdgeGateway, its Configuration is missing. The services are all null under EdgeGatewayServiceConfiguration.
Here's what i'm trying to do:
var edgeGateway = EdgeGateway.GetEdgeGatewayById(Client, id);
edgeGateway.Resource.Configuration.EdgeGatewayServiceConfiguration.NetworkService; // this property (an array) is always null.
I can see the configuration in the xml, when i run tests & things. That all looks fine, just for some reason its not getting into the .net object.
I could write a method to manually go get the Xml and then parse that out myself, but Ideally there'd be an easier way?
Any Help would be greatly appreciated!
Scott