public static GetDeviceInfosResponse Unmarshall(UnmarshallerContext context)
{
GetDeviceInfosResponse getDeviceInfosResponse = new GetDeviceInfosResponse();
getDeviceInfosResponse.HttpResponse = context.HttpResponse;
getDeviceInfosResponse.RequestId = context.StringValue("GetDeviceInfos.RequestId");
List<GetDeviceInfosResponse.DeviceInfo> deviceInfos = new List<GetDeviceInfosResponse.DeviceInfo>();
for (int i = 0; i < context.Length("GetDeviceInfos.DeviceInfos.Length"); i++) {
GetDeviceInfosResponse.DeviceInfo deviceInfo = new GetDeviceInfosResponse.DeviceInfo();
deviceInfo.DeviceId = context.StringValue("GetDeviceInfos.DeviceInfos["+ i +"].DeviceId");
deviceInfo.IsOnline = context.BooleanValue("GetDeviceInfos.DeviceInfos["+ i +"].IsOnline");
deviceInfos.Add(deviceInfo);
}
getDeviceInfosResponse.DeviceInfos = deviceInfos;
return getDeviceInfosResponse;
}