// Should come from APi generation public static bool IsAsync(this OperationModel operation) { return(!operation.HasSynchronous()); }