public static DeviceGrantResponse Unmarshall(UnmarshallerContext context) { DeviceGrantResponse deviceGrantResponse = new DeviceGrantResponse(); deviceGrantResponse.HttpResponse = context.HttpResponse; deviceGrantResponse.RequestId = context.StringValue("DeviceGrant.RequestId"); deviceGrantResponse.Success = context.BooleanValue("DeviceGrant.Success"); deviceGrantResponse.ErrorMessage = context.StringValue("DeviceGrant.ErrorMessage"); return deviceGrantResponse; }